Re: Why isn't my character displaying

2002-11-29 Thread John H. Jenkins

On Friday, November 29, 2002, at 05:23 AM, Theodore H. Smith wrote:


What is wrong? Is it something to do with font fallbacks? I am not 
touching font fallbacks at all. All I did was set the FontID for my 
ATSUStyle object, to that for Monaco plain.

I'm a bit stuck here, can someone help? I thought ATSUI is meant to 
fill in the missing fonts, automatically??? So why isn't it?



ATSUI *can* fill in the missing fonts automatically, but you have to 
tell it to.  You call ATSUSetTransientFontMatching() for your layout 
object.




Re: Why isn't my character displaying

2002-11-29 Thread Tom Gewecke

>I don't know what fonts contain the characters. OSX's ATSUI is MEANT to
>auto-choose a missing glyph from other fonts, as I said in my original
>post.
>
>I can see this character in 2 other Unicode apps. Just not in my ATSUI
>attempt. Obviously I am not setting something up yet. But what do I
>have to set up? Do I have to do the font location myself? Or am I just
>missing a small set up call somewhere?

Does this help?

http://developer.apple.com/techpubs/macosx/Carbon/text/ATSUI/ATSUI_Concepts/atsu
i_chap6/







Re: Why isn't my character displaying

2002-11-29 Thread Theodore H. Smith
Stigma is not a common character.  Can you see it in any applications?
Which fonts do you have that contain Greek characters?


On a standard OS X install, I think this character is only present in 
the
Japanese Hiragino Pro fonts.  Also in Code2000, if you add this.

I don't know what fonts contain the characters. OSX's ATSUI is MEANT to 
auto-choose a missing glyph from other fonts, as I said in my original 
post.

I can see this character in 2 other Unicode apps. Just not in my ATSUI 
attempt. Obviously I am not setting something up yet. But what do I 
have to set up? Do I have to do the font location myself? Or am I just 
missing a small set up call somewhere?




RE: Why isn't my character displaying

2002-11-29 Thread Tom Gewecke
>Stigma is not a common character.  Can you see it in any applications?
>Which fonts do you have that contain Greek characters?

On a standard OS X install, I think this character is only present in the
Japanese Hiragino Pro fonts.  Also in Code2000, if you add this.






RE: Why isn't my character displaying

2002-11-29 Thread Alan Wood
Theodore H. Smith wrote:

> I'm directly calling ATSUI, for a framework I am writing.
> 
> I have a character of value 987, "Stigma". This is part of my UTF16 
> string. The rest of the string displays just fine. But my Stigma 
> doesn't, it shows up as the Rectangle.
> 
Stigma is not a common character.  Can you see it in any applications?
Which fonts do you have that contain Greek characters?

Alan Wood
http://www.alanwood.net (Unicode, special characters, pesticide names)





Why isn't my character displaying

2002-11-29 Thread Theodore H. Smith
Hi list,

I'm directly calling ATSUI, for a framework I am writing.

I have a character of value 987, "Stigma". This is part of my UTF16 
string. The rest of the string displays just fine. But my Stigma 
doesn't, it shows up as the Rectangle.

What is wrong? Is it something to do with font fallbacks? I am not 
touching font fallbacks at all. All I did was set the FontID for my 
ATSUStyle object, to that for Monaco plain.

I'm a bit stuck here, can someone help? I thought ATSUI is meant to 
fill in the missing fonts, automatically??? So why isn't it?