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 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.
________________________________________________________________________
Gary L. Wade
Product Development Consultant
DesiSoft Systems | Voice: 214-642-6883
9619 E. Valley Ranch Parkway | E-Mail: email@hidden
Suite 2125 | Web: http://www.desisoftsystems.com/
Irving, TX 75063 |

Want a name worthy of a Star Wars character?
Download DSS Name Convoluter today from DesiSoft Systems at
http://www.desisoftsystems.com/
________________________________________________________________________

On 8/26/03 8:06 PM, "Mike Kluev" <email@hidden> wrote:

> On 27/08/2003 03:18, "Gary L. Wade" <email@hidden> wrote:
>
>> Some controls don't like to use any font but the one they want, even if you
>> specify the port font variant, but you may want to look at using the
>> constant smScriptMonoFondSize from Script.h to see if it will help you.
>
> I tried it yesterday, but it gave me 0 on 10.2.6
>
> 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.