Re: Is this a bug in a font, in cocoa text, or not a bug at all?
Re: Is this a bug in a font, in cocoa text, or not a bug at all?
- Subject: Re: Is this a bug in a font, in cocoa text, or not a bug at all?
- From: John Stiles <email@hidden>
- Date: Thu, 11 Jan 2007 10:31:57 -0800
You want to have some real fun? Try using the Zapfino font, and type
the word "Zapfino." This font contains a custom "glyph" for the font
name which has some exceptionally large swooshes in it. It extends
far beyond the bottom of the selection, and to the right of the
selection as well.
You can get TextEdit to display interesting behavior with Zapfino.
Just try typing the word, selecting it, erasing it, etc. You'll find
all sorts of problems with descenders being cut off, etc.
I'd say it's Radar-worthy. If fonts can legally do crazy things like
this, NSTextView ought to do a better job of handling it. (And if
it's illegal for the font to do this, they should fix the font—Apple
made it :) )
On Jan 11, 2007, at 8:19 AM, Jesse Grosjean wrote:
The problem is that palatino seems to draw outside of it's line,
and its causing some "screen dirt" in my app sometimes.
Here's how to see the problem in Text Edit.
1. Open text edit
2. Choose rich text mode.
3. Choose Palatino 12 font.
4. Choose wrap to page.
5. Zoom to 125%.
6. Type some j's and g's on the first line.
7. Finally select the first line.
Note that the selection doesn't entirely contain the decenders of
the j's and g's.
Is that a bug, or expected behavior?
Thanks,
Jesse
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
40blizzard.com
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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