We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b36929b commit f1669e2Copy full SHA for f1669e2
1 file changed
pdfocr-api/src/main/java/com/itextpdf/pdfocr/OcrPdfCreator.java
@@ -924,7 +924,7 @@ public PdfCanvas showText(GlyphLine text) {
924
// unicode of the not found glyph
925
String message = PdfOcrLogMessageConstant
926
.COULD_NOT_FIND_CORRESPONDING_GLYPH_TO_UNICODE_CHARACTER;
927
- for (int i = glyphLine.start; i < glyphLine.end; i++) {
+ for (int i = glyphLine.getStart(); i < glyphLine.getEnd(); i++) {
928
if (isNotDefGlyph(currentFont, glyphLine.get(i))) {
929
notDefGlyphsExists = true;
930
message = MessageFormatUtil.format(PdfOcrLogMessageConstant
0 commit comments