xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernd Koester <koes...@bue-gmbh.de>
Subject Baseline positioning of texts
Date Tue, 14 Feb 2012 12:22:36 GMT

the designers responsible for a corporate design placed the first line 
of block on a baseline position.

The main text starts at 50 mm (baseline) from top has a font-height of 
10pt and a line-height of 14pt.
The sidebar starts at 50 mm (baseline) from top has a font-height of 
7.5pt and a line-height of 10pt.

The only way I found was starting both regions at 45mm and then adding a 
calculated margin-top on both
blocks. This has to be calculated for each font.

Do you know a better way to place the first baseline of a region on a 
absolute position?


Bernd Köster

To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org

View raw message