Xlsx To Pdf Problem..

0 Answers 54 Views
SpreadProcessing
Jeonghoon
Top achievements
Rank 1
Jeonghoon asked on 27 Mar 2023, 08:59 AM


Dear sir

When using Korean fonts, the text length is cut off. (Style problem)

There is no problem when using other products.

Is there a solution?

 

 [telerik]

  [Good]


Nikolay Demirev
Telerik team
commented on 27 Mar 2023, 09:54 AM

Hello Jeonghoon,

Are you using the .NET Standard version of DPL? If so, are you implementing a custom FontsProvider, so the PdfFormatProvider can read the font you are using and measure the text correctly? Here you can read more on how to implement a custom fonts provider.

Jeonghoon
Top achievements
Rank 1
commented on 28 Mar 2023, 07:21 AM

Hello Nikolay Demirev

The font is already added. If you do not add a font, no text will be printed at all.

Tested on Blazor.

Nikolay Demirev
Telerik team
commented on 28 Mar 2023, 08:48 AM

So, you are using the .NET Standard version. It has some limitations, as you already discovered the need to provide the font files. The default measurement of the SpreadProcessing for .NET Standard is not the best, but there is also an extensibility point for providing a better measuring tool. Here you can read more on the topic. I suggest using the SpreadFixedTextMeasurer I expect it to fix most of the issues. 

No answers yet. Maybe you can help?

Tags
SpreadProcessing
Asked by
Jeonghoon
Top achievements
Rank 1
Share this question
or