Bug report #4639

Line spacing wrong when Export to PDF and data defined font properties

Added by BootheelMaps . over 12 years ago. Updated about 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Labelling
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:end of life
Crashes QGIS or corrupts data:No Copied to github as #:14540

Description

I am using the new labeling system and multi-line labels. I am also using data defined font properties such as Size and Font Family. Rendering to screen, this appears to work well. However, when exporting to PDF, the line spacing is wrong. The line spacing seems to be based on the Text Style (font and size) on the Label Settings tab of the Labeling Dialog, rather than using the data defined font properties.

Changing the Text Style in the Labeling Dialog also results in minor changes in text positioning for single-line labels, but these changes are usually small, and thus they are not too troublesome. However, I mention it here as it may provide an additional clue to help debug the problem, as I believe that it is related to the line spacing problem.

I am using QGIS 1.7.2 on Microsoft Windows 7.

History

#1 Updated by Giovanni Manghi over 12 years ago

  • Category set to 33

#2 Updated by Giovanni Manghi over 12 years ago

  • Target version set to Version 1.7.4

#3 Updated by Paolo Cavallini about 12 years ago

  • Target version changed from Version 1.7.4 to Version 1.8.0
  • Affected QGIS version set to master
  • Crashes QGIS or corrupts data set to No

#4 Updated by Paolo Cavallini over 11 years ago

  • Target version changed from Version 1.8.0 to Version 2.0.0

#5 Updated by Jürgen Fischer about 10 years ago

  • Category changed from 33 to Map Composer/Printing

#6 Updated by Nyall Dawson almost 10 years ago

  • Category changed from Map Composer/Printing to Labelling

#7 Updated by Jürgen Fischer almost 10 years ago

  • Target version changed from Version 2.0.0 to Future Release - Lower Priority

#8 Updated by Giovanni Manghi almost 7 years ago

  • Regression? set to No
  • Easy fix? set to No

#9 Updated by Giovanni Manghi about 5 years ago

  • Resolution set to end of life
  • Status changed from Open to Closed

Also available in: Atom PDF