Subject: RE: [xsl] FO questions about blocks in table-cells From: DPawson@xxxxxxxxxxx Date: Wed, 12 Jun 2002 11:44:55 +0100 |
> 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> <fo:table-cell border="solid black 1px" display-align="center" border-collapse="collapse" text-align="center"> <fo:block font-weight="bold">XXX</fo:block> </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? If you add a slim border round the entire block then nest that in the table cell with its border the difference may show up. HTH DaveP - NOTICE: The information contained in this email and any attachments is confidential and may be legally privileged. If you are not the intended recipient you are hereby notified that you must not use, disclose, distribute, copy, print or rely on this email's content. If you are not the intended recipient, please notify the sender immediately and then delete the email and any attachments from your system. RNIB has made strenuous efforts to ensure that emails and any attachments generated by its staff are free from viruses. However, it cannot accept any responsibility for any viruses which are transmitted. We therefore recommend you scan all attachments. Please note that the statements and views expressed in this email and any attachments are those of the author and do not necessarily represent those of RNIB. RNIB Registered Charity Number: 226227 Website: http://www.rnib.org.uk 14th June 2002 is RNIB Look Loud Day - visit http://www.lookloud.org.uk to find out all about it. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] FO questions about blocks, G. Ken Holman | Thread | RE: [xsl] FO questions about blocks, Gustaf Liljegren |
RE: [xsl] Re: Date Parsing (Was: Do, Jarkko . Moilanen | Date | RE: [xsl] Monsieur, j'ai rencontre , Michael Kay |
Month |