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

Wrong page orientation in AddPageFormat() when setting landscape #71

Open
jahamre94 opened this issue May 4, 2024 · 0 comments
Open

Comments

@jahamre94
Copy link

For landscape ("L"): f.w is set to size.Ht and f.h is set to size.Wd.
the happens in the beginpage function. (line 3781)

		// New size or orientation
		if orientationStr == "P" {
			f.w = size.Wd
			f.h = size.Ht
		} else {
			f.w = size.Ht
			f.h = size.Wd
		}
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