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: Monospaced font



On 27/08/2003 13:05, Mike Kluev wrote:

> On 27/08/2003 09:00, "Gary L. Wade" <email@hidden> wrote:
>
>> On 8/26/03 8:06 PM, "Mike Kluev" <email@hidden> wrote:
>>
>>> I tried [smScriptMonoFondSize] yesterday, but it gave me 0 on 10.2.6
>>
>> On my version of 10.2.6, I got back 0x00040009, which is
>> FontID=4,FontSize=9. Here's the relevant code:
>>
>> SInt32 theSystemsMonospacedFontAndSize;
>>
>> theSystemsMonospacedFontAndSize =
>> GetScriptVariable (smSystemScript,smScriptMonoFondSize);
>>
>> The high-word is the FontID and the low-word is the FontSize.
>
> Thanks, I will try it again. Perhaps I did something wrong last time.

It works! Last time I erroneously used GetScriptManagerVariable
instead of GetScriptVariable.

But then, if I remove monaco font from my computer it still
returns 0x00040009. Seems to be hardcoded.

Mike
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Monospaced font (From: Mike Kluev <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.