Open PDF Why font substitution when fonts are installed?

I have an accounting app that I use to generate invoices I eMail to clients. Occasionally, I have a need to edit the text of the PDFs without regenerating an invoice. I’ve been using PDF Element Pro but decided to give LibreOffice a try using the Draw module. The PDF open right up but any elements that were crafted using Arial or Arial Black get changed to Liberation Sans and Liberation Serif (and this substitution isn’t consistent; sometimes they swap Sans for Serif and vice versa). I’ve created a font substitution table telling LO to use Arial and Arial Black in place of Liberation Sans and Serif (two entries in the table) “always” (which apparently means both on screen and when printed). But this substitution table worked once and then fails consistently.

Arial and Arial Bold are installed in my system (Windows 10) so there shouldn’t be any sort of substitution. I’ve tried changing the fonts used by the accounting app but, regardless of what I choose, it appears that LO uses the two Liberation fonts.

Do I need to install an extra copy of the Arial font family in some special location that LO will notice when it launches?

Thanks,
Barry

That looks like a bug … which you are advised to file (with a sample PDF), if it appears in current versions (you didn’t mention LO version you use).

O-ho! The plot thickens. When I opened an older PDF I had created on my Mac (using the Mac version of the accounting app and with the Mac app Preview as the PDF-creation engine), the fonts appeared exactly as expected, yet they are identified as “Liberation…”. (Correction: Once, the font name “Liberation…” appeared and, within a few seconds, spontaneously changed to “Arial” (not Arial Black) but the name was italic. Clicking away then back showed the “Liberation…” name again.

I opened both the older PDF & one of the new ones (created in Windows) in Wordpad and found that the word “Arial” appears in the older (Mac-gen’d) PDF but is missing in the newer (Windows-gen’d) PDF. In addition, the Windows PDF (using Wondershare PDF Element Pro’s driver) shows “pdf1.4” while the Microsoft PDF (and the older PDFs created on my Mac) show “pdf1.7”. I did try embedding the TT font in the “Advanced” settings of the PDF Element driver but that made no difference. Can’t embed with MS’ driver

This is a continuation of my last comment…

Mike, it does appear this is a bug in LO (I’m running 6.3.6.2 in the Draw module). I’m not dead in the water as the newer PDFs (generated in Windows by MS’ or Wondershare’s driver) open properly in in PDF Element Pro (and may be edited just fine). As well, I can drop any of the PDFs (older Mac or newer Windows) into a Chrome browser window and the PDF appears exactly as expected (although not editable, of course).

I’ll try to get a bug report generated and include some of my PDFs and screenshots.

My solution: Abandon LO for opening/editing PDFs as the bizarre font substitution it uses (always that stupid Liberation nonsense) makes the opened PDF look awful. As well, the PDF’s text is “paragraph per line” rather than the original “paragraph is a paragraph”. Yes; the original PDF may be opened in PDF Element and it does maintain its proper formatting (even though the doc was presumably created in Word and subsequently “printed to PDF” or, just as likely, crafted in Acrobat.

LO can do many things but using PDFs as input files is not one of them. BTW: My original post was from 2020 and the issues persist.

Have you reported a bug as suggested over three years ago? If a bug isn’t reported it isn’t likely to be fixed.

As far as my notes on this topic are concerned, I believe I did. However, I never received any response nor, apparently, have the others who have been complaining about LO slavishly refusing to implement font substitution correctly; just look for the posts about Liberation font and “defaults” and the posts about PDFs.

My experience with LO over the years has been that foreign formats—anything other than what LO saves natively—opened in LO do not appear as one would expect; see my comments in my earlier post about font names changing sointaneously (my first post of Aug’20).

Bugzilla didn’t like my password and hasn’t yet sent me the “token” to reset it. Frankly, I’ll use LO for what it has managed to do fairly well and stop trying to make a silk purse out of a sow’s ear.

If your notes on the topic include the bug report information, perhaps you could post it here in the format tdf#121212 so that others with the same problem might be able to refer to, and add to as necessary, the bug report.