[dvipdfmx] extractbb past, present, future

Karl Berry karl at freefriends.org
Mon Jul 1 00:33:05 CEST 2024


Hello dvipdfmx. After some discussion off the list, I've just committed
a replacement extractbb.lua script written by Max, in r71664. The
problem was that extractbb is listed as safe for restricted mode, but a
clever user found a way around that (details available on request). The
new script should eliminate that hole.

Looking ahead, it might be cleaner to replace extractbb and ebb
entirely, instead of relying on the dvipdfm(x) link.  Max wrote another
Lua script (attached) with the same functionality. Then the code in
dvipdfmx for the bb stuff, plus the different "personalities" based on
an argv[1] option, could be entirely removed. (For the 2025 build.)

Wdyt? And, if we want to pursue this route, can anyone test the script,
please? Especially on Windows. If it works out, we could put it in place
now. --thanks, karl.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lua-extractbb.lua
Type: application/octet-stream
Size: 19151 bytes
Desc: not available
URL: <https://tug.org/pipermail/dvipdfmx/attachments/20240630/654382d7/attachment.obj>


More information about the dvipdfmx mailing list.