Cantarell VF font rendered with artifacts on exported pdf with Adobe Reader on Windows
Summary:
A PDF produced by Inkscape 1.2 on Linux containing text that uses the Cantarell font renders fine in evince, but when transferring the file to a Windows PC and viewing with Adobe Reader renders with artifacts (looks as if overlapping paths in the glyphs are rendered transparently when they shouldn't).
Steps to reproduce:
- make sure that the Cantarell font is available (on my setup installed as a dependency of GNOME)
- open Inkscape (on Linux)
- create a text object, type the text "Cantarell", set the font to "Cantarell" and the font size to 12 pt (alternatively, open the attached file)
- save the document as a PDF (in the PDF output dialog be sure to select "Embed fonts" as the text output option)
- transfer the file to a machine running Windows (tested on Windows 10)!
- open the file with the Adobe Acrobat Reader DC (tested with version 2021.001.20145)
What happened?
Some characters, such as the 'a' and the 't' are rendered with artifacts: parts of the glyphs, such as the intersection of the vertical and horizontal lines of the 't', appear transparent, although they should be filled.
What should have happened?
The glyphs should be rendered normally (compare to viewing the PDF with evince on Linux).
Sample attachments:
PDF file rendered with the described artifacts on Windows:
Version info
Inkscape 1.2 (dc2aedaf03, 2022-05-15)
GLib version: 2.72.3
GTK version: 3.24.34
glibmm version: 2.66.4
gtkmm version: 3.24.6
libxml2 version: 2.9.14
libxslt version: 1.1.35
Cairo version: 1.17.6
Pango version: 1.50.8
HarfBuzz version: 4.4.1
OS version: Arch Linux
Edited by Nathan Lee