PdfSharpCore icon indicating copy to clipboard operation
PdfSharpCore copied to clipboard

How to embed fonts?

Open wolfgangschneider opened this issue 2 years ago • 1 comments

The generated pdf look different between Linux and Windows. I saw PdfDocumentRenderer(false, PdfFontEmbedding.Always); in the documentation, but my PdfDocumentRenderer constructor does not have an overloaded version with PdfFontEmbedding parameter.

Thanks Wolfgang

wolfgangschneider avatar Mar 18 '23 20:03 wolfgangschneider

You can't. There is no GetFontData and no CreateFontPackage function on non-windows platforms. Until there is an alternative, you can't.

ststeiger avatar Apr 18 '23 10:04 ststeiger