mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Bugfix: inexact font loading using font name, warning about font substitution
This commit is contained in:
@ -2917,11 +2917,11 @@ void PDFPageContentProcessor::drawText(const TextSequence& textSequence)
|
||||
}
|
||||
}
|
||||
|
||||
PDFRealizedFontPointer PDFPageContentProcessor::getRealizedFontImpl() const
|
||||
PDFRealizedFontPointer PDFPageContentProcessor::getRealizedFontImpl()
|
||||
{
|
||||
if (m_graphicState.getTextFont())
|
||||
{
|
||||
return m_fontCache->getRealizedFont(m_graphicState.getTextFont(), m_graphicState.getTextFontSize());
|
||||
return m_fontCache->getRealizedFont(m_graphicState.getTextFont(), m_graphicState.getTextFontSize(), this);
|
||||
}
|
||||
|
||||
return PDFRealizedFontPointer();
|
||||
|
Reference in New Issue
Block a user