Skip to content

Commit 5c27897

Browse files
authored
wasnt marking as initialized (#17)
* wasnt marking as initialized * correct the correction
1 parent 13a49ba commit 5c27897

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

TextExtraction/lib/font-translation/FontDecoder.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,10 @@ void FontDecoder::SetupDifferencesEncodingMap(PDFParser* inParser, PDFDictionary
160160
// determine base encoding. either found in font, or decide a good default
161161
if(!!baseEncoding) {
162162
const ByteToStringMap* standardMap = GetStandardEncodingMap(baseEncoding->GetValue());
163-
if(!!standardMap)
163+
if(!!standardMap) {
164164
fromSimpleEncodingMap = *standardMap;
165+
initialized = true;
166+
}
165167

166168
}
167169

0 commit comments

Comments
 (0)