Re: Webdings et.al. ?
Re: Webdings et.al. ?
- Subject: Re: Webdings et.al. ?
- From: Andrew Pinski <email@hidden>
- Date: Mon, 17 Jun 2002 15:32:11 -0400
That is because you have to use a different encoding rather than
ASCI or UTF-8 to get webdings from regular characters.
Thanks,
Andrew Pinski
On Monday, June 17, 2002, at 03:18 , Julian Barkway wrote:
On Monday, June 17, 2002, at 08:51 pm, Robert Miller wrote:
Am I missing something ? I have an NSTextView that I want
to display certain character(s) with using the Webdings font.
So I get the font using [NSFont fontWithName:@"Webdings"
size:0], this returns and instance of the Webdings font. If I
use the debugger to look at the NSFont its description says
that it is 'CGS Webdings' ... I set the text of my NSTextView
to be some character say 'G' using setString:@"G" , which is a
solid box in Webdings if I'm not mistaken, then I set the font
of the NSTextView the Webdings NSFont instance for the entire
range in this case a single character using setFont:theFont
range:theRange, yet when the text is displayed it is the 'G'
character and not a Webdings symbol ? what could be going
wrong ? Is there a trick to using non standard fonts ?
I recently had exactly this problem but when I finally got it
to work (by using a slightly different version of the Dingbats
font I had lying around) my alpha testers complained they could
only see the underlying alphabetic character. In the end, I
gave up and designed myself a very simple custom image which I
then 'aquafied' using Ben Haller's excellent AquaTint app.
Needless to say, this looks very much better than the Dingbat I
originally used....
_______________________________________________
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.
_______________________________________________
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.