realbasic-nug
[Top] [All Lists]

Re: Linux Text Size

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Linux Text Size
From: Tim Jones <tjmac at tolisgroup dot com>
Date: Tue, 31 Jul 2007 09:29:31 -0700
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <200707291834 dot 46435 dot rb at flippingdades dot com> <634400AF-6AB9-4F9A-BCDC-D784516807E3 at oofile dot com dot au> <200707311052 dot 07442 dot rb at flippingdades dot com>
On Jul 31, 2007, at 8:52 AM, Don Jungk wrote:

> The actual issue here is that RB for Linux is drawing type  
> differently from RB for Mac and Windows and differently from all  
> the other programs I've seen. One just has to print a capital H at  
> 72 points from various programs and measure it to see this.
>
> Since I'm using g.DrawString to display the page on the screen, but  
> writing Postscript "by hand" for printing, this difference is  
> making it difficult.

Hi Folks,

What you may be witnessing is an X11 thing, not a REALbasic thing.   
X11 supports (by default) 2 font resolutions - 75dpi and 100dpi.  If  
you examine your xfs config file, you can determine which of the  
resolutions is being selected as the default.  The file is recently  
placed into /etc/X11/fs/config.  If you're running an older (2+  
years) Linux distro, you may have to search for the location.

My suspicion is that the default resolution (75dpi) is probably what  
is causing your differences.

You should also run 'man xfs' for more details on your specific  
version of the X11 font server.

HTH,

Tim

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


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