fop-users  

RE: Problem with vertical align of a list-item-label

Mario Madunic
Tue, 09 Feb 2010 08:03:04 -0800

fop-0.95 but had to use fop-0.94 to do my font set-up. Don't know if that would 
make a difference.

Marijan (Mario) Madunic
Publishing Specialist
New Flyer Industries

-----Original Message-----
From: Pascal Sancho [mailto:pascal.san...@takoma.fr] 
Sent: Tuesday, February 09, 2010 9:48 AM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Problem with vertical align of a list-item-label

What FOP version do you use?
--Pascal

Mario Madunic a écrit :
> Thanks Pascal for the info, but alas I've moved on to using a graphic (no 
> *align* necessary), straight-forward and it works. I tried many different 
> options and followed instructions not only mentioned here but from FO info on 
> the web. None of it seemed to work how I expected it to.
>
> Marijan (Mario) Madunic
>
> -----Original Message-----
> From: Pascal Sancho [mailto:pascal.san...@takoma.fr] 
>
> Mario,
>
> rather than keywords, you can set your property with a <length> or a
> <percentage>, witch should give more accurate result.
>
> Also note that vertical-align is a shorthand for (alignment-baseline,
> alignment-adjust, baseline-shift, and dominant-baseline).
> Setting a <length> value to vertical-align is equivalent to setting it
> to baseline-shift.
>
> In addition, the REC XSL-FO says, regarding the baseline-shift property:
> "Using the "alignment-adjust" property is more suitable for positioning
> objects, such as graphics, that have no internal textual structure"
>
> You should follow it, this should help you.
>
> Pascal
>
>
> Mario Madunic a écrit :
>   
>> Well baseline-shift was as successful as vertical-align, so not very. 
>> Decided to go with the old standby, "when all else fails, use a graphic".
>>
>> Thanks for all your help and insight into this one.
>>
>> Marijan (Mario) Madunic
>>     


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


--------------------------------------------------------------------
Please consider the environment before printing this e-mail.

CONFIDENTIALITY STATEMENT: This communication (and  any and all information or 
material transmitted with this communication) is confidential, may be 
privileged and is intended only for the use of the intended recipient. If you 
are not the intended recipient, any review, retransmission, circulation, 
distribution, reproduction, conversion to hard copy, copying or other use of 
this communication, information or material is strictly prohibited and may be 
illegal. If you received this communication in error or if it is forwarded to 
you without the express authorization of New Flyer, please notify us 
immediately by telephone or by return email and permanently delete the 
communication, information and material from any computer, disk drive, diskette 
or other storage device or media. Thank you.


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