Skip to content
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

Cannot change the font size when exporting to pdf #5917

Closed
SoyMark opened this issue Dec 11, 2023 · 1 comment
Closed

Cannot change the font size when exporting to pdf #5917

SoyMark opened this issue Dec 11, 2023 · 1 comment

Comments

@SoyMark
Copy link

SoyMark commented Dec 11, 2023

I changed the font size in setting, the change applied in app but had not effect on exported PDF.
I modified the .css file of the theme I used, changing the font-size under html to 12px, but it didn't work.
I created my base.user.css and my base.{theme}.css, and wrote down the font size there, but it didn't work.
I modified the export setting for PDF, add things to Append Extra Content(HTML), but it didn't work.
I read almost every articles on Internet to solve the problem, but none of them worked.
Meanwhile, my effort to change the margin in the setting didn't work.
It seems that every changes I made will not affect the format of the exported PDF.

Appreciate any advice!

@abnerlee
Copy link
Contributor

Hi,

What is your operating system and Typora version? If you export to HTML, are those font-size applied? If you open your exported HTML in Safari or Chrome, print it into PDF, are those font-size applied in output PDF?
If you set font size to different value, like 16px, and export to PDF, does the PDF have different font size with the one you export with 12px font size?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants