git: 481bff5848 - main - documentation/pdf: Remove scripts=cjk from asciidoctor-pdf build

"Danilo G. Baio" <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by dbaio:

URL: https://cgit.FreeBSD.org/doc/commit/?id=481bff5848cf76646cbea521024fa82e3c5a08e0

commit 481bff5848cf76646cbea521024fa82e3c5a08e0
Author:     Danilo G. Baio <[email protected]>
AuthorDate: 2023-01-21 02:39:39 +0000
Commit:     Danilo G. Baio <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.