forked from JasonLautzenheiser/trizbort
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Exporting to PDF fails. #2
Comments
cfcohen
added a commit
that referenced
this issue
Mar 27, 2021
This commit also displays _very_ poorly in Mono on Linux, but I've included it to ensure that the problem in the previous commit is not related to the encoding of the source code file. For me, both commits produce essentially identical results (correct on console, nothing on the check boxes inside the application).
cfcohen
added a commit
that referenced
this issue
Mar 27, 2021
This commit is an improvement on Linux if you don't have the Wingdings font (which is provavly all Linux users by default). Without the Wingdings font, you get random characters that don't communicate the purpose of the checkbox widgets at all. With this commit, the north, south, east and west arrows render reasonably and the other five characters render as "missing character squares" which in my opinion makes it a little more obvious what was intended. Unfortunately, despite being only a few characters away from each other in unicode, on my system the cardinal directions are "normal width" unicode characters rendered at with a lighter weight, while the five missing characters are extra wide, and substantially heavier in their rendering. So they're definitely not "harmonious". If it works (and looks good) in Windows, I think this solution should be considered temporarily since it's an improvement on Linux, and it might get fixed before the commits #1 or #2, which is what should really be done long term. If this doesn't look good on Windows, we should revert to the original source code, and advise non-Windows users to somehow obtain and install the Wingdings font.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When exporting a map to PDF, it fails with:
No exception was generated, but removing the catch exception block yielded:
The text was updated successfully, but these errors were encountered: