[xep-support] Alignment of text in blocks

From: Robert Goldsmith <robert.goldsmith@spgroup.co.uk>
Date: Wed Jul 15 2009 - 01:50:35 PDT

Hi All,

Just a quick question in case anyone has had this problem before and
found a good solution :)

I have an fo:block within which I have some text. This text varies in
length but not greatly so I use some simple xsl to vary the font size
to maximise the space in the block. I also align the text to the
bottom of the block - and this is where I have the problem. As the
font size increases, the space left for descenders obviously increases
as well and this makes the baseline for the text change and this
doesn't look great across multiple pages.

So, does anyone have any suggestions on how I can fix the baseline of
some text within a block so that no matter what the font size is, the
text still 'looks' like it is in the same place? In my head I have
been thinking of this as somehow specifying the font baseline be a
certain distance from the bottom/top of the block or possibly forcing
the baseline to the bottom edge of a block and allowing overflow or
something similar.

Any ideas?



Robert Goldsmith
Senior Systems Integrator, Business Systems, SP Group
Telephone: 01527 508239
"Please consider the environment before printing this e-mail"
IMPORTANT - this email and the information that it contains may be 
confidential, legally privileged and/or protected by law.  It is intended 
solely for the use of the individual or entity to whom it is addressed.  
If you are not the intended recipient, please notify the sender immediately 
and do not disclose the contents to any other person, use it for any purpose, 
or store or copy the information in any medium (including by printing it out.  
Please also delete all copies of this email and any attachments from your 
system and shred any printed copies.
We do not accept any liability for losses or damages that you may suffer 
as a result of your receipt of this email including but not limited to 
computer service or system failure, access delays or interruption, data 
non-delivery or mis-delivery, computer viruses or other harmful components.
Any views expressed in this message are those of the individual sender 
except where the sender specifically states them to be the views of the SP Group.
Copyright in this email and any attachments belongs to the SP Group the sender or 
its licensors.
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Thu Jul 16 23:59:33 2009

This archive was generated by hypermail 2.1.8 : Thu Jul 16 2009 - 23:59:43 PDT