After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 492504 - Enable pango.aliases entries also for fonts with spaces in name
Enable pango.aliases entries also for fonts with spaces in name
Status: RESOLVED FIXED
Product: pango
Classification: Platform
Component: general
1.18.x
Other Windows
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
: 515545 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-11-01 22:12 UTC by Tor Lillqvist
Modified: 2008-02-10 21:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Suggested patch, works for me (1007 bytes, patch)
2007-11-01 22:13 UTC, Tor Lillqvist
accepted-commit_now Details | Review

Description Tor Lillqvist 2007-11-01 22:12:49 UTC
On Vista the default UI font is called "Segoe UI". For font fallback / glyph substitution (I don't know the correct terminology...) for CJK, Indic, etc to work properly in pangowin32 it requires the font to be aliased in pango.aliases to a list that includes fonts for CJK, Indic etc. (This is a bug in itself.)

A tiny patch is needed to enable aliasing also of fonts with spaces in the name like Segoe UI. It shouldn't cause any regressions as old pango.aliases entries wil continue to work as before, so I would like to commit the patch also to the stable branch.
Comment 1 Tor Lillqvist 2007-11-01 22:13:27 UTC
Created attachment 98347 [details] [review]
Suggested patch, works for me
Comment 2 Behdad Esfahbod 2007-11-01 23:09:05 UTC
Looks good to me.  Feel free to commit to both branches.  Stable branch is pango-1-18.
Comment 3 Tor Lillqvist 2007-11-03 03:58:03 UTC
Committed to trunk and pango-1-18.
Comment 4 Behdad Esfahbod 2008-02-10 21:58:12 UTC
*** Bug 515545 has been marked as a duplicate of this bug. ***