Subject: Re: [xsl] FO questions about blocks in table-cells From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Thu, 13 Jun 2002 21:15:45 -0400 |
1. How do I align a block to the bottom of a 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?
<table border="solid" border-collapse="collapse"> <table-column column-width="5cm"/> <table-column column-width="5cm"/> <table-column column-width="1cm"/> <table-column column-width="1cm"/> <table-column column-width="1cm"/> <table-body> <table-cell border="solid"> <block> This is a cell with a long sentence in it. </block> </table-cell> <table-cell display-align="after" border="solid"> <block> This is short. </block> </table-cell> <table-cell border="solid"> <block><inline background="cyan">X</inline></block> </table-cell> <table-cell border="solid"> <block line-height="1"><inline background="cyan">X</inline></block> </table-cell> <table-cell border="solid"> <block background="cyan">X</block> </table-cell> </table-body> </table>
-- Upcoming: 3-days XSLT/XPath and/or 2-days XSL-FO:Sep 30-Oct 4,2002
G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995) ISBN 0-13-065196-6 Definitive XSLT and XPath ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath ISBN 1-894049-07-1 Practical Formatting Using XSLFO XSL/XML/DSSSL/SGML/OmniMark services, books (electronic, printed), articles, training (instructor-live,Internet-live,web/CD,licensed) Next public training: 2002-06-11,13,14,08-05,26,27,09-30,10-03
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] FO questions about blocks in , Gustaf Liljegren | Thread | RE: [xsl] FO questions about blocks, DPawson |
Re: [xsl] Detecting the last page o, G. Ken Holman | Date | RE: [xsl] Yet Another Flat File to , Paul Bunkham |
Month |