[prev in list] [next in list] [prev in thread] [next in thread] 

List:       poi-dev
Subject:    [Bug 64360] New: autoSizeColumn Incorrect on Ubuntu (With Correct Fonts Installed)
From:       bugzilla () apache ! org
Date:       2020-04-16 22:25:29
Message-ID: bug-64360-47293 () https ! bz ! apache ! org/bugzilla/
[Download RAW message or body]

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

            Bug ID: 64360
           Summary: autoSizeColumn Incorrect on Ubuntu (With Correct Fonts
                    Installed)
           Product: POI
           Version: 4.1.2-FINAL
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
          Assignee: dev@poi.apache.org
          Reporter: schmoboy@gmail.com
  Target Milestone: ---

Created attachment 37177
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37177&action=edit
attachment contains screenshot and code and fonts list

The same code correctly autosizes columns on Windows 10, but makes the columns
a bit small when on Ubuntu.  The longer the text the more the difference.  All
required fonts are available on the Ubuntu system as you can see by the
attached screenshot properly rendering the fonts and the included
ubuntufonts.txt fc-list output.

The attached zip file contains the screenshot comparison of the two xlsx files,
a text file containing the output of fc-list on the Ubuntu system, and the
source code used to produce the test which is a slightly modified version of
the POI WorkingWithFonts.java example.

POI 4.1.2 and Java 1.8 latest version on both Windows and Ubuntu systems.

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic