CairoSVG icon indicating copy to clipboard operation
CairoSVG copied to clipboard

Use logical width instead of ink width for text-anchor

Open ADobrianskiy opened this issue 9 years ago • 0 comments

Wrong text position in generated .PNG file using cairoSVG

Steps to reproduce:

  1. Extract svgFile.svg from attached report.zip archive
  2. Install this font https://www.fontsquirrel.com/fonts/aguafina-script (this is a "Google Fonts" font https://fonts.google.com/specimen/Aguafina+Script)
  3. Export .png file from svgFile.svg using cairoSVG
  4. Compare svgFile.svg with generated .png file screen

report.zip

ADobrianskiy avatar Mar 15 '17 16:03 ADobrianskiy