[Libreoffice-bugs] [Bug 124191] Text copied from a PDF exported using Linux Libertine G Graphite font is missing characters.

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Mar 22 07:03:26 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=124191

--- Comment #27 from Frank Zimmerman <fz1844 at gmail.com> ---
Here are the results of the tests you requested.

I think it was LO 6.0.7.3 that exported the PDF for the Last-Day-Events book.
At least I found that listed in the meta.xml.

1. I removed LO 6.2 and all the fonts related.
2. I installed LO 6.0.7.3. I verified that the graphite fonts were installed.
3. I loaded the ODT, and exported the PDF.
4. I copied out the first paragraph of p. 10 into a text editor. Here is the
result:

The covr pictur was takn in north-wstrn Portugal in th summr of 1990 whn a
trribl drought had th land in its dadly grip.
The grass was tindr dry, th strams had drid up, grass and forst
firrs wr blazing out of control, and th sun unmaskd by clouds,
burnd with dstructiv powr. Fortunatly rlif firnally cam
whn rain vntually arrivd.

Definitely all the "e" characters are missing. There is an extra "r" in the
word "fires" and the word "finally". I tested with Foxit Phantom, Adobe Reader
DC, Chrome, Edge. All yielded pretty much the same result as above.

1. I removed LO 6.0.7.3 and all the fonts related.
2. I installed LO 6.1.5. I verified that the graphite fonts were installed.
3. I loaded the ODT, and exported the PDF.
4. I copied out the first paragraph of p. 10 into a text editor. Here is the
result:

Acrobat: text copies fine
Foxit Phantom: text is missing characters
Chrome: text copies fine
Edge: text is missing characters

I repeated the same test with LO 6.2.2 and saw the same results as 6.1.5.

This explains the anomaly of the one office computer that worked...I obviously
was only testing the copy/paste with Acrobat Reader, whereas on my own laptop,
I was testing with Foxit Phantom. Likewise when I did test with Acrobat, it was
only with the older PDF's made with LO 6.0.7 (which failed, of course).

Next I removed the graphite fonts and installed the latest non-graphite
Libertine fonts. I exported the PDF. Here is the result:

Acrobat: text copies fine
Foxit Phantom: text copies fine
Chrome: text copies fine
Edge: text copies fine

So the PDF's with non-graphite fonts work with all PDF readers, whereas the
PDF's with graphite fonts only work with some PDF readers.

I did one more test. I loaded page 10 of the four PDF's into Inkscape. Here are
the results:

1. In the PDF's made with graphite fonts, all the "e" characters were missing,
and the second letter of each ligature-set. In the non-graphite PDF, only the
second letter of each ligature-set was missing.

2. All the PDF's using graphite fonts came into Inkscape as small sections of
text (a few words in an object), whereas the non-graphite version came in as
whole lines of text (much easier to edit).

3. The non-graphite PDF had the font name changed to "LinLibertine", which
required a search/replace to set back to "Linux Libertine" so the font could
display properly. The graphite PDF's imported with the correct fontname.

So other than the fontname issue, the non-graphite PDF imported into Inkscape
in a much nicer way.

This puts me in a bit of a dilemma. Do I continue with the graphite fonts,
knowing that there will be issues with some PDF readers, and that import into
other programs (like Inkscape) could be problematic? Or do I switch to the
non-graphite fonts, which could be confusing to others who download my ODT
files but  only have the graphite fonts that LO installed?

It would be nice if we could have the same comprehensive support in the
graphite fonts that the non-graphite ones seem to have.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190322/56207d32/attachment.html>


More information about the Libreoffice-bugs mailing list