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

Font size radically different on Windows compared to running on Mac or Linux #14

Open
hakanai opened this issue Aug 29, 2014 · 1 comment

Comments

@hakanai
Copy link

hakanai commented Aug 29, 2014

If you make a simple HTML file with any font size (not just the default font size, from what I have seen), CutyCapt running on Mac OS X will generate output which looks more or less like what you would expect, but CutyCapt running on Windows will generate output with tiny text.

Side-by-side screenshot:

screen shot 2014-08-29 at 12 25 16 pm

I tried overriding this at the user stylesheet by setting font-size:10pt, which makes the font smaller. If I set font-size:18pt, the font comes out roughly the same size as the OSX result, but 18pt should be much bigger than that, so I think that the font-size being specified in points is being misinterpreted as some other unit.

@hakanai hakanai changed the title Font size radically different on Windows compared to running on Mac Font size radically different on Windows compared to running on Mac or Linux Sep 1, 2014
@hakanai
Copy link
Author

hakanai commented Sep 1, 2014

Now that I have set enough of the user agent stylesheet to be relatively confident that the same thing is being printed, the behaviour I have under Mac and under Linux (in this case, CentOS, but not sure if it matters) is the same.

Windows alone seems to print much smaller text. If you set your font size higher, the text becomes smaller, which is pretty ironic. (Also, if you set your font size lower, the text becomes larger.)

I thought maybe Qt was incorrectly setting that "zoom factor" thing based on the OS, but don't have the knowledge of Qt required to investigate.

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

1 participant