xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52416] New: [PATCH] Suppress unnecessary "font not found warnings" when generating AFP with raster fonts
Date Tue, 03 Jan 2012 09:13:37 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52416

             Bug #: 52416
           Summary: [PATCH] Suppress unnecessary "font not found warnings"
                    when generating AFP with raster fonts
           Product: Fop
           Version: all
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: general
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: lmpmbernardo@gmail.com
    Classification: Unclassified


Created attachment 28116
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28116
patch for org.apache.fop.afp.fonts.RasterFont.java

When generating AFP with raster fonts, and due to some rounding errors that
happen during scaling, one may get font not found warnings in cases that are
not warranted. Example: source specifies font size 10, which due to rounding
errors is scaled to size 9.995, such font size does not exist and the warning
message of the type "font X with size 9.995pt not found, replaced by size
10.0pt" is output. The patch suppresses the warning message if the difference
in font sizes between what is searched and what is found is less than 0.1.

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

Mime
View raw message