Unicode Problem
Unicode Problem
- Subject: Unicode Problem
- From: Carl Norum <email@hidden>
- Date: Tue, 27 May 2003 18:52:19 -0600
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.