licenses.sh: Linux MuPDF fonts are objects under resources/fonts

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-10 21:30:18 -04:00
1 parent d84e8265b0
commit 1972bc1d49
1 file changed
+6 -1
+6 -1
View File
@@ -44,10 +44,15 @@ case $slug in
parts=$(python3 "$root/packaging/windows/mupdf-parts.py" "$root/engines/mupdf-src" parts) parts=$(python3 "$root/packaging/windows/mupdf-parts.py" "$root/engines/mupdf-src" parts)
families=$(python3 "$root/packaging/windows/mupdf-parts.py" "$root/engines/mupdf-src" fonts) families=$(python3 "$root/packaging/windows/mupdf-parts.py" "$root/engines/mupdf-src" fonts)
;; ;;
*) Darwin)
parts=$(ls "$root/engines/mupdf-build/thirdparty") parts=$(ls "$root/engines/mupdf-build/thirdparty")
families=$(ls "$root/engines/mupdf-build/generated/resources/fonts") families=$(ls "$root/engines/mupdf-build/generated/resources/fonts")
;; ;;
*)
# Linux links the font files in as objects.
parts=$(ls "$root/engines/mupdf-build/thirdparty")
families=$(ls "$root/engines/mupdf-build/resources/fonts")
;;
esac esac
for name in $parts; do for name in $parts; do
found=$(find "$root/engines/mupdf-src/thirdparty/$name" -maxdepth 1 -type f \ found=$(find "$root/engines/mupdf-src/thirdparty/$name" -maxdepth 1 -type f \