mirror of https://github.com/JakubMelka/PDF4QT.git
Issue #109: No text, font. Parts missing
This commit is contained in:
parent
e9a87553af
commit
4ffd4a0639
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue