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: Andy Dent <dent at oofile dot com dot au>
Date: Tue, 31 Jul 2007 09:40:56 +0800
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>
On 30/07/2007, at 7:34 AM, Don Jungk wrote:

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

<http://developer.apple.com/documentation/Carbon/Conceptual/ 
ATSUI_Concepts/atsui_chap2/chapter_2_section_6.html>
"Point size indicates the size of a font’s glyphs as measured from  
the baseline of one line of text to the baseline of the next line of  
single-spaced text."


The diagrams on that page and the only diagrams I've been able to  
find in the PostScript manuals talk more about a Bounding Box for a  
glyph
" The bounding box of a glyph is the smallest rectangle that entirely  
encloses the drawn parts of the glyph."


the book ".Net Graphics and Printing" says on p131
"In theory, the point-size of a font is the measurement of the height  
of the traditional block of type. It can often be approximated by the  
distance from the top of the tallest letter in the font to the bottom  
of the lowest descender.'...p132 "In Actuality, the point size of  
most digital fonts does not provide the precise measurement...maybe  
larger depending on the specific font".

Hopefully that adds to the confusion.

Me, I'd stick with the line-spacing argument. How that actually  
translates glyph-wise depends on the individual glyph in the  
individual font.

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