Issue #109: No text, font. Parts missing

This commit is contained in:
Jakub Melka 2023-11-17 18:49:00 +01:00
parent e9a87553af
commit 4ffd4a0639

View File

@ -394,6 +394,11 @@ PDFLexicalAnalyzer::Token PDFLexicalAnalyzer::fetch()
QByteArray decodedString = QByteArray::fromHex(hexadecimalString);
return Token(TokenType::String, std::move(decodedString));
}
else if (isWhitespace(character))
{
// Do nothing, whitespace character should be ignored
// according to the specification.
}
else
{
// This is unexpected. Invalid character in hexadecimal string.