mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-03-01 01:47:46 +01:00
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%
|
// We disable horizontal scaling to less than 1%
|
||||||
horizontalScaling = qMax(horizontalScaling, 1.0);
|
horizontalScaling = qMax(horizontalScaling, 1.0);
|
||||||
|
|
||||||
m_graphicState.setTextHorizontalScaling(horizontalScaling / 100.0);
|
m_graphicState.setTextHorizontalScaling(horizontalScaling);
|
||||||
updateGraphicState();
|
updateGraphicState();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user