mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Editor plugin: Style of text and paths
This commit is contained in:
@@ -1985,7 +1985,8 @@ PDFEncodedText PDFSimpleFont::encodeText(const QString& text) const
|
||||
bool isFound = false;
|
||||
for (size_t i = 0; i < encodingTable->size(); ++i)
|
||||
{
|
||||
if (unicode == (*encodingTable)[static_cast<unsigned char>(i)])
|
||||
if (unicode == (*encodingTable)[static_cast<unsigned char>(i)] &&
|
||||
m_glyphIndices[i] != GID())
|
||||
{
|
||||
isFound = true;
|
||||
converted = static_cast<unsigned char>(i);
|
||||
|
@@ -98,7 +98,7 @@ struct PDFOverprintMode
|
||||
|
||||
/// Represents graphic state of the PDF (holding current graphic state parameters).
|
||||
/// Please see PDF Reference 1.7, Chapter 4.3 "Graphic State"
|
||||
class PDFPageContentProcessorState
|
||||
class PDF4QTLIBCORESHARED_EXPORT PDFPageContentProcessorState
|
||||
{
|
||||
public:
|
||||
explicit PDFPageContentProcessorState();
|
||||
|
Reference in New Issue
Block a user