Giter VIP home page Giter VIP logo

Comments (9)

shawnlaffan avatar shawnlaffan commented on August 20, 2024

gdb backtrace:

(gdb) set args -Mblib t\t20oo.t
(gdb) set disable-randomization off
(gdb) run
Starting program: D:\5.38.0RC2_20230626\perl\bin\perl.exe -Mblib t\t20oo.t
[New Thread 19928.0x3348]
[New Thread 19928.0x4e18]
[New Thread 19928.0x1974]
1..14
ok 1 - make output directory

Thread 1 received signal SIGSEGV, Segmentation fault.
0x00007ff9db08d763 in strncpy () from C:\WINDOWS\System32\msvcrt.dll
(gdb) bt
#0  0x00007ff9db08d763 in strncpy () from C:\WINDOWS\System32\msvcrt.dll
#1  0x00000000567d958f in ?? () from D:\5.38.0RC2_20230626\c\bin\libt1-5__.dll
#2  0x00000000567e9552 in ?? () from D:\5.38.0RC2_20230626\c\bin\libt1-5__.dll
#3  0x00000000567e01a4 in ?? () from D:\5.38.0RC2_20230626\c\bin\libt1-5__.dll
#4  0x00007ff9a945315d in boot_Imager__Font__T1 ()
   from D:\5.38.0RC2_20230626\data\.cpanm\work\1687769011.2088\Imager-1.019\blib\arch\auto\Imager\Font\T1\T1.xs.dll
#5  0x00007ff9a94529b0 in ?? ()
   from D:\5.38.0RC2_20230626\data\.cpanm\work\1687769011.2088\Imager-1.019\blib\arch\auto\Imager\Font\T1\T1.xs.dll
#6  0x00007ff958df2fec in perl538!Perl_clear_defarray () from D:\5.38.0RC2_20230626\perl\bin\perl538.dll
#7  0x00007ff958e47982 in perl538!Perl_runops_standard () from D:\5.38.0RC2_20230626\perl\bin\perl538.dll
#8  0x00007ff958e0368b in perl_run () from D:\5.38.0RC2_20230626\perl\bin\perl538.dll
#9  0x00007ff958e56e73 in perl538!RunPerl () from D:\5.38.0RC2_20230626\perl\bin\perl538.dll
#10 0x00007ff7f6821340 in ?? ()
#11 0x00007ff7f6821146 in ?? ()
#12 0x00007ff9db197614 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#13 0x00007ff9dd0226f1 in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#14 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

from perl-dist-strawberry.

shawnlaffan avatar shawnlaffan commented on August 20, 2024

I have removed libt1 from the builds for now (commit pending push).

from perl-dist-strawberry.

sisyphus avatar sisyphus commented on August 20, 2024

Maybe @tonycoz could take a look ?

from perl-dist-strawberry.

shawnlaffan avatar shawnlaffan commented on August 20, 2024

Maybe @tonycoz could take a look ?

I've already reported the issue to the Imager repo at tonycoz/imager#510

from perl-dist-strawberry.

shawnlaffan avatar shawnlaffan commented on August 20, 2024

This is a wontfix.

To summarise from tonycoz/imager#510 :
Debian dropped support for t1lib about a decade ago. Adobe has also EOL'd support for T1 fonts as of January this year.

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.

from perl-dist-strawberry.

genio avatar genio commented on August 20, 2024

👍

from perl-dist-strawberry.

PhilterPaper avatar PhilterPaper commented on August 20, 2024

Debian dropped support for t1lib about a decade ago. Adobe has also EOL'd support for T1 fonts as of January this year.

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.

from perl-dist-strawberry.

shawnlaffan avatar shawnlaffan commented on August 20, 2024

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 perl-dist-strawberry.

tonycoz avatar tonycoz commented on August 20, 2024

I would hope they would continue to read PDF files that use T1 for quite some time to come.

From the adobe announcement:

If a document/job uses and embeds a Type 1 font, the text will continue to be rendered using the Type 1 font. If the Type 1 font is not embedded in the PDF file or PostScript print stream, then the Type 1 font must be resident on printer. This is unchanged.

So I expect readers will continue to support embedded Type1 fonts.

from perl-dist-strawberry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.