The font-weight is encoded in the "font-family" attribute. "F3" will
internally point to a certain font-triplet which holds the information
about font-family, font-weight and font-style. For unit testing, it
might be worthwhile to expand "F3" into multiple attributes in the

On 05.08.2005 14:34:16 Manuel Mall wrote:
> I am trying to write a testcase for the font-weight property and noticed
> that the font-weight property is not shown in the area tree, i.e. something
> like:
> <fo:block font-weight="bold">font-weight="bold"</fo:block>
> produces an area tree output like:
> <block bap="0 0 0 0" bpd="14400" bpda="14400" ipd="595275" ipda="595275"> 
>    <lineArea bap="0 0 0 0" bpd="14400" bpda="14400" ipd="0"> 
>       <text color="#000000" font-family="F3" font-size="12000"
> vpos="10266">font-weight="bold"</text> 
>    </lineArea> 
> </block>
> Is that to be expected, i.e. only some selected resolved properties are
> shown in the area tree?
> Manuel

Jeremias Maerki

Reply via email to