Bug 121500 - Malformed pdf export with opentype font features
Summary: Malformed pdf export with opentype font features
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.6.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-18 20:22 UTC by Bernard
Modified: 2018-11-24 15:24 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
test document and pdf exported then manipulated (706.07 KB, application/zip)
2018-11-18 20:27 UTC, Bernard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard 2018-11-18 20:22:20 UTC
Description:
A document containing oldstyle figures in font Libertinus Serif, for example, produces a pdf file which looks correct. However, if that pdf file is manipulated with a tool like pdfjam (which uses LaTeX pdfpages) the resulting output fails to show the 

Steps to Reproduce:
1. Create document (test.odf) with oldstyle figures in Libertinus Serif
2. Export as test.pdf
3. Process with pdfjam --nup 2x2 test.pdf to get test-pdfjam.pdf

Actual Results:
See file attached test-pdfjam.pdf

Expected Results:
The oldstyle figures should still be present


Reproducible: Always


User Profile Reset: No



Additional Info:
About LibreOffice:
Version: 6.0.6.2
Build ID: 1:6.0.6-0ubuntu0.18.04.1
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: en-GB (en_GB.UTF-8); Calc: group
Comment 1 Bernard 2018-11-18 20:27:21 UTC
Created attachment 146727 [details]
test document and pdf exported then manipulated
Comment 2 V Stuart Foote 2018-11-18 23:35:14 UTC
How is this a LibreOffice issue?

Also, rather than some odd Type1 font, would be more likely to get a meaningful response if you were testing with a LibreOffice bundled font with onum/pnum support--e.g. Carlito, or Source Code Pro or even one of the Graphite fonts like Libertine Display G.
Comment 3 Bernard 2018-11-19 15:49:49 UTC
Yes, sorry - I should have done further tests. The "problem" does not reproduce with the other fonts mentioned, so I guess it must be something to do with the libertinus fonts I was using (available through a LaTeX installation).