Bennet Bo Fenner

Results 104 comments of Bennet Bo Fenner

This feature is part of the 2022.9 Release, closing this. Great work Marcin.

Not sure what your exact problem is, but here is a small example which works fine for me. ```csharp try { Document .Create(container => { container.Page(page => { page.Size(PageSizes.A4.Landscape()); page.Content()...

> However, there is one significant problem. Rendering multiple text spans in a single line Yes, you are 100% correct with the approach i implemented, its only possible to render...

I gave it another try and actually got it to work. Here is the result: ![image](https://user-images.githubusercontent.com/53836821/164917198-27aeacc7-1c89-4d35-a0d3-43fdebb3139a.png) Code: ```csharp .Text(text => { text.AlignJustify(); // content text.Span("This is example text. ").Bold(); text.Span(Placeholders.LoremIpsum());...

Thanks for the explanation 👍 After youre explanation i realized that i was trying to split the text at the wrong time. I was able to remove my workaround with...

> when the span is the first one within the line, and the line is not the start of the text, ignore leading spaces, That is correct, however: > when...

No worries, personal life should always be the priority 😊. If the text rendering mechanism is reworked in the future, like you mentioned earilier, I dont think this feature is...

`TextStyle.LibraryDefault.FontFamily` is `Calibri`. Looks like this line is the problem: https://github.com/QuestPDF/QuestPDF/blob/2a0b133185cc07473db5ad52f622a96f6b754c80/QuestPDF/Drawing/DocumentGenerator.cs#L67

If this gets merged we also need to bump SkiaSharp to 2.88.x for the QuestPDF project, otherwise we will likely experience the error i mentioned [here](https://github.com/QuestPDF/QuestPDF/issues/315#issuecomment-1222381624).

I believe i found the root cause of this issue [here](https://github.com/QuestPDF/QuestPDF/issues/269#issuecomment-1222206913). Following scenario causes crash: If your project which generates the document and calls `ShowInPreviewer()` is using another SkiaSharp version...