Alexander Mishunin

Results 28 comments of Alexander Mishunin

I tried to use ttf file content to resolve XFontStyle instead of filename and it seems to work fine: #149 Were there any deep reasons to use filename?

I tried to also look skia's source up and that's more or less exactly what it does. Although there would be a problem with backward compatibility with approach like that:...

FontConfigSharp can't be used as a library as-is, but I tried to P/invoke libfontconfig directly using it as reference and it seems to work pretty well: #151

PdfSharp has one power of 10 more: https://github.com/empira/PDFsharp/blob/3205bd933b464d150c0f42e8bcdff3314b6c6164/src/PdfSharp/Pdf.Content/CLexer.cs#L365 vs: https://github.com/ststeiger/PdfSharpCore/blob/938ac6bf52dcb1e308a4c1b1cacf315a7ddb632b/PdfSharpCore/Pdf.Content/CLexer.cs#L313 Is that enough?

Would it be ok to make IXGraphicsRenderer public and add a method to create XGraphics from it like that: https://github.com/mishun/PdfSharpCore/commit/138413549516f92cd530476d1430a1cc7a5b8604 I tried to make very bare-bone example of rendering Document...

I'm sorry, I don't understand: IXGraphicsRenderer was declared as internal --- no one outside PdfSharpCore assembly can implement it. It can break something only if client code had some other...

I looked into custom IXGraphicsRenderer implementations a bit more, and it appears exposing some additional internals of XLinearGradientBrush, XRadialGradientBrush and XGraphicsPath (CoreGraphicsPath in particular, or it's content could be moved...

You mean use NumSharp that is installed with Tensorflow.NET 0.20.0-preview3 nuget package? Runtime looks roughly the same except np.sum is now throwing an exception.

It's probably not very interesting to submit it as is because it is designed to generate the same output verbatim as original minisat for same input file and also still...

Yeah, I've seen std::alloc. I actually implemented custom allocator that is very similar to original minisat's one just a few days ago: https://github.com/mishun/minisat-rust/blob/master/src/sat/formula/allocator.rs Although, it still takes a few bytes...