On Mar 14, 2007, at 20:05, Andreas L Delmelle wrote:
On Mar 14, 2007, at 02:41, Daniel Noll wrote:
Is there a particular reason why when I have a font-
weight="bolder", it
doesn't actually make the text any bolder?
Perhaps because "bolder" isn't implemented yet... :-\
http://xmlgraphics.apache.org/fop/compliance.html#fo-property-
font-weight
<snip />
I wonder why it wasn't just aliased to "bold" until a better
option became available.
Weird, the property resolution code to compute the correct value
for "bolder" seems to be OK, so I always thought this was
implemented, but now that you mention it, I went looking and it
seems no tests have been added to check for this.
Just checked it and, contrary to what I seemed to remember, the
properties' values are not OK
Plus, FOP's font-subsystem that apparently doesn't know what to do
with it yet...
(see FontState.getFontState())
First, I'll see if the replacement of the keywords by a numerical
value (normal=400, bold=700) cannot be done during property
resolution. Then it still becomes a matter of teaching the font-
subsystem to do something sensible with those values. Note that
numeric values in the range '100' to '500' currently all have the
same result as 'normal', and the values '600' to '900' are
interpreted simply as bold.
Cheers,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]