Ask Your Question
0

Headless conver-to PDF soft-hyphen replaced with zero-width whitespace [closed]

asked 2014-08-05 16:26:45 +0200

AndreasR gravatar image

updated 2016-03-03 17:24:17 +0200

Alex Kemp gravatar image

i'm working on an webapp creating LibreOffice Documents that i want to convert to PDFs with unoconv and a headless libreoffice.

There is just one problem i can't solve: The soft-hyphens i include in the .odt are replaced with zero-width whitespaces in the resulting PDF. The Problem is not related to unoconv - i tried it directly with a headless libreoffice (same result). i tried v 4.1.4.2 as well as 4.2.5.2 and 4.3.0.4‏

i tried another font (Ubuntu) (i use Arial as the body font) as i expected that the missing Arial font on Linux causing the problem (i have the problem on the production server with debian 7 as well on a virtualbox with ubuntu 12.04).

i even installed the arial font in hope it caused the problem due to libreoffice inability to calculate where to set the "real" hyphens without the font file at hand.

strange thing: using LO 4.1.4.2 on my mac (headless of course) produces flawless PDFs. So the problem must be related to either linux or some missing "graphical" package in my server setup. i installed the hyphen-de package which results in hyphens based on the dictionary, but the specified soft-hyphens are still replaced with zero-width whitespaces.

the problem affects both body text as well as text boxes that are used for annotations.

i'd appreciate any hint very very much!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2016-03-03 17:24:34.905809

1 Answer

Sort by » oldest newest most voted
0

answered 2014-09-08 20:18:53 +0200

Dennis Roczek gravatar image

updated 2014-09-09 05:12:19 +0200

oweng gravatar image

Well I only found one - maybe - relevant bug report: fdo#44410. Maybe your problem is having the same underlying problem?

Can you upload (or send me your test odt by mail) so that I can test if I get same behaviors on my different OSes? (Win8.1, Mac OS 10.7 and Linux Mint)

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-08-05 16:26:45 +0200

Seen: 401 times

Last updated: Sep 09 '14