• 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: Monospaced Simulated Braille
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Monospaced Simulated Braille


  • Subject: Re: Monospaced Simulated Braille
  • From: Steve Christensen <email@hidden>
  • Date: Tue, 12 Aug 2008 12:33:30 -0700

For the time being I suppose you could query the Braille font for its maximum character width, then draw each character in a string individually, centering it horizontally within a rectangle that has the maximum width. That would mean manually advancing each character's position on a line and handling wrapping, but it might get you there. This solution would also have the benefit of "just working" if the Braille font is later fixed to be monospace.


On Aug 11, 2008, at 6:31 PM, Deborah Goldsmith wrote:

The Braille characters should probably be monospace. Please write a bug.


On Aug 8, 2008, at 2:11 PM, James Jennings wrote:

I want to display and edit simulated Braille.


OS X has had Braille fonts since Tiger, so all I need to do is pass the
correct Unicode codes to NSTextView, except the Braille fonts are
proportional spaced, and I need monospaced.



There is a Unicode entity called BRAILLE PATTERN BLANK which could double as
a space, except that NSTextView doesn't treat it as white space. It's not
used for finding word breaks.



I've been looking for solutions along the lines of:

Override the character spacing of a font, or

Override the definition of white space, or

Override the word break algorithm.

but I haven't found documentation for any of that.

Any suggestions?
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Monospaced Simulated Braille (From: "James Jennings" <email@hidden>)
 >Re: Monospaced Simulated Braille (From: Deborah Goldsmith <email@hidden>)

  • Prev by Date: Re: Accessing memory of another application?
  • Next by Date: Re: Should I retain a variable returned from this accessor?
  • Previous by thread: Re: Monospaced Simulated Braille
  • Next by thread: Re: Monospaced Simulated Braille
  • Index(es):
    • Date
    • Thread