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

--- Comment #3 from Axel Howind <a...@dua3.com> ---
To me it looks like Arial and Times New Roman look correct now. The yellow
symbols also look a little bit better. A difference of a single pixel due to
rounding issues in the font rasteriser might not be possible to fix within POI
as that happens inside JDK.

I have tried to find some information on this. From what I found, in JDK 8,
freetype was used - on windows systems it was bundled with the JDK and on Linux
the installed version was used. That could lead to different results due to
differing versions of the library being used.

Starting with JDK 9, a bundled version should be used on all platforms,
eliminating most differences. So it might be that the windows JDK 14 version
renders the yellow symbols the same as it does on Linux. Could you check that?
The new screenshot just shows the Ubuntu version.

If the yellow symbols show the same result on windows, I'd say that's another
(minor?) issue.

The Courier definitely looks as if the wrong font was used on Ubuntu. And you
actually have different versions of that font on your system (note the file
names differ "Courier_New.ttf" vs "your.ttf") that both define the "Normal" or
"Regular" style:

line 28: "Courier New.ttf"
/usr/share/fonts/truetype/msttcorefonts/Courier_New.ttf: Courier
New:style=Regular,Normal,obyčejné,Standard,Κανονικά,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,thường,Arrunta

line 69 "cour.ttf":
/usr/share/fonts/truetype/msttcorefonts/cour.ttf: Courier
New:style=Regular,Normal,obyčejné,Standard,Κανονικά,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,thường,Arrunta

I don't know which of those is the correct one, but I think this is caused by
Java choosing the wrong one. Please try out what result you get when you remove
either of those.

-- 
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