You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Christian Loock <c....@db-central.com> on 2005/12/21 16:15:03 UTC

baseline-shift problem

Hi,
 
is der any known issue using the basline-shift attribute in fop 20.0.5?
 
O<fo:character character="2" baseline-shift="sub"/>
 
Doesn't show any effect on the "2". It's shown in the PDF like O2. Can anybody figure out what went wrong here?
 

I'm looking forward to hearing from you,

Christian Loock
___________________________________________________________________________

 

Phone +49 (0) 28 21 / 9 78 56-16
Fax +49 (0) 28 21 / 9 78 56-77
E-Mail c.loock@db-central.com <ma...@db-central.com>  

Headquarter

db-central gmbh
Dienstleistungszentrum am Weißen Tor
Gocher Landstrasse 2
D-47551 Bedburg-Hau

Subsidiary

db-central gmbh
Film- und Medienzentrum
Königsallee 43
D-71638 Ludwigsburg (Stuttgart) 
__________________________________________________________________________ 

 


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


Re: baseline-shift problem

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
You can't with 0.20.5. You'll have to upgrade to FOP 0.90alpha1 to have
better control over baseline displacement.

On 21.12.2005 16:55:06 Christian Loock wrote:
> Ah ok.
> 
> But what if the letter is pushed down to far?  Afaik baseline-shift
> allows values like -120% wich allow you to specify how far the text ist
> shifted. How can i do so with vertical-align?
> 
> Christian Loock
> 
> -----Original Message-----
> From: Jeremias Maerki [mailto:dev@jeremias-maerki.ch] 
> Sent: Wednesday, December 21, 2005 4:38 PM
> To: fop-users@xmlgraphics.apache.org
> Subject: Re: baseline-shift problem
> 
> Under 0.20.5 you need to use vertical-align="sub" instead. And you need
> to use <fo:inline> instead of <fo:character> for vertical-align to work.
> Of course, none of these restrictions apply to FOP 0.90alpha1. ;-)
> 
> On 21.12.2005 16:15:03 Christian Loock wrote:
> > Hi,
> >  
> > is der any known issue using the basline-shift attribute in fop
> 20.0.5?
> >  
> > O<fo:character character="2" baseline-shift="sub"/>
> >  
> > Doesn't show any effect on the "2". It's shown in the PDF like O2. Can
> anybody figure out what went wrong here?
> 
> 
> Jeremias Maerki
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org



Jeremias Maerki


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


Re: baseline-shift problem

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Under 0.20.5 you need to use vertical-align="sub" instead. And you need
to use <fo:inline> instead of <fo:character> for vertical-align to work.
Of course, none of these restrictions apply to FOP 0.90alpha1. ;-)

On 21.12.2005 16:15:03 Christian Loock wrote:
> Hi,
>  
> is der any known issue using the basline-shift attribute in fop 20.0.5?
>  
> O<fo:character character="2" baseline-shift="sub"/>
>  
> Doesn't show any effect on the "2". It's shown in the PDF like O2. Can anybody figure out what went wrong here?


Jeremias Maerki


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