mirror of https://github.com/JakubMelka/PDF4QT.git
Bugfix: Double conversion of text horizontal scaling to percents
This commit is contained in:
parent
6c261241ad
commit
cf0f91fdb0
|
@ -1803,7 +1803,7 @@ void PDFPageContentProcessor::operatorTextSetHorizontalScale(PDFReal horizontalS
|
|||
// We disable horizontal scaling to less than 1%
|
||||
horizontalScaling = qMax(horizontalScaling, 1.0);
|
||||
|
||||
m_graphicState.setTextHorizontalScaling(horizontalScaling / 100.0);
|
||||
m_graphicState.setTextHorizontalScaling(horizontalScaling);
|
||||
updateGraphicState();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue