git: 481bff5848 - main - documentation/pdf: Remove scripts=cjk from asciidoctor-pdf build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 21 Jan 2023 02:45:35 UTC
The branch main has been updated by dbaio:
URL: https://cgit.FreeBSD.org/doc/commit/?id=481bff5848cf76646cbea521024fa82e3c5a08e0
commit 481bff5848cf76646cbea521024fa82e3c5a08e0
Author: Danilo G. Baio <dbaio@FreeBSD.org>
AuthorDate: 2023-01-21 02:39:39 +0000
Commit: Danilo G. Baio <dbaio@FreeBSD.org>
CommitDate: 2023-01-21 02:39:39 +0000
documentation/pdf: Remove scripts=cjk from asciidoctor-pdf build
There is a bug when building some documents, like the
porters-handbook/security chapter (callouts).
---
documentation/tools/asciidoctor.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/documentation/tools/asciidoctor.sh b/documentation/tools/asciidoctor.sh
index ab5125bc0f..9f81723126 100755
--- a/documentation/tools/asciidoctor.sh
+++ b/documentation/tools/asciidoctor.sh
@@ -77,7 +77,7 @@ build_pdf() {
echo " font not found, skipping pdf build"
return
fi
- theme_font="-a scripts=cjk -a pdf-theme=./shared/zh-cn/zh-cn-theme.yml -a pdf-fontsdir=$LOCALBASE/share/docproj-fonts-cjk"
+ theme_font="-a pdf-theme=./shared/zh-cn/zh-cn-theme.yml -a pdf-fontsdir=$LOCALBASE/share/docproj-fonts-cjk"
;;
zh-tw)
if [ ! -f "$LOCALBASE/share/docproj-fonts-cjk/NotoSansTC-Medium.otf" ]; then