mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Bugfix: Double conversion of text horizontal scaling to percents
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user