Re: What's wrong with "symbol" fonts?
Re: What's wrong with "symbol" fonts?
- Subject: Re: What's wrong with "symbol" fonts?
- From: Ondra Cada <email@hidden>
- Date: Thu, 27 Jun 2002 01:57:47 +0200
On Thursday, June 27, 2002, at 01:19 , Chaz wrote:
I can't seem to get any of the fonts that display symbols (i.e.
Wingdings, Webdings, Monotype Sorts, Zapf Dingbats) to work. There are
some symbols that would be useful that I'd like to use in an NSView. I'm
using an NSMutableAttributedString and it's drawAtPoint: method to draw
text to the view, but anything drawn is not in a symbol font; It's in a
regular alpha-numerical font. Is it possible to use these fonts somehow?
Just use appropriate characters, the font is selected automatically for
you. Remember, 'tis Unicode -- the ugliness of "font XXX, char 61" being
'a' or 'diamond' or hell knows what depending on XXX" is there luckily no
more (at least, outside of Carbon). Char 61 is always 'a', and char 9674
is always a diamond, regardless of the font selected.
I've also noticed that TextEdit can't display these fonts either.
Indeed? I don't think so.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
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.