summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2007-11-03 03:29:41 +0000
committerTor Lillqvist <tml@src.gnome.org>2007-11-03 03:29:41 +0000
commitd686e1d4ae80b64390149e7336329c0254479161 (patch)
treeb305af6383a403bc45f34643bbfc278ca1b74db7 /tools
parentfe9307feec475a1604452abea4b1c49fcab88dc9 (diff)
downloadpango-d686e1d4ae80b64390149e7336329c0254479161.tar.gz
On Windows store the default aliases file in a string array. (#492517)
2007-11-02 Tor Lillqvist <tml@novell.com> * pango/pango-utils.c (read_builtin_aliases, pango_load_aliases): On Windows store the default aliases file in a string array. (#492517) Compared to the pango.aliases file as distributed with my most recent Windows builds there are some changes: Add the DejaVu fonts as the first ones listed for the generic sans, serif and mono font names. Use Tahoma instead of Arial for sans, and Georgia instead of Times New Roman for serif (to be used if the DejaVu fonts aren't present). Add Arial Unicode MS (a font with quite large coverage that comes with MS Office and thus is often available). Add Sylfaen (the Armenian and Georgian font bundled with Windows). When using the MS-Windows theme the font used by GTK+ will the system UI one. Both fonts typically used as system fonts, Tahoma (on XP) and Segoe UI (on Vista), are aliased here. * pango/pango-utils.c (read_alias_file): Accept also a quoted string for the left-hand side of an aliases file line. This is to enable aliasing fonts with spaces in their name, like "Segoe UI" which is the default system font on Vista. (#492504) (With the above built-in default aliases lists, no actual pango.aliases file is longer required on Windows for non-Latin script support, though.) svn path=/trunk/; revision=2489
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions