Bug 894058
| Summary: | Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | John Florian <john> |
| Component: | vim | Assignee: | Karsten Hopp <karsten> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 18 | CC: | jvanek, karsten, mail2benny |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-01-18 19:53:21 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
John Florian
2013-01-10 15:57:47 UTC
I was able to resolve this issue by doing the following: mkdir ~/.config/fontconfig mv ~/.fonts.conf ~/.config/fontconfig/ I'm wondering - but fontconfig should handle the transition from ~ to .config XDG specification. (to value of $XDG_CONFIG_HOM or ~/.config) http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html Present in Fedora 19.
This also effects this cairo example:
#include <cairo/cairo.h>
int
main (int argc, char *argv[])
{
cairo_surface_t *surface=cairo_image_surface_create (CAIRO_FORMAT_ARGB32, 240, 80);
cairo_t *cr=cairo_create (surface);
cairo_select_font_face(cr,"arial",CAIRO_FONT_SLANT_NORMAL,CAIRO_FONT_WEIGHT_BOLD);
cairo_set_font_size(cr,32.0);
cairo_set_source_rgb(cr,0.0,0.0,1.0);
cairo_move_to (cr,10.0,50.0);
cairo_show_text (cr,"Hello, world");
cairo_destroy(cr);
cairo_surface_write_to_png(surface,"hello.png");
cairo_surface_destroy(surface);
return 0;
}
Seems to work in Fedora 20. |