Getting rid of "hidden" fonts
Getting rid of "hidden" fonts
- Subject: Getting rid of "hidden" fonts
- From: Francisco Tolmasky <email@hidden>
- Date: Fri, 25 Jul 2003 23:37:48 -0700
OK, so I'm using NSFontManager to get all the font families.
Everything is working fine, except I get a few extra font families that
don't normally show up, notably:
#GungSeo
#HeadeLineA
#PCMyungjo
#PilGi
.Aqua Kana
.Keyboard
So is there any way to get rid of these when calling
availableFontFamilies? I don't want to manually get rid of them
because I don't know what other weird fonts people may have. Is it
safe to just remove all fonts starting with "#" and ".". Is there a
method that will purge them for me, still returning font families, NOT
font names, so not availableFontNamesWithTraits:, unless of course this
just does the same thing. I don't know, any help is greatly
appreciated.
Thank in advance,
Francisco Tolmasky
email@hidden
http://users.adelphia.net/~ftolmasky
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.