Skip to content

Commit cbd5e0f

Browse files
committed
Test check font
1 parent cade8bc commit cbd5e0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code-samples-pdfbox2/src/test/java/test/org/fugerit/java/code/samples/pdfbox2/TestSpecialCharacters.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ void testWithExternalFonts() throws IOException {
105105
try (InputStream fontIS = ClassHelper.loadFromClassLoader( fontPath );
106106
OutputStream os = new FileOutputStream( pdfFile ) ) {
107107
log.info( "test '{}' index:{}, char:{}, line:{}", ttf, k, special, line );
108-
sp.generatePDF(os, fontIS, line);
108+
sp.generatePDF(os, fontIS, String.format( "%s (%s)", line, ttf ) );
109109
} catch (Exception e) {
110110
log.error( "error on font : {} - {}", ttf, e.getMessage() );
111111
pdfFile.delete();

0 commit comments

Comments
 (0)