We will be migrating from Ask to Discourse on the first week of August, read the details here

Ask Your Question

when exporting a writer document to PDF, bold type is reverted to normal

asked 2019-06-14 04:30:22 +0200

jimberry gravatar image

When I export my .odt to PDF, bold type is converted to normal. Can I correct this?

edit retag flag offensive close merge delete


Please provide a sample ODT, and some relevant information: LibreOffice and OS details (including versions); which application you use to view PDF?

Mike Kaganski gravatar imageMike Kaganski ( 2019-06-14 04:41:00 +0200 )edit

I have uploaded an ODF file and a PDF file to jimberry.org/example_test.html.

I am using Ubuntu 17.04 and LO

PDFs are opened with Document viewer

jimberry gravatar imagejimberry ( 2019-06-14 05:56:51 +0200 )edit

https://jimberry.org/NoBoldinPDF.odt (as well as PDF) gives 404 error...

Mike Kaganski gravatar imageMike Kaganski ( 2019-06-14 06:00:25 +0200 )edit

sorry! you were too quick ;-) try again

jimberry gravatar imagejimberry ( 2019-06-14 06:12:50 +0200 )edit

Ah, so some specific font is needed for the test? How can I get it?

Mike Kaganski gravatar imageMike Kaganski ( 2019-06-14 06:21:43 +0200 )edit

Ahh! sorry, i will replace with a standard font and repost

jimberry gravatar imagejimberry ( 2019-06-14 06:36:00 +0200 )edit

I have changed to Symbola font and re-uploaded. The same issue with this font. New Times Roman might be a more universal font, but I don't have it at the moment - I will download it and try again.

jimberry gravatar imagejimberry ( 2019-06-14 06:53:50 +0200 )edit

Please use e.g. Liberation Serif, or something. At least I have it. And testing with it on my LO, it seems to work.

https://imgur.com/qmSnYeB - here I used Liberation Serif, and set two first words to non-bold, to show the difference

Mike Kaganski gravatar imageMike Kaganski ( 2019-06-14 07:08:02 +0200 )edit

My LO Writer doesn't seem to allow newly added fonts, but the replaced examples I have now uploaded to
https://jimberry.org/NoBoldinPDF.odt and https://jimberry.org/NoBoldinPDF.pdf show that the exported PDF shows most fonts without bold, only DejaVu Serif has accepted the bold as in LO Writer.

I just saw your response. I have now tried Liberation Serif and that seems to work as well, but a script face is what is required. I wonder why PDF can't do what Writer can do. I can understand why a Writer document may not give the same results on diferent computers, but PDFs built on the same machine as the Writer source document should be able to do the same bolding as Writer when on the same machine, surely?

jimberry gravatar imagejimberry ( 2019-06-14 07:34:22 +0200 )edit

Given that you use font effects (outline, shadow), I'm not sure that the characters are drawn by PDF. Possibly LibreOffice outputs a vector picture (with text layer to allow copying)... in which case, it would be wholly LibreOffice bug. But I can't test ATM - and I advise you to test using a later LO version first, and if needed, file a bug report.

Mike Kaganski gravatar imageMike Kaganski ( 2019-06-14 08:14:36 +0200 )edit

2 Answers

Sort by » oldest newest most voted

answered 2019-06-20 22:05:19 +0200

LibreTraining gravatar image

It appears you are using faked bold on some of the fonts.
I only checked the Abyssinica SIL, Bludhaven, and Symbola fonts - but there is no Bold weight for these fonts.
They only have a Regular weight available.
Most likely you used the Bold button in LibreOffice which creates a faked bold by enlarging the characters.
Unfortunately LO does not indicate that this is happening like more advanced applications do.
(This is not likely to be fixed due to the LO "usability guru" being clueless, and a condescending arrogant jerk.)

When the text is exported to the PDF the regular font is embedded (since there is no actual Bold font).
DejaVu Serif and Liberation Serif work because there are actual Bold fonts available which get embedded in the PDF.

edit flag offensive delete link more


Could you please mention the bug report with inappropriate response from "usability guru"?

Despite personally I find decisions of our UX team rather controversial quite often, I understand that no one else but them is doing that work; and since I don't have energy to join their team, I need to take what doers decide. Your answer deserves an upvote; still, your habit of accusing everyone who is in disagreement with your majesty's ideas, and your frequent usage of dirty language about others, don't let me do that.

Mike Kaganski gravatar imageMike Kaganski ( 2019-06-20 23:10:52 +0200 )edit

1+ for lol.

EasyTrieve gravatar imageEasyTrieve ( 2019-06-20 23:21:55 +0200 )edit

@LibreTraining - Thanks! Although not the answer I was looking for, you have explained why it can't be done aside from finding a suitable script font that includes a true Bold font. I will try Scribus to see if it has a better workround.

jimberry gravatar imagejimberry ( 2019-06-21 11:30:58 +0200 )edit

answered 2019-06-21 13:58:05 +0200

jimberry gravatar image

updated 2019-06-21 13:59:46 +0200

I have now found some bold Script fonts which are acceptable when exported to PDF See some examples here

Thanks everyone for your assistance!!!

edit flag offensive delete link more
Login/Signup to Answer

Question Tools



Asked: 2019-06-14 04:30:22 +0200

Seen: 2,272 times

Last updated: Jun 21 '19