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

Need to update DAT zoom setting #37

Closed
JessicaFrank opened this issue Feb 1, 2021 · 4 comments
Closed

Need to update DAT zoom setting #37

JessicaFrank opened this issue Feb 1, 2021 · 4 comments
Assignees

Comments

@JessicaFrank
Copy link
Contributor

Staging had zoom setting at 1.0 which was causing text templates to produce fonts that were too small for their set size. Mike and I tested it and he found the 1.6 setting most closely matches expected font sizes in PDFs.

need to update the zoom setting to 1.6 in all environments and restart

@tobiasnteireho
Copy link
Collaborator

"WKHTMLTOPDF_DPI": 300,
"WKHTMLTOPDF_ZOOM": 1.000

has been the linux setting for a while what changed?

@tobiasnteireho
Copy link
Collaborator

tobiasnteireho commented Feb 1, 2021

I measured by pixel to get ratios from below

image (2)

left is template
right is word doc with same fonts and styles

It looks like the zoom wants to be ~1.570909090909091 which is pretty close to 1.6.... so I'm not sure what changed so that linux and windows need identical zoom

@tobiasnteireho
Copy link
Collaborator

Measuring pixel by pixel on linux the zoom now should be

1.6711

So the linux now needs a ~6% higher zoom than azure when previous versions required a 28% higher zoom on azure vs linux

@tobiasnteireho tobiasnteireho mentioned this issue Feb 15, 2021
@tobiasnteireho
Copy link
Collaborator

updated in current docs with cal toolkit

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

No branches or pull requests

3 participants