-
Notifications
You must be signed in to change notification settings - Fork 49
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
Imager segfaults on T1 tests #108
Comments
gdb backtrace:
|
I have removed libt1 from the builds for now (commit pending push). |
Maybe @tonycoz could take a look ? |
I've already reported the issue to the Imager repo at tonycoz/imager#510 |
This is a wontfix. To summarise from tonycoz/imager#510 : It's also worth noting that MSYS2 also do not include t1lib. Strawberry Perl can follow suit. The latest releases already exclude t1lib but we should explicitly exclude it in the config files (syntax in tonycoz/imager#510 (comment)). @genio - FYI. |
👍 |
Interesting. The RedHat packaging team requested that .t1 font file support be added to PDF::Builder earlier this year. I realize that Adobe is in the process of abandoning T1 fonts, but it was a small matter to add .t1 (in addition to existing .pfa and .pfb support) so I did it. It doesn't use t1lib. Does anyone know Adobe's (or other major PDF Reader players') plans for supporting just the reading (display) of PDF files with T1 fonts? Even if they don't want to support authoring with T1, I would hope they would continue to read PDF files that use T1 for quite some time to come. When and if most PDF Readers can no longer support T1 fonts, I may remove support from PDF::Builder. In the meantime, the documentation reminds users that T1 is no longer a preferred font format (neither are CJK fonts), and they should try using TTF/OTF or core fonts instead. |
I'm not aware of any support plans by the various vendors, but that's apropos of nothing. The issue from the Strawberry Perl perspective is that the t1lib library needs to be patched. If someone can provide such a patch then we can consider reinstating it. |
From the adobe announcement:
So I expect readers will continue to support embedded Type1 fonts. |
Extract of the failing component below.
I have not yet checked if RC1 also fails but assume it does. 5.36 needs to be checked also as this is flagged to ignore test failures.
Note that the LC_ALL needs to be set for compilation under 5.38. (Edit: This was under the Docker instance which does not set this variable. It should be OK for normal machines).
EDIT - it also fails under 5.36.
The text was updated successfully, but these errors were encountered: