Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Mar 27, 2023
1 parent 107e206 commit 9b860f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/textrenderer/qgstextrenderer.cpp
Expand Up @@ -213,7 +213,7 @@ void QgsTextRenderer::drawDocumentOnLine( const QPolygonF &line, const QgsTextFo
for ( int i = 0; i < graphemes.count(); i++ )
{
// reconstruct how Qt creates word spacing, then adjust per individual stored character
// this will allow PAL to create each candidate width = character width + correct spacing
// this will allow the text renderer to create each candidate width = character width + correct spacing

double graphemeFirstCharHorizontalAdvanceWithLetterSpacing = 0;
double graphemeFirstCharHorizontalAdvance = 0;
Expand Down

0 comments on commit 9b860f6

Please sign in to comment.