-
Notifications
You must be signed in to change notification settings - Fork 400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDF font size growing up after creating the pdf [.NET CORE 2.0] #32
Comments
Where do you deploy your application in Release? |
Hi @rdvojmoc I am using docker with Debian stretch |
Please check this issue. |
@rdvojmoc Thank you very much for this post! Changing the Default value of DPI (in GlobalSettings) from 96 to 300 solved my problem. Issue can be closed. Thanks! :) |
ya son 3 años tarde jajaja pero tenes que definir el PDI, el estandar es 300 que es lo mismo que el men de arriba xd |
I am preparing some PDF Layouts. But at some point I get confused. If I run the .net core application on DEBUG Mode, I get the size that I want. If I run the the application in Release (Production) Mode I get a total different pdf (with a bigger font size) back. Is this an issue? I included the CSS (both templates are using the same css) and the pdf can load successfully the font (RNS Sanz) but no luck with the font size. I tried it also without my css, plain example code. But there is the same situation. Is there a setting for that? thanks.
I am using this code
Controller
HtmlToPdfConverterService
I followed this ticket here: #24
The PDF can Read the font "RNS Sanz" but the font size is growing automatically up in Release.
If I don't use any css, I get the same result. Also with this example:
The text was updated successfully, but these errors were encountered: