Use extractbb instead of ebb

ebb was the old tool and looks like it is on its way out, a very least
from Debian and for pdfTeX.

From manpage:
-------------
 Here are more details about the bb and xbb formats:

 The original  ebb  (from dvipdfm) ignored density information in bitmap
 images, and generated bounding boxes with 100px = 72bp = 1in.  Unfortu‐
 nately, screenshots (especially) tend to look bad with this approach.

 So, extractbb (from dvipdfmx) uses density information if present.
 Otherwise, it generates bounding box with 100px = 100bp.  This is what
 pdfTeX does.
This commit is contained in:
Ced
2025-12-29 14:04:04 +00:00
parent 75287c955d
commit bc9d1838f2

View File

@@ -97,7 +97,7 @@ ruby_pkg := ../website/Gemfile ../website/Gemfile.lock
figures/export_figures.sh $@.pdf figures/export_figures.sh $@.pdf
%.xbb: %.jpg %.xbb: %.jpg
ebb -x $< extractbb -x $<
# }}} # }}}
# Pdf {{{ # Pdf {{{