ststeiger / PdfSharpCore

Port of the PdfSharp library to .NET Core - largely removed GDI+ (only missing GetFontData - which can be replaced with freetype2)
Other
1.07k stars 239 forks source link

Add Strikethrough to Font #312

Closed IndexGit closed 1 year ago

IndexGit commented 1 year ago

Add the ability to mark font as striked out using new property in font. Similar to Underline functionality.

I didn't find any posibility to add striked out text in MigraDocCore...Document before rendering to PdfDocument, so i desided to implement it in, like were disscussed here: https://forum.pdfsharp.net/viewtopic.php?f=2&t=1021 But i don't think it's linked to underline it self, soo i've add property to Font.

ststeiger commented 1 year ago

Merged

IndexGit commented 1 year ago

Great! Have a nice day!