[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] FO questions about blocks in table-cells
I'm making a script that produces a character map in FO for a given range of characters. The idea is to be able to see which characters are supported by a certain font. I have two FO questions about this: 1. How do I align a block to the bottom of a table-cell? <fo:table-cell height="60pt"> <!-- more height than needed for content --> <fo:block>A</fo:block> <fo:block>0041</fo:block> <!-- align this block to the bottom --> </fo:table-cell> 2. I've noticed that some fonts are smaller than others. Maybe those smaller fonts have more space around them. I'd like to see the actual size of each glyph. My attempt to do this was to add an <fo:inline> with 'background-color' on each character. Here's the result: http://www.xml.se/temp/xsl/char1.pdf The glyph width seem to appear, but I wonder if the height is the actual glyph height or the glyph height + whatever amount of space XSL adds as default line-height? If so, is there a way to strip the extra space around the glyph? Gustaf XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|