Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ATSUDrawText draws boxes instead of russian characters



On Thu, 29 Jun 2006 19:06:34 +1200,
mark (email@hidden) wrote:


>Anyone drop a hint on how DrawThemeTextBox() draws russian characters 
>correctly but ATSUDrawText() does not.

You're getting boxes because the font you're using doesn't
have glyphs for the Cyrillic characters you want to draw.

Try using a suitable font (e.g., Lucida Grande), or turn on
automatic font substitution by calling ATSUSetTransientFontMatching()
on your layout object.


                                    -- marco


-- 
It's not the data universe only, it's human conversation.
They want to turn it into a one-way flow that they have entirely
monetized. I look at the collective human mind as a kind of
ecosystem. They want to clear cut it. They want to go into the
rainforest of human thought and mow the thing down.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >ATSUDrawText draws boxes instead of russian characters (From: mark <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.