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)
using (PdfDocument document = PdfReader.Open(stream, PdfDocumentOpenMode.Modify)) { PdfPage page = document.Pages[0]; XGraphics gfx = XGraphics.FromPdfPage(page); } document.Pages[0]; Contents = '“page.Contents”引发了类型“System.ArgumentException”的异常
Hi, I am facing an issue with placing two TextFrame in footer vertically. I have been stuck with this is for quite some times. Here is my code. ```C# section.PageSetup...
I'm trying to set borders on the inner edges of a table but the border renders incorrectly on the last edge of the last header cell. There's a [repro here](https://github.com/gregbrant2/MigraDocCore-Table-Header-Border-Bug)...
Your work porting PdfSharp to .NET Core has saved me who knows how much time and effort, or money buying a commercial product. Do you have a donation/sponsorship link, or...
Hi! I apologize if I missed something obvious, but I have a question: is it possible (or should be possible) to render MigraDocCore.DocumentObjectModel.Document to bitmap? I tried something like that:...
My file has the number -3.1428571429. In CLexer ScanNumber(), period equals true and decimalDigits equals 10. The PowersOf10 array contains 10 items (zero based index so max is 9), so...
If we look at how font styles are resolved: https://github.com/ststeiger/PdfSharpCore/blob/543ab752370b3281f040c32f27489f9ab98f280b/PdfSharpCore/Utils/FontResolver.cs#L171-L195 then there's a problem here: "segoeuib" (Segoe UI Bold) actually ends with "ib" (and there's obviously bunch of similar problems)....
Hi Ststeiger, The latest 1.1.29 version failed on this line: "XImage img = XImage.FromFile(path)" Exception is about the missing SixLabors.Core reference Revert to 1.1.26 works fine.
Hello: I need some advice for your another repo: https://github.com/ststeiger/ChromeDevTools Basically, I want to use the latest protocol.json and make a new version of your repo, and target it to...
Code: ``` c# var stream= File.OpenRead("c:\\temp\\A4.pdf"); var image = XImage.FromStream(() => stream); ``` --> ``` Unhandled exception. SixLabors.ImageSharp.UnknownImageFormatException: Image cannot be loaded. Available decoders: - TGA : TgaDecoder - BMP...