Bug 54164 - Type1 fonts in exported PDFs do not display correctly
Summary: Type1 fonts in exported PDFs do not display correctly
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-28 17:56 UTC by Mirosław Zalewski
Modified: 2013-03-30 02:51 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Document rendered using type1 font, shows overlapped characters (125.39 KB, application/pdf)
2012-08-28 17:56 UTC, Mirosław Zalewski
Details
The same document rendered using OpenType font, displays correctly (8.10 KB, application/pdf)
2012-08-28 17:57 UTC, Mirosław Zalewski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mirosław Zalewski 2012-08-28 17:56:35 UTC
Created attachment 66237 [details]
Document rendered using type1 font, shows overlapped characters

In documents exported to PDF, Type1 fonts do not display correctly. Characters next to characters with diacritics (accents) overlaps previous ones. Please see attached files for examples. type1-font.pdf was rendered using Type1 font, opentype-font.pdf was rendered using the same font in OpenType format.

They display fine in LibreOffice - only exported PDFs are broken.

This issue was discussed on Debian mailing list [0]. One user there guesses that characters with accents are build from ASCII character and accent character. In order to do so, LO must:
1. place ASCII char (let's call it W)
2. go W-width back
3. place accent char
4. go W-width forth
LO seems to miss fourth step here. Of course this is only guess and may be wrong.

This issue may or may not be related to #34212.

[0] http://lists.alioth.debian.org/pipermail/pkg-fonts-devel/2012-August/010978.html

Best regards
Mirosław Zalewski
Comment 1 Mirosław Zalewski 2012-08-28 17:57:44 UTC
Created attachment 66238 [details]
The same document rendered using OpenType font, displays correctly
Comment 2 retired 2013-03-30 02:51:42 UTC
Tried to re-produce this problem. But I can't.

Copied the text from both example PDFs into a new writer document. Then exported to PDF using LO own PDF export. The PDF shows everything fine.

Miroslaw: If this problem still is reproducible for you on LO 4, please feel free to re-open this bug. It might be helpful if you attach an example file to test this.