You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Andreas L Delmelle <a_...@pandora.be> on 2007/07/05 21:14:58 UTC

Re: svn commit: r553612 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/Constants.java

On Jul 5, 2007, at 21:01, adelmelle@apache.org wrote:

Hi all,

> Author: adelmelle
> Date: Thu Jul  5 12:01:14 2007
> New Revision: 553612
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=553612
> Log:
> Fix for a tiny but very nasty bug...

Stumbled upon this little bug while looking at moving the relative  
font-weight computation to a dedicated PropertyMaker.

Seems to have gone unnoticed since there were only checks for  
relative font-weights in the layout test suite, and apparently, there  
it is compensated for (perhaps due to the order in which the tests  
for EN_LIGHTER and EN_100 are performed... on the Property side, they  
seemed to lead to identical hashes for those EnumProperties in  
Richard's implementation of canonical enums.

Just thought I'd share.


Cheers

Andreas