aboutsummaryrefslogtreecommitdiffstats
path: root/poi
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2024-09-12 21:32:17 +0000
committerPJ Fanning <fanningpj@apache.org>2024-09-12 21:32:17 +0000
commit5b404ebc6b9703d693dbac98c0939d61856a2dc0 (patch)
tree7cbe5455ed5870cdfef1d868b522b47d07206459 /poi
parent5fd1f28b4b886cc7c3024a22c1ecd516ece584e5 (diff)
downloadpoi-5b404ebc6b9703d693dbac98c0939d61856a2dc0.tar.gz
poi-5b404ebc6b9703d693dbac98c0939d61856a2dc0.zip
[bug-69209] default ignoreMissingFontSystem to true
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1920601 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi')
-rw-r--r--poi/src/test/java/org/apache/poi/ss/util/TestSheetUtil.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/poi/src/test/java/org/apache/poi/ss/util/TestSheetUtil.java b/poi/src/test/java/org/apache/poi/ss/util/TestSheetUtil.java
index ebc34f53bb..00076995d9 100644
--- a/poi/src/test/java/org/apache/poi/ss/util/TestSheetUtil.java
+++ b/poi/src/test/java/org/apache/poi/ss/util/TestSheetUtil.java
@@ -284,6 +284,11 @@ final class TestSheetUtil {
}
@Test
+ void testDefaultIgnoreMissingFontSystem() {
+ assertTrue(SheetUtil.isIgnoreMissingFontSystem());
+ }
+
+ @Test
void testGetCharWidthWithIgnoreEnabled() throws IOException {
boolean previous = SheetUtil.isIgnoreMissingFontSystem();
SheetUtil.setIgnoreMissingFontSystem(true);