-
Notifications
You must be signed in to change notification settings - Fork 130
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
Mech printing issue on 0.43.5 #119
Comments
On Windows 10, using the print to pdf function results in an empty single page PDF. |
The problem here is that the expected font was missing. What had happened previously is that it would substitute the default system font. I attribute the fact that it's not doing that now to a change in the svg rendering library, which went unnoticed because it was only tested with the font installed and there was no particular reason to think that it had changed. I have been able to reproduce it by uninstalling the font on my system. You can get printing working for now by installing the fonts found in data/fonts, though it should not be necessary to install particular fonts to get the printing to work. It should be possible to provide alternate fonts in the svg files, but the svg library is not using that data. I'm looking into whether there's a way to get it to work without producing and maintaining a custom version of the library. |
Reverted svgSalamander library to previous version that does not have the font bug. |
Are you using svgSalamander from their website? I've got a patch for the release that's required for Warship printing. I believe I had committed a special version. I suppose that only exists in the warship printing branch right now. |
See: blackears/svgSalamander#21 I have to imagine you encountered this issue as well. |
This may also be relevant, as it deals with fonts: blackears/svgSalamander#20 |
On Linux, I get errors finding the default templates for both bipeds and quads.
Looking in the recordsheets directory, I don't see the listed SVGs, regardless of capitalization.
I see those SVGs on the master branch of the repo - possible packaging issue?
It generates an empty PDF, but also shows these errors in the logs:
megameklablog.txt
The text was updated successfully, but these errors were encountered: