Description: When open pdf document it not show italic style Steps to Reproduce: 0. Create pdf document with exotic font on other pc 1. Open pdf document in pc where font not installed 2. Compare with pdf readers Actual Results: Italic style not show Expected Results: Italic style must show Reproducible: Always User Profile Reset: No Additional Info:
Created attachment 151364 [details] Sample
Created attachment 151379 [details] sample text string viewed in Adobe Reader, a italic hand printed script
Created attachment 151380 [details] sample PDF inserted into Draw 6.3.0, embedded glyphs are rendered to document canvas
Created attachment 151381 [details] sample PDF filter imported into Draw 6.3.0, fallback font used
Please note in attachment 151381 [details] that the font "JustAnotherHandular" is detected as not installed to system (indicated by the font's name entry on the Properties tab showing in italics)--and so a fallback font gets assigned. On this particular system Windows 10 system "VinerHandITC" present on system was used as fallback. Not clear the mechanics of the auto-selection fallback, some sense of FontType and metrics is determined. And, looks like the vinerhand is the last Substitute font for FontType Handwriting [1]. But, rather than a chance selection, user can assign the replacement font(s) for all glyphs held in the PDF, even the rare fully embedded font--that LibreOffice will ignore. Done from the Tools -> Options -> Fonts "Replacement Table", where the font reported as used but missing can be entered and a replacement to users liking selected. So, while annoying. LibreOffice filter import "open" of PDF behaves correctly. When Font is not available to render text--it picks another. User can control what font the resulting Draw Text objects will display. User can also change the font for the Draw text object--supporting editing of the document based on the PDF. Work on bug 61134 and bug 78186 will eventually make this more efficient. But at present this works as designed and is NOT A BUG =-ref-= [1] https://opengrok.libreoffice.org/xref/core/officecfg/registry/data/org/openoffice/VCL.xcu?r=916cfdd0#878