xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter B. West" <pbw...@tpg.com.au>
Subject More on font properties
Date Tue, 13 Apr 2004 12:47:02 GMT
Fop-dev font-devs,

My reading of the Javadocs for both 1.4.2 and 1.3.1 has turned up some 
interesting questions.  Since 1.3.1 (at least), java.awt.Font has 
defined constants for CENTER_BASELINE, HANGING_BASELINE and 
ROMAN_BASELINE.  These correspond to the Central, Hanging and Alphabetic 
baselines of the Rec at 7.8.1 Fonts and Font Data, which includes:
XSL assumes that the font tables will provide at least three font 
characteristics: an ascent, a descent and a set of baseline-tables.

The Rec actually aligns ideographic text on the Ideographic baseline, 
but this seems to have a fixed relationship to the Central.

Does the baseline discussion in the Rec have any echo in FOP?  Are 
baseline tables implemented?

Mind you, I don't yet know whether the baseline constants from Java are 
actually used anywhere.

Peter B. West <http://www.powerup.com.au/~pbwest/resume.html>

View raw message