typora-issues icon indicating copy to clipboard operation
typora-issues copied to clipboard

Line number of code block is messy when exported to pdf file

Open colingonglin opened this issue 2 years ago • 2 comments

  • [x] Searched existing issues to avoid creating duplicates.

  • [x] Confirmed that it can be reproduced in built-in themes without customized css.

    If it only exists in 3rd party themes or css, you can still report it, but please attach the theme target or the css file. We may not "fix" it, if it is caused by 3rd party themes or css styles that we cannot support.

  • [x] Searched http://support.typora.io/


Describe the bug Line number of code block is messy when exported to pdf file. Characters are overlapped when the number is greater than 10

Screenshots / Screencasts If applicable, add screenshots / screencasts to help explain your problem. image

bad.pdf

Sample Markdown File Please attach or send us [email protected] the sample md file that may reproduce this. bad.md

Desktop (please complete the following information):

  • OS: Windows 10 64bit

Typora Version 1.4.4

colingonglin avatar Sep 07 '22 09:09 colingonglin

Will this happen if you export again? If so, could you provide a screencast about the operation as in our test it works fine?

abnerlee avatar Sep 07 '22 12:09 abnerlee

Yes, it can reproduce as long as you set the font size to 20 or larger. I have noticed even in the editor the numbers will overlap.

colingonglin avatar Sep 08 '22 01:09 colingonglin

fixed in v1.5.x

abnerlee avatar Feb 14 '23 04:02 abnerlee