PdfSharpCore
PdfSharpCore copied to clipboard
Port of the PdfSharp library to .NET Core - largely removed GDI+ (only missing GetFontData - which can be replaced with freetype2)
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...
I don't understand when the documentation specifies the font sizes are specified in "emSize". According to [w3.org](https://www.w3.org/Style/Examples/007/units.en.html), em size represents the font size. And according to [Wikipedia](https://en.wikipedia.org/wiki/Em_(typography)), it originally meant...
I would like to print on Server side but the code that I have will not work properly and don't find any solution on the internet. The problem is I...
I am getting the following exception when trying to open the attached PDF with PdfReader.Open. I am using version 1.3.47. {System.IndexOutOfRangeException: Index was outside the bounds of the array. at...
Would be nice if text highlight annotation can be implemented in pdfsharp. I can't get the code in the accepted answer found on Stackoverflow to work: https://stackoverflow.com/questions/43413097/how-to-create-annotation-using-pdfsharp-to-highlight-text-of-existing-pdf. Not sure what...
Hi, What is the default font that MigraDoc is using? I am having trouble displaying Japanese characters. On my mac (macOS 13.2.1) without setting up any custom font Japanese characters...
Hello, Setting the document title, subject and author is not translating right. ``` PdfDocument document = new PdfDocument(); string data = "English, Ελληνικά, 漢語"; document.Info.Title = data; document.Info.Subject = data;...
Hello everyone. I have an issue to when compling release build with installed latest version of PdfSharpCore. App just crashes on launch without any exceptions. All i have is this...
[1217405.pdf](https://github.com/ststeiger/PdfSharpCore/files/10716904/1217405.pdf) Exception: System.InvalidCastException: 'Unable to cast object of type 'PdfSharpCore.Pdf.PdfNull' to type 'PdfSharpCore.Pdf.Advanced.PdfReference'.' This program would reproduce it var file = "1217405.pdf"; var document = PdfReader.Open(file, PdfDocumentOpenMode.Import); if (document.Outlines !=...
If you have a form, with a form field, and use Pdf Sharp Core to fill inn the form field, it will not show when you open the PDF in...