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 145322 - Filter out font family names starting with @
Filter out font family names starting with @
Status: RESOLVED FIXED
Product: pango
Classification: Platform
Component: win32
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-win32 maintainers
pango-maint
Depends on:
Blocks:
 
 
Reported: 2004-07-02 19:42 UTC by John Ehresman
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Ignore names starting with @ (2.91 KB, patch)
2004-07-02 19:43 UTC, John Ehresman
none Details | Review

Description John Ehresman 2004-07-02 19:42:06 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?
Comment 1 John Ehresman 2004-07-02 19:43:04 UTC
Created attachment 29167 [details] [review]
Ignore names starting with @
Comment 2 Tor Lillqvist 2004-08-22 19:31:27 UTC
Patch applied to HEAD and pango-1-4. Thanks!