Re: different font sizes in fo:block

2002-04-29 Thread J.Pietschmann
Moebius, Yvonne wrote:
I tried to change the size of a single word from 12pt to 30pt in a 
block, but the line height does not change, so the words are sticking 
together.
This seems to be a bug, the spec says, the default for the
line-stacking-strategy property is max-height, this means
the line height should adapt to the font sizes (and other
stuff) used within this line.
There is a current effort to fix this as well as other
deficiencies.

One possibility is to change the line height of the block to 30pt, but 
this does not look very good. And changing the line height of the inline 
element does not seem to work?
Indeed, it doesn't. Seems you are hosed.
Possible workaround: put the line in question in a block
for itself and use line-heigth=31pt (or another value
slightly greater than 30pt) on this block. If your text
has to appear justified, use text-align-last=justify
on both this block and the previous.
J.Pietschmann




different font sizes in fo:block

2002-04-25 Thread Moebius, Yvonne



Hi,

I tried to change 
the size of a single word from 12pt to 30pt in a block, but the line height does 
not change, so the words are sticking together.
One possibility is 
to change the line height of the block to 30pt, but this does not look very 
good. And changing the line height of the inline element does not seem to 
work?

Here's my 
block:

fo:block font-size="12pt" font-family="sans-serif" text-align="justify" 
start-indent="3mm" 
end-indent="3mm" 
padding-left="3mm" 
padding-right="3mm" 
padding-top="4mm" 
padding-bottom="4mm" 
text-decoration="underline"
In this example, padding and border properties are specified 
using absolute properties:
padding-left,fo:inline font-size="30pt" inline/fo:inline 
padding-right, padding-top, and padding-bottom, etc.
According to the specification, a request for the absolute 
(top, bottom, left, right) versions of these properties should use the relative 
ones if they are specified.
/fo:block
Have you got any ideas of how 
to change a single line height in a block?
Bye, YM