RE: Superscripts at beginning of line not working

2009-08-05 Thread adogg

Thanks Eric, but that doesn't seem to help.  I even tried putting the
zero-width space in an inline with a line-height with the hopes that that
would make the renderer "recognize" the height of the line when it was
superscripting, but no dice.

I've even thought about using inline SVGs, but still these would still have
to be given a vertical-align="super" in order to place them "above" the
normal text - and I don't think vertical-align is even supported in
instream-foreign-object in 0.20.5.

Any way I can use a negative margin-top or something without placing the
text in a block (which would cause unwanted carriage returns I guess)?



Amick, Eric wrote:
> 
> I don't have 0.20.5, but have you tried putting a zero-width space
> (​) in front of the inline? It can't make it any worse. 
> 
> 
> Eric Amick
> Legislative Computer Systems
> Office of the Clerk
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Superscripts-at-beginning-of-line-not-working-tp24788408p24832482.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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



RE: Superscripts at beginning of line not working

2009-08-04 Thread Amick, Eric
I don't have 0.20.5, but have you tried putting a zero-width space
(​) in front of the inline? It can't make it any worse. 


Eric Amick
Legislative Computer Systems
Office of the Clerk

-Original Message-
From: adogg [mailto:andrew_stee...@hotmail.com] 
Sent: Monday, August 3, 2009 6:25
To: fop-users@xmlgraphics.apache.org
Subject: Superscripts at beginning of line not working


I'm using FOP 0.20.5 (it's not possible for me to upgrade) and I'm
having a problem with superscripting text when it falls at the beginning
of a line. 
I use  to do the superscript, but when
the superscripted character is the first one in a line, the character is
not "elevated" above the others.  

It's pretty simple to recreate - here are the fo and pdf files:

http://cid-ecea845b36037b38.skydrive.live.com/self.aspx/.Public/fo-super
script-problem.xml
http://cid-ecea845b36037b38.skydrive.live.com/self.aspx/.Public/output.p
df

I can't believe that no one has come across this before, but I searched
Google and the mailing lists and haven't seen anything about it.

Has anyone seen it or done a workaround for it?  Maybe another way to do
superscripts?


--
View this message in context:
http://www.nabble.com/Superscripts-at-beginning-of-line-not-working-tp24
788408p24788408.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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



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