mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-04-20 05:07:23 +02:00
Issue #72: Cannot select text
This commit is contained in:
parent
7eb2f2a465
commit
ae6c6eb76b
@ -2101,6 +2101,8 @@ PDFFontCMap PDFFontCMap::createFromData(const QByteArray& data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (command == "beginbfrange")
|
else if (command == "beginbfrange")
|
||||||
|
{
|
||||||
|
while (true)
|
||||||
{
|
{
|
||||||
PDFLexicalAnalyzer::Token token1 = parser.fetch();
|
PDFLexicalAnalyzer::Token token1 = parser.fetch();
|
||||||
|
|
||||||
@ -2119,6 +2121,7 @@ PDFFontCMap PDFFontCMap::createFromData(const QByteArray& data)
|
|||||||
|
|
||||||
entries.emplace_back(from.first, to.first, qMax(from.second, to.second), cid);
|
entries.emplace_back(from.first, to.first, qMax(from.second, to.second), cid);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else if (command == "begincidrange")
|
else if (command == "begincidrange")
|
||||||
{
|
{
|
||||||
while (true)
|
while (true)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user