Re: compiling pdftex in Delphi
Carlo Masotti <[email protected]> Sun, 15 Dec 2019 09:12:27 -0800
| Newsgroups | gmane.comp.tex.pdftex |
|---|---|
| Message-ID | <[email protected]> |
Hello Karl, thanks for your answer. I think that translating all that c stuff in pascal isn't a challenge that I can win. Maybe it's possible: a) tangle pdfweb.web to obtain pdftex.pas b) packing all the c and c++ code in a cstuff.dll that expose all the external functions that pdftex.pas calls. c) compiling pdftex.pas with a pascal/Delphi compiler statically linked with cstuff.dll . do you think it's possible to create cstuff.dll starting from pdftex source code? On 14/12/2019 14:25, Karl Berry wrote: > Can someone tell me if pdfTex uses some libraries written in C language? > > Yes, it certainly does. Also some C++ (unfortunately). If you look in > ../web2c/pdftexdir, you will see a lot of *.c and a couple *.cc source > files. I believe some of the change file also depends on the web2c > infrastructure, i.e., the eventual C compilation. In addition, there > are the external libraries such as zlib, libpng, and more. --good luck, karl. >