Skip to content

Commit 2b09b36

Browse files
committed
PDFBOX-4951: improve test coverage
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1935900 13f79535-47bb-0310-9956-ffa450edef68
1 parent a4ac136 commit 2b09b36

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎pdfbox-layout-awt/src/main/java/org/apache/pdfbox/glyphlayout/GlyphLayoutProcessorAwt.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public boolean supportsFont(PDFont font)
106106
*/
107107
public PDType0Font loadFont(PDDocument pdDocument, InputStream inputStream) throws IOException, FontFormatException
108108
{
109-
return glyphLayoutFontLoaderAwt.loadFont(pdDocument, inputStream, true);
109+
return glyphLayoutFontLoaderAwt.loadFont(pdDocument, inputStream);
110110
}
111111

112112
/**
@@ -142,7 +142,7 @@ public PDType0Font loadFont(PDDocument pdDocument, InputStream inputStream, bool
142142
public PDType0Font loadFont(PDDocument pdDocument, InputStream inputStream,
143143
GlyphLayoutFontLoaderAwt.FontOptions fontOptions) throws IOException, FontFormatException
144144
{
145-
return glyphLayoutFontLoaderAwt.loadFont(pdDocument, inputStream, true, fontOptions);
145+
return glyphLayoutFontLoaderAwt.loadFont(pdDocument, inputStream, fontOptions);
146146
}
147147

148148
/**

0 commit comments

Comments
 (0)