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: vimAssignee: Karsten Hopp <karsten>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: 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
Description of problem:
I see this warning message whenever I start gvim.

Version-Release number of selected component (if applicable):
vim-X11-7.3.712-1.fc18.x86_64
fontconfig-2.10.2-1.fc18.x86_64

How reproducible:
always

Comment 1 John Florian 2013-01-18 19:53:21 UTC
I was able to resolve this issue by doing the following:

mkdir ~/.config/fontconfig
mv ~/.fonts.conf ~/.config/fontconfig/

Comment 2 jiri vanek 2013-07-20 13:41:25 UTC
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

Comment 3 Benny 2014-02-17 16:21:28 UTC
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;
}

Comment 4 Benny 2014-02-17 16:25:08 UTC
Seems to work in Fedora 20.