Re: Unicode Problem
Re: Unicode Problem
- Subject: Re: Unicode Problem
- From: Aki Inoue <email@hidden>
- Date: Wed, 28 May 2003 00:50:07 -0700
The message is a warning about an issue in the font and harmless (and
will be fixed in a future release).
The font itself is being instantiated as part of the font fallback
mechanism (the system is looking for a font that can display the
character).
Since ZapfDingbatsITC is the only bundled font that covers the
character, it is more efficient to explicitly specify the font in the
attribute than relying on the system.
Aki
On 2003.5.27, at 05:52 午後, Carl Norum wrote:
Hi folks, the following three lines of code are giving me this error:
2003-05-27 18:47:59.823 Vineyard[9535] Font GB18030Bitmap: in
_readBasicMetricsForSize, claims 0 max advance but is fixed-pitch.
The program works and runs fine, and everything looks correct, but the
above text gets dumped to the console.
Here's the code:
NSString *box = [NSString stringWithFormat:@"%C",
0x274F];
[s2 setString:box];
[s2 drawInRect:r2 withAttributes:reg];
This code is in a loop (3 times), but the console message only comes
once. Any ideas? The unicode character 0x274F is a box with a drop
shadow (like a check box sort of).
Thanks for any suggestions about ridding myself of this problem!
--
Carl J Norum
5th Year Electrical Engineering/Computer Science Student
University of Saskatchewan
Saskatoon, Canada
http://norum.homeunix.net/~carl/
_______________________________________________
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.