GNOME Bugzilla – Bug 145322
Filter out font family names starting with @
Last modified: 2004-12-22 21:47:04 UTC
Names beginning with @ appear in the font selection dialog for some, but not all of the fonts included in MS's support for non-european languanges such as MS Mincho. According to http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=MPG.153d255659dfa19e9896e4%40msnews.microsoft.com&rnum=1&prev=/groups%3Fq%3D%2522%2540MS%2BMincho%2522%2B%2BEnumFontFamiliesEx%26hl%3Den%26lr%3D%26ie%3DUTF-8%26selm%3DMPG.153d255659dfa19e9896e4%2540msnews.microsoft.com%26rnum%3D1 this indicates that the font contains glyphs rotated 90 degrees for vertical writing. The attached patch simply ignores any font with a name beginning with @ Is the use of the ansi variant of the EnumFontFamiliesEx a potential utf-8 v ansi encoded string problem?
Created attachment 29167 [details] [review] Ignore names starting with @
Patch applied to HEAD and pango-1-4. Thanks!