Re: [Bug?] Text rendering under Cocoa
Re: [Bug?] Text rendering under Cocoa
- Subject: Re: [Bug?] Text rendering under Cocoa
- From: Ondra Cada <email@hidden>
- Date: Tue, 12 Nov 2002 17:35:27 +0100
On Tuesday, November 12, 2002, at 05:00 , Stiphane Sudre wrote:
Is this a known bug that when you try to draw a huge 'j' letter with the
AppKit, you get an improper result.
Do you? I don't.
Example:
1) Launch TextEdit.app
2) Type: JJoy of Tech
3) Select the text and set the font to be Lucida Grande 288.
And then compare the J on the left to its neighbour. Looks like the first
J is on horizontal diet.
When I try here (10.1.5), I get both J's exactly the same; only with
Lucida Grande there seems to be a metric problem, which causes the left
edge of the J to be somewhat into the letter, actually. Just try that, try
also to place a space (or even better a letter, say, 'a') before the first
J, and also try to select the J.
We're seeing this bug with [NSString drawAtPoint: withAttributes:]; too.
Do I need to file a bug report or is this a known issue (which is also in
10.1 AFAIK)?
Can't say for sure, but this definitely looks as a specific problem of the
metrics inside the Lucida Grande font (no such problem with Helvetica or
Times; I haven't tried others). I haven't slightest idea whether it was
reported or not.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
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.