Bug report #5085

Font size is not correctly exported to SVG/PDF

Added by Anita Graser over 12 years ago. Updated almost 9 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Map Composer/Printing
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:14851

Description

This is easily reproducible by adding a label to print composer layout in a given font, e.g. Arial 10. After exporting to SVG and opening in Inkscape, the font is specified as Arial 12,398 there.

Export to image seems to preserve the correct font size.

History

#1 Updated by Giovanni Manghi over 12 years ago

  • Target version changed from 35 to Version 1.8.0

#2 Updated by Paolo Cavallini about 12 years ago

  • Target version changed from Version 1.8.0 to Version 2.0.0

#3 Updated by Jürgen Fischer over 10 years ago

  • Category changed from 33 to Map Composer/Printing

#4 Updated by Jürgen Fischer over 10 years ago

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

#5 Updated by Médéric RIBREUX almost 9 years ago

  • Status changed from Open to Feedback

Hello, bug triage...

on QGIS 2.13 master, the SVG conversion of a label in DejaVu Sans 10 gives a DejaVu Sans 9,9188 in Inkscape which seems correct, isn't it ?

#6 Updated by Anita Graser almost 9 years ago

  • Resolution set to fixed/implemented
  • Status changed from Feedback to Closed

Yes, the font size seems correct now. Thanks for checking!

Also available in: Atom PDF