Skip to content
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

libtexpdf error when running SILE #29

Open
jodros opened this issue Feb 13, 2024 · 2 comments
Open

libtexpdf error when running SILE #29

jodros opened this issue Feb 13, 2024 · 2 comments

Comments

@jodros
Copy link

jodros commented Feb 13, 2024

I'm unsure whether should create an issue in SILE or here, but anyway...
The error is libtexpdf:fatal: texpdf_dev_locate_font() called with the zero ptsize.

The last thing I did was just to recompile it to the latest release.

I've no idea how this happened and have no knowledge about libtextpdf internals...

Already tried:

  • remove my extension module
  • run an empty .sil file
@alerque
Copy link
Member

alerque commented Feb 13, 2024

Are you compiling from the master or develop branch of SILE? Also what Lua version? sile --version should answer both questions.

This is probably a SILE bug not libtexpdf. The latter is a bit fragile/picky about data being sent to it being valid and we need to be careful on the SILE side to validate and correct anything before we pass it on. In any case I can move the issue to the right place if I'm convinced that's where the problem is in the end.

@jodros
Copy link
Author

jodros commented Feb 13, 2024

Are you compiling from the master or develop branch of SILE? Also what Lua version? sile --version should answer both questions.

SILE v0.14.17 (Lua 5.4)

I just recompiled it running make clean, and its working fine now...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants