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

The font size of final pdf depends on display scaling (win10) #15

Closed
mst128256 opened this issue Mar 6, 2017 · 8 comments
Closed

The font size of final pdf depends on display scaling (win10) #15

mst128256 opened this issue Mar 6, 2017 · 8 comments

Comments

@mst128256
Copy link

mst128256 commented Mar 6, 2017

VSCode 1.9.1
markdown-pdf 0.1.6
platform: win10, OS X

I observe too small font in pdf generated on machine with HighDPI display. It would be fine to have some display- and system-independent settings for font size.

How to repoduce (win10)

  1. take arbitrary non-empty .md document
  2. in Preferences/System change magnification ration ("Change the size of text, apps, and other items")
  3. generate pdf in VSCode
  4. repeat 2-3 for different settings
  5. compare pdfs
@yzane
Copy link
Owner

yzane commented Apr 1, 2017

@mst128256 Thank you for the report.

@iamdevlinph
Copy link

Any update on this?

No idea for any other way to change font size of the generated PDF.

@cilerler
Copy link

cilerler commented Aug 12, 2017

I believe this should be marked as bug since it does not allow us to use the extension.

A sample output Lorem Markdownum.pdf

Microsoft Windows 10 Version 1703 (OS Build 15063.540)
Visual Studio Code 1.15.0 x64
Markdown PDF 0.1.7

@thomasaarholt
Copy link

I'm also facing this issue, on Windows. The body text comes out with a font size of about 9-10, which is really to small to read.

@maksymov
Copy link

same problem on ubuntu. maybe the problem is in phantomjs?

@cblomart
Copy link

+1

1 similar comment
@jsalwen
Copy link

jsalwen commented Mar 3, 2018

+1

@yzane
Copy link
Owner

yzane commented Apr 15, 2018

I pre-released Markdown PDF ver1.0.0 which replaced pdf converter with puppeteer instead of html-pdf.
Please download from here and try.
Try using the markdown-pdf.scale option.

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

8 participants