We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13a49ba commit 5c27897Copy full SHA for 5c27897
TextExtraction/lib/font-translation/FontDecoder.cpp
@@ -160,8 +160,10 @@ void FontDecoder::SetupDifferencesEncodingMap(PDFParser* inParser, PDFDictionary
160
// determine base encoding. either found in font, or decide a good default
161
if(!!baseEncoding) {
162
const ByteToStringMap* standardMap = GetStandardEncodingMap(baseEncoding->GetValue());
163
- if(!!standardMap)
+ if(!!standardMap) {
164
fromSimpleEncodingMap = *standardMap;
165
+ initialized = true;
166
+ }
167
168
}
169
0 commit comments