• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: What's wrong with "symbol" fonts?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: What's wrong with "symbol" fonts?
      • From: Ondra Cada <email@hidden>
    • Re: What's wrong with "symbol" fonts?
      • From: Charles Srstka <email@hidden>
References: 
 >Re: What's wrong with "symbol" fonts? (From: Douglas Davidson <email@hidden>)

  • Prev by Date: Re: Storing something in using plist(XML?)
  • Next by Date: Re: Storing something in using plist(XML?)
  • Previous by thread: Re: What's wrong with "symbol" fonts?
  • Next by thread: Re: What's wrong with "symbol" fonts?
  • Index(es):
    • Date
    • Thread