realbasic-nug
[Top] [All Lists]

Re: System font

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: System font
From: Phil M <phil at mobleybros dot com>
Date: Mon, 31 Oct 2005 13:26:39 -0800
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <fb dot 7c7b853f dot 3097df6d at aol dot com>
On Oct 31, 2005, at 12:58 PM, GAmoore at aol dot com wrote:

I am experiencing a weird thing. When I run my app in Mac with g.textsize = 9
it looks fine. But in windows the characters are much larger. So did a
targetWin32 and made it 8 then 7 in windows, but there is no change. Is that normal?

The System and SmallSystem fonts on Microsoft Windows are usually fixed-bitmap sized fonts... so it doesn't matter what size you specify they will always display at one size.

If you don't like this behavior, you can set up global Constants to use instead... something like kDefaultFont with the default as "System" and the Windows platform value as "Tahoma".
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>