• 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
Unicode Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Unicode Problem
      • From: Aki Inoue <email@hidden>
  • Prev by Date: Ask Before Quite,Best Way To Save INFO
  • Next by Date: Re: State of instance variables defined at instantiation?
  • Previous by thread: Error 1000 and no menus or icon???
  • Next by thread: Re: Unicode Problem
  • Index(es):
    • Date
    • Thread