![]() ![]() There is one more issue with font styles. So these files should be installed on the system too or you get the wrong width of the symbols. The Measure/Draw text methods work if the font is installed in the system. Load the font file to a special font collection using StiFontCollection.AddFontFile(name).Īlso, we have found another issue in GdiPlus for Linux. Load the font file as a resource of the report. NET Core.Īnd we can't load the fonts without loading them a special way. Unfortunately, there is no access to font files on Linux from. The PDF file needs the font files to be embedded. The issue with custom fonts in PDF export. Net Core project with Debiandocker package. We have made a deep analysis of the issue with the custom fonts. Again this is only an issue on Linux and not when run locally on windows.ĭoes anybody know what we need to do to get the above fonts working correctly on Linux? ![]() We have set = true but this causes a console error and the PDF isn't generated. When running the API locally on windows, the custom fonts work correctly and display as expected so we're at a loss as to how to get them working correctly on the Linux server. To try and replicate the issue we installed an Arial font onto the Linux server to see if the same problem would occur but the Arial font is generated correctly in the reporting template. We have installed the above fonts onto the server but they still don't render. The custom fonts we are using SourceSansPro-ExtraLight.ttf SourceSansPro-Light.ttf SourceSansPro-Regular.ttf don't render in the PDF report generation and instead default to an Adobe Sans MM font (I've tried adding a screenshot but getting a parsing server response). NET Core web API that is deployed on a Linux server running Ubuntu 16.04.4 LTS. I am using the package (v2018.3.2) in a. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |