https://bz.apache.org/bugzilla/show_bug.cgi?id=69555

            Bug ID: 69555
           Summary: exception not ignored on getCellWidth
           Product: POI
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
          Assignee: dev@poi.apache.org
          Reporter: hsn9...@gmail.com
  Target Milestone: ---

org.apache.poi.ss.util.SheetUtil

has a flag (ignoreMissingFontSystem) that ignores exception thrown because of
missing font system.


this works well on: org.apache.poi.ss.util.SheetUtil#getDefaultCharWidthAsFloat
where it catches the throwable and checks for the flag.

however its on thrown on:

org.apache.poi.ss.util.SheetUtil#canComputeColumnWidth
org.apache.poi.ss.util.SheetUtil#getCellWidth(float, int,
org.apache.poi.ss.usermodel.CellStyle, double, java.text.AttributedString)


as TextLayout constructor may throw it.

at java.desktop/java.awt.Font.canDisplayUpTo(Font.java:2250)
at java.desktop/java.awt.font.TextLayout.singleFont(TextLayout.java:469)
at java.desktop/java.awt.font.TextLayout.<init>(TextLayout.java:530)

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to