Bug 106203

Summary: New PDF graphics import feature does not recognize embedded fonts.
Product: LibreOffice Reporter: Klaus Blum <benbignoise>
Component: filters and storageAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: benbignoise, vsfoote, xiscofauli
Priority: medium Keywords: filter:pdf
Version: Inherited From OOo   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 99746    
Attachments: Sample PDF file for testing

Description Klaus Blum 2017-02-26 22:48:29 UTC
Description:
When importing graphics in PDF format, embedded fonts are not recognized. The corresponding characters do not show up at all. 
PDF viewers like Acrobat Reader don't suffer the same problem.
Sample PDF file attached.

Steps to Reproduce:
In any LibO document type, import a PDF graphic file that contains embedded fonts. 

Actual Results:  
see above... characters from embedded fonts are invisible.

Expected Results:
It would be great if imported PDF graphics could display and print characters from embedded fonts.


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0
Comment 1 Klaus Blum 2017-02-26 22:55:55 UTC
Created attachment 131490 [details]
Sample PDF file for testing

In this sample PDF file, all musical symbols use an embedded font. 
If you open it with PDF viewers like Adobe Reader etc., everything is all right. 
If you import it as graphic into a LibO Document, those characters don't show up.
Comment 2 RGB 2017-02-27 08:21:30 UTC
See Bug 101220
Comment 3 Xisco FaulĂ­ 2017-02-27 09:09:59 UTC
Confirmed in

- Version: 5.4.0.0.alpha0+
Build ID: eb7b03b052ffe8c2c577b2349987653db6c53f76
CPU threads: 1; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2017-02-26_22:34:18
Locale: en-GB (es_ES); Calc: group

- Version: 4.1.0.0.alpha0+
Build ID: 2f205ee79ea929c6fce5686512bd468ab78a877

- LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 4 V Stuart Foote 2017-03-01 23:47:42 UTC

*** This bug has been marked as a duplicate of bug 101220 ***
Comment 5 V Stuart Foote 2017-03-02 00:06:11 UTC
There is another facet to this particular bug in that the source PDF looks to contain PS Type 1 fonts output from the LilyPond music scoring program.

Suspect that even if extracted these fonts would not render, and would receive fallback. Not clear if the encoding is PUA or Unicode so results may be odd.