Re: font-weight in area tree

2005-08-05 Thread Jeremias Maerki
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
XMLRenderer.

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:
> 
> font-weight="bold"
> 
> produces an area tree output like:
> 
>  
> 
>vpos="10266">font-weight="bold" 
> 
> 
> 
> Is that to be expected, i.e. only some selected resolved properties are
> shown in the area tree?
> 
> Manuel



Jeremias Maerki



Re: font-weight in area tree

2005-08-05 Thread Chris Bowditch

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:

font-weight="bold"

produces an area tree output like:

 

	vpos="10266">font-weight="bold" 




Is that to be expected, i.e. only some selected resolved properties are
shown in the area tree?


Well the Trunk code, the renderers in particular are still WIP and so 
its probably just not been added to the renderText method in the 
XMLRenderer. Patches welcome :-)


Chris