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=36036>. 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=36036 Summary: [PATCH] Support for font-size=<absolute> and font- size=<relative> Product: Fop Version: 1.0dev Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: page-master/layout AssignedTo: email@example.com ReportedBy: [EMAIL PROTECTED] Here is a simple patch to add support for absolute and relative font size specifications. I think the part of the patch for the <absolute> specifications is OK as is, that is the font sizes are fixed based on a default (=medium) of 12pt and a stepping factor of 1.2 as recommended in the spec. While the spec allows for the stepping to be font specific at this point in time having a "one size fits all" approach should do. I am not so sure about the <relative> part of the patch. The patch simply translates the "smaller" or "larger" keywords into a percentage. The spec really asks for mapping into one of the absolute sizes using rounding and if outside the <absolute> sizes using extrapolation. My understanding of the property subsystem is not (yet?) good enough to attempt something like that without guidance / hints from the experienced fop-devs. The patch also contains updated testcases (with checks :-)). -- 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.