2

when i create a pdf document with pdfclown 0.1.2 (java) and embed the font via

Font.get(pdfDocument, getResourceFile("lang/DejaVuSans.ttf"));

i can view the pdf just fine in multiple browsers (ie 11, ff 42, chrome 46). but when i open the pdf in the new edge browser shipping with win10 the text doesnt show.

when i replace the font with a font family i.e.

new StandardType1Font(pdfDocument, StandardType1Font.FamilyEnum.Courier, false, false);

the edge browser has no problem showing the text.

am i missing something?

wrtlbrmpft
  • 29
  • 2
  • There are not many PDF viewers supporting the whole PDF format, many only support a subset. Edge is no exception. – mkl Nov 19 '15 at 10:47
  • Edge is able to show PDFs with embedded Fonts correctly (i.e. samples from http://dejavu-fonts.org/wiki/PDF_samples). Just the ones created by PDFClown wont show the text. – wrtlbrmpft Nov 20 '15 at 12:53
  • Thus, *Edge is able to show* **some** *PDFs with embedded Fonts correctly* As you neither shared the PDFs in question nor a short self-contained code&resource sample to reproduce the PDF creation, you hardly can expect more than some generic remarks... – mkl Nov 20 '15 at 13:19
  • How can I fix the PDFs that Edge cannot show correctly? – Falco Alexander Feb 13 '16 at 12:28
  • I'm also experiencing the exact same issue. This is pretty crucial since Endge is the default PDF viewer for all Windows 10 PC's. Have you found a solution yet? – Marc Selman Mar 31 '16 at 12:17
  • This simply is a bug in Edge. If you experience this issue, report an error to Microsoft. – mkl Jan 11 '17 at 10:03

0 Answers0