realbasic-nug
[Top] [All Lists]

Linux Text Size

To: RB list <realbasic-nug at lists dot realsoftware dot com>
Subject: Linux Text Size
From: Don Jungk <rb at flippingdades dot com>
Date: Sun, 29 Jul 2007 18:34:46 -0500
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
It appears that RB (2006r4) is drawing all text at the wrong size. I'm using 
DrawString on canvases, but the same appears in StaticTexts and EditFields.

Text drawn at a text size of, say 48 point, should measure 48 points from the 
bottom of a descender to the top of an ascender. Not all type styles have the 
baseline at the same place between these two limits. It appears that all the 
text draw by RB apps is coming out between 48 points and about 100 points, 
depending on the font. It is always 48 from the baseline to the top of an 
ascender.

I noticed this because I'm working on a drawing program and I use a canvas to 
display on the screen, while I write Postscript for printing. Type sizes 
don't match. I thought maybe it's a "Linux thing", but other programs that 
draw text (Pixel, TextMaker, Scribus) all draw it the "correct" way.

I call this the correct way because I worked as a typesetter and in printing 
plants for more than 30 years and type size has never been measured from the 
baseline.

Do other people using Linux see the same thing?

Don Jungk
RB2006r4 pro
Mepis 6.0.1 (based on Debian and Ubuntu)


_______________________________________________
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>