sanyaade-g2g-repos / grafx2

Automatically exported from code.google.com/p/grafx2
0 stars 0 forks source link

Patch: use fontconfig instead of X11 to query fonts on Linux #525

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This patch modifies text.c's Init_text() function in such a way that it uses 
fontconfig instead of Xlib to get a list of font directories. This allows all 
fonts usable on Linux systems to be accessible. (Xlib's functions don't seem to 
show all the fonts)

Using this patch will fix bug #305.

As fontconfig is a requirement for BOTH GTK+ and Qt, it will be available on 
all major Linux distros.

The Makefile is also updated, with all references to X11 (which, surprisingly 
enough, was ONLY used for font dir querying) to fontconfig.

Original issue reported on code.google.com by m.zub...@gmail.com on 2 Feb 2013 at 7:01

Attachments:

GoogleCodeExporter commented 9 years ago
Applied in r2050.
Sorry, somehow I completely missed your message in #305...

Original comment by pulkoma...@gmail.com on 2 Feb 2013 at 8:46

GoogleCodeExporter commented 9 years ago
Issue 305 has been merged into this issue.

Original comment by pulkoma...@gmail.com on 2 Feb 2013 at 8:46