RE: space between inline

2004-12-19 Thread Thirugnanam, Kalusivalingam
Hi,

I have attached the fo and the output pdf.

It is failing for many cases but it also succeeds in some cases ... 
It is not consistent in all locations.

It works perfectly fine if used with fonts available with windows (like
Arial and Helvetica).

May be some property needed for this font is not available in the font
metrics file .. 

Minion-Bold is from Adobe.

Thanks,
Kalu

-Original Message-
From: Andreas L. Delmelle [mailto:[EMAIL PROTECTED] 
Sent: Saturday, December 18, 2004 7:00 AM
To: [EMAIL PROTECTED]
Subject: RE: space between inline


 -Original Message-
 From: J.Pietschmann [mailto:[EMAIL PROTECTED]

 Thirugnanam, Kalusivalingam wrote:
  Thanks for the response. Even if I use fo:wrapper, it still shows 
  some space.

 Do you use justified text (text-align=justify)? If so, you are 
 almost out of luck. Either don't use justified text, or represent the 
 15th as a graphic, for example a SVG.

FYI, the following still renders properly from where I'm sitting: (placed
line-separator in the fo:wrapper markup to avoid it being considered part of
the  content)

fo:block font-family=Helvetica text-align=justify
  The meeting takes place on the fo:wrapper font-family=Courier
  15fo:inline vertical-align=super font-size=5ptth/fo:inline
  /fo:wrapper and here's some more text causing a line-break and
  triggering text-justification...
/fo:block

It does so too when using two separate inlines instead of two nested inlines
or an inline nested in a wrapper... My best guess would still be that
there's a line-separator in the content of the source node. (Maybe caused by
having 'indent=yes' in the xsl:output element of the stylesheet?)

Greetz,

Andreas


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



abc.fo
Description: Binary data


test.pdf
Description: Binary data
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: space between inline

2004-12-17 Thread The Web Maestro
On Dec 16, 2004, at 4:20 PM, Thirugnanam, Kalusivalingam wrote:
Hi,
 
When I am using the following FO script for displaying 15th 
(Expected), I am getting 15 th (Actual).
  
fo:inline font-family=Minion-Bold15/fo:inlinefo:inline 
vertical-align=super font-family=Minion-Bold color=red 
font-size=5ptth/fo:inline
This might work:
fo:inline font-family=Minion-Bold15fo:inline 
vertical-align=super color=red 
font-size=5ptth/fo:inline/fo:inline

Web Maestro Clay
--
[EMAIL PROTECTED] - http://homepage.mac.com/webmaestro/
My religion is simple. My religion is kindness.
- HH The 14th Dalai Lama of Tibet
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: space between inline

2004-12-17 Thread Thirugnanam, Kalusivalingam

Thanks for the quick response. Even this is giving me space between 15 and
th.

I am using FOP0.20.5. 

Thanks,
Kalu

-Original Message-
From: The Web Maestro [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 16, 2004 4:35 PM
To: [EMAIL PROTECTED]
Subject: Re: space between inline


On Dec 16, 2004, at 4:20 PM, Thirugnanam, Kalusivalingam wrote:
 Hi,
  
 When I am using the following FO script for displaying 15th
 (Expected), I am getting 15 th (Actual).
   
 fo:inline font-family=Minion-Bold15/fo:inlinefo:inline
 vertical-align=super font-family=Minion-Bold color=red 
 font-size=5ptth/fo:inline

This might work:

fo:inline font-family=Minion-Bold15fo:inline 
vertical-align=super color=red 
font-size=5ptth/fo:inline/fo:inline

Web Maestro Clay
-- 
[EMAIL PROTECTED] - http://homepage.mac.com/webmaestro/
My religion is simple. My religion is kindness.
- HH The 14th Dalai Lama of Tibet


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: space between inline

2004-12-17 Thread Andreas L. Delmelle
 -Original Message-
 From: Thirugnanam, Kalusivalingam
[mailto:[EMAIL PROTECTED]


Hi,

 When I am using the following FO script for displaying
 15th (Expected), I am getting 15 th (Actual).

fo:inline font-family=Minion-Bold15/fo:inlinefo:inline
vertical-align=super font-family=Minion-Bold color=red
font-size=5ptth/fo:inline

Not sure why why you need two fo:inlines for this...
Just remember that the pieces of text can be considered inline areas even
when not surrounded by an explicit fo:inline.

The following code renders fine for me:

fo:block font-family=Courier
  15fo:inline vertical-align=super font-size=5ptth/fo:inline
/fo:block

So does:

fo:block font-family=Helvetica
  some other text
  fo:wrapper font-family=Courier15fo:inline vertical-align=super
  font-size=5ptth/fo:inline/fo:wrapper
/fo:block

HTH!

Greetz,

Andreas


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: space between inline

2004-12-17 Thread Thirugnanam, Kalusivalingam
Hi,

Thanks for the response. Even if I use fo:wrapper, it still shows some
space.

Surprisingly if I move the create a new block with only 15th then it is
working fine with inline/wrapper.

But if I add this with some additional text, it still shows one character
space between 15 and th.

Thanks,
Kalu

-Original Message-
From: Andreas L. Delmelle [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 17, 2004 10:06 AM
To: [EMAIL PROTECTED]
Subject: RE: space between inline


 -Original Message-
 From: Thirugnanam, Kalusivalingam
[mailto:[EMAIL PROTECTED]


Hi,

 When I am using the following FO script for displaying
 15th (Expected), I am getting 15 th (Actual).

fo:inline font-family=Minion-Bold15/fo:inlinefo:inline
vertical-align=super font-family=Minion-Bold color=red
font-size=5ptth/fo:inline

Not sure why why you need two fo:inlines for this...
Just remember that the pieces of text can be considered inline areas even
when not surrounded by an explicit fo:inline.

The following code renders fine for me:

fo:block font-family=Courier
  15fo:inline vertical-align=super font-size=5ptth/fo:inline
/fo:block

So does:

fo:block font-family=Helvetica
  some other text
  fo:wrapper font-family=Courier15fo:inline vertical-align=super
  font-size=5ptth/fo:inline/fo:wrapper
/fo:block

HTH!

Greetz,

Andreas


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: space between inline

2004-12-17 Thread Andreas L. Delmelle
 -Original Message-
 From: Thirugnanam, Kalusivalingam


Hi,

 Surprisingly if I move the create a new block with only 15th then it is
 working fine with inline/wrapper.

 But if I add this with some additional text, it still shows one character
 space between 15 and th.

Strange... the only thing I can think of would be that you have something
like:

fo:inline15
  fo:inline ...th

or

fo:inline15fo:inline ...
  th/fo:inline

in which case there's a line separator in the source --flattened to a space
during formatting.

If this is so, be sure to avoid it.

HTH!

Greetz,

Andreas


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: space between inline

2004-12-17 Thread J.Pietschmann
Thirugnanam, Kalusivalingam wrote:
Thanks for the response. Even if I use fo:wrapper, it still shows some
space.
Do you use justified text (text-align=justify)? If so, you
are almost out of luck. Either don't use justified text, or
represent the 15th as a graphic, for example a SVG.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]