Re: What's wrong with "symbol" fonts?
Re: What's wrong with "symbol" fonts?
- Subject: Re: What's wrong with "symbol" fonts?
- From: Matt Judy <email@hidden>
- Date: Wed, 26 Jun 2002 17:05:44 -0700
There are keyboard layouts that allow you to type these characters. In
System Preferences -> International -> Keyboard Menu, there are three
layouts that may be of interest here:
- Dingbats
- Extended Roman (U)
- Symbol
You can turn them on, and use them whenever you need to type such
characters.
--Matt
Douglas Davidson wrote:
On Wednesday, June 26, 2002, at 04:19 PM, 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. I've also noticed that
TextEdit can't display these fonts either. Is it possible to use
these fonts somehow?
Yes, it is. Just keep in mind that Cocoa text is based on Unicode. To
display a particular symbol, you need to use the Unicode character for
that symbol. If you are entering them in TextEdit, you may find a
Symbol keyboard on your system that may help. Programmatically, you can
use stringWithFormat:@"%C" or various other methods.
Also, is it possible to draw text upside-down in an NSView?
Upside down, sideways, or anything in between, by changing the
transform. Take a look at the CircleView example, for example.
Douglas Davidson
_______________________________________________
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.