comparison mupdf-source/scripts/runcmapdump.sh @ 2:b50eed0cc0ef upstream

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children
comparison
equal deleted inserted replaced
1:1d09e1dec1d9 2:b50eed0cc0ef
1 #!/bin/bash
2
3 LIST=$(echo resources/cmaps/* | sort)
4
5 for f in $LIST
6 do
7 b=$(basename $f)
8 echo "#include \"cmaps/$b.h\""
9 python3 scripts/cmapdump.py > source/pdf/cmaps/$b.h $f
10 done
11
12
13 echo "static pdf_cmap *table[] = {"
14 for f in $LIST
15 do
16 b=$(basename $f)
17 c=$(echo $b | tr - _)
18 echo "&cmap_$c,"
19 done
20 echo "};"