[Pkg-fonts-devel] Fonts from package misbehave in exported PDF
Mirosław Zalewski
miniopl at poczta.onet.pl
Mon Aug 27 23:44:47 UTC 2012
Hi
I want to use Tex-Gyre font in LibreOffice. Everything is working good until
I export file to PDF. It totally messes characters with diacritics, making files
unreadable.
BUT it happens only if I use Debian package (tex-gyre). If I download fonts
from upstream website and put them in ~/.fonts/ OR take font files from Debian
packages and put them into /usr/share/fonts/opentype/, then exported PDF is
rendering just fine.
I have prepared tar.bz2 archive that contains both PDFs [0]. File named
"debian-package.pdf" was rendered using Debian package. File named "userdir"
was rendered when font files were in ~/.fonts/ directory.
[0] http://minio.komunikatory.pl/pliki/gyre-fonts-problem.tar.bz2 (132 KiB)
I see two differences in mentioned PDFs:
1. In debian-package, font is "Fully embedded", while in userdir it is
"Embedded (subset)".
2. Using Okular, I can extract fonts from PDF. If I "file" them, it will show:
- "PostScript Type 1 font text (TeXGyreSchola-Regular 2.005)" for font from
debian-package
- "PostScript Type 1 font program data" for font from userdir
Also, I checked PDFs on various PDF readers, using at least three different
rendering engines. All displayed the same, so this is not bug in PDF reading
software.
Can anyone help me debugging this issue? I would like to send bug report, but
I don't know who I should bother with it: Debian maintainers or LibreOffice
guys?
As for my user-case, I prefer to use packaged software, but this issue is
total blocker for me. Can I somehow tune Debian to produce readable PDFs with
font from package? How?
Thanks in advance.
--
Best regards
Mirosław Zalewski
More information about the Pkg-fonts-devel
mailing list