FastReport icon indicating copy to clipboard operation
FastReport copied to clipboard

Exporting PDF garbled code from online Designer

Open afr751116 opened this issue 4 years ago • 6 comments

Pdf garbled code is exported from online designer, and the WinForm designer has the function of embedding font. I don't know how to set it in online designer? image image image image

afr751116 avatar Jan 03 '22 07:01 afr751116

Try this solution https://www.fast-report.com/en/blog/show/Building-libgdiplus-library-from-source/

fediachov avatar Jan 03 '22 10:01 fediachov

Also you should add a next line in your csproj <PackageReference Include="system.drawing.common" Version="5.0.2" /> same as in this example https://github.com/fediachov/FastReportSamples/blob/master/RHEL/frtest/frtest.csproj

fediachov avatar Jan 03 '22 10:01 fediachov

试试这个解决方案https://www.fast-report.com/en/blog/show/Building-libgdiplus-library-from-source/

Hello, I'm hosted by IIS. Like the screenshot, I added a font file and added it at @ font face. I don't know if this is correct, but it shows up and doesn't mess. I think it's caused by the lack of online fonts. I don't know if there is a better way.

image image image

image

afr751116 avatar Jan 03 '22 12:01 afr751116

I don’t understand what exactly is happening, the wrong font is displayed in the pdf? Is font embedding is enabled. Is the desired font works in the preview.

Detrav avatar Jan 10 '22 09:01 Detrav

I don’t understand what exactly is happening, the wrong font is displayed in the pdf? Is font embedding is enabled. Is the desired font works in the preview.

When I don't put the font in the folder, my Chinese font will be automatically changed to "Arial", resulting in garbled code image

afr751116 avatar Jan 10 '22 09:01 afr751116

An article for using custom fonts in an online designer. https://www.fast-report.com/en/blog/show/custom-fonts-online-designer/

Detrav avatar Jan 10 '22 09:01 Detrav