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 bu...@apache.org on 2005/10/05 06:01:02 UTC

DO NOT REPLY [Bug 36928] New: - em specification on font-size broken

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36928>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36928

           Summary: em specification on font-size broken
           Product: Fop
           Version: 1.0dev
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: fo tree
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: mm@arcus.com.au


A font-size spec like
<fo:block font-size="32pt">Text
  <fo:inline font-size="0.5em">small</fo:inline>
</fo:block>
is currently ignored.

This is due to the cacheing of prop values in StaticPropertyList as the 
evaluation of the "0.5em" value causes the parent font size value to be 
retrieved and stored in the property cache for the inline element. The 
subsequent explicit setting of the font-size property value does not overwrite 
the cached value.

Not sure what the best fix is that's why I "bugged" it here => for Finn?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.