Skip to content

Commit e339b6a

Browse files
author
Open Lowcode SAS
committed
Close #56
1 parent d14e886 commit e339b6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/org/openlowcode/tools/pdf/PDFPage.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,9 @@ static PDFont getFont(int texttype) {
204204
if (texttype == TEXTTYPE_PLAIN)
205205
return datafont;
206206
if (texttype == TEXTTYPE_PLAIN_BOLD)
207-
return datafontitalic;
208-
if (texttype == TEXTTYPE_PLAIN_ITALIC)
209207
return datafontbold;
208+
if (texttype == TEXTTYPE_PLAIN_ITALIC)
209+
return datafontitalic;
210210
if (texttype == TEXTTYPE_PLAIN_BOLD_ITALIC)
211211
return datafontitalicbold;
212212

0 commit comments

Comments
 (0)