You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "stix" fonts coming with the underlying CENTOS 7.4 release mess up Java font handling.
java.lang.ArrayIndexOutOfBoundsException: 0
at sun.font.CompositeStrike.getStrikeForSlot(CompositeStrike.java:75)
at sun.font.CompositeStrike.getFontMetrics(CompositeStrike.java:93)
at sun.font.Font2D.getFontMetrics(Font2D.java:415)
at java.awt.Font.defaultLineMetrics(Font.java:2176)
at java.awt.Font.getLineMetrics(Font.java:2246)
at net.sf.jasperreports.engine.fill.SimpleTextLineWrapper.determineLeading(SimpleTextLineWrapper.java:390)
at net.sf.jasperreports.engine.fill.SimpleTextLineWrapper.getGeneralFontInfo(SimpleTextLineWrapper.java:342)
...
Something along the lines of:
USER root
RUN yum erase stix-fonts.noarch
RUN yum erase stix-math-fonts.noarch
should help. [Edit: but doesn't. For some inexplicable reason, the stix fonts are a dependency of openjdk and openjdk is uninstalled when you remove the fonts ???!]
The text was updated successfully, but these errors were encountered:
The "stix" fonts coming with the underlying CENTOS 7.4 release mess up Java font handling.
java.lang.ArrayIndexOutOfBoundsException: 0
at sun.font.CompositeStrike.getStrikeForSlot(CompositeStrike.java:75)
at sun.font.CompositeStrike.getFontMetrics(CompositeStrike.java:93)
at sun.font.Font2D.getFontMetrics(Font2D.java:415)
at java.awt.Font.defaultLineMetrics(Font.java:2176)
at java.awt.Font.getLineMetrics(Font.java:2246)
at net.sf.jasperreports.engine.fill.SimpleTextLineWrapper.determineLeading(SimpleTextLineWrapper.java:390)
at net.sf.jasperreports.engine.fill.SimpleTextLineWrapper.getGeneralFontInfo(SimpleTextLineWrapper.java:342)
...
Something along the lines of:
USER root
RUN yum erase stix-fonts.noarch
RUN yum erase stix-math-fonts.noarch
should help. [Edit: but doesn't. For some inexplicable reason, the stix fonts are a dependency of openjdk and openjdk is uninstalled when you remove the fonts ???!]
The text was updated successfully, but these errors were encountered: