image
image

Go Back   macosx.com > Design, Media, Programming & Scripting > Software Programming & Web Scripting

Reply
 
LinkBack Thread Tools
  #1  
Old June 18th, 2003, 07:38 AM
Registered User
 
Join Date: Jun 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
weatedelennoy is on a distinguished road
Question Drawing a unicode text: "black squares" problem

Hello All!

I have a problem with drawing of unicode text to a current graphic port.
I tried to use TXNDrawUnicodeTextBox(), TXNDrawCFStringTextBox() and ATSUDrawText() - for Mac Roman it's working fine, but for Japanese or Korean it's output some "black squares" instead of the proper symbols. I tried to cange the font (located by calling ATSUFindFontFromName() on kFontJapaneseLanguage, but it didn't change anything. Then, I tried to setup MLTE by calling the TXNInitTextension() (by setting the TXNMacOSPreferredFontDescription.fontID and TXNMacOSPreferredFontDescription.encoding), but it didn't help too. _

The OS version is MacOS X 10.2.6. Finder can display the japanese filenames without any problems, so probably it's not a matter of OS settings. The unicode string i'm trying to display is a filename, returned by FSGetCatalogInfo().

What else can I try to fix the problem?...

Thanks.
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem linking flash text bella Design & Media 0 August 26th, 2003 09:35 AM
AppleScript, iTunes, Mp3 Tags, idea and problem jove Software Programming & Web Scripting 0 March 11th, 2002 04:03 PM


All times are GMT -5. The time now is 08:10 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
Copyright 2000-2010 DigitalCrowd, Inc.