From fbedcdef8661a0d4a18dbc7659170373d81bf43f Mon Sep 17 00:00:00 2001 From: Julie Schwartz Date: Sat, 27 Jan 2024 13:35:12 +1300 Subject: [PATCH] Release Notes: Build PDF with a theme that supports extended unicode This requires using a newer version of asciidoctor-pdf. So in the GitHub CI job that builds the release notes on ubuntu-22.04, use gem to install the latest version over what the package manager installs. --- .github/workflows/install_dependencies_releasenotes_ubuntu.sh | 3 +++ release/Makefile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/install_dependencies_releasenotes_ubuntu.sh b/.github/workflows/install_dependencies_releasenotes_ubuntu.sh index 8d150f210..c3a16dbd1 100755 --- a/.github/workflows/install_dependencies_releasenotes_ubuntu.sh +++ b/.github/workflows/install_dependencies_releasenotes_ubuntu.sh @@ -4,3 +4,6 @@ apt-get update apt-get install -y \ asciidoctor \ ruby-asciidoctor-pdf + +# Update asciidoctor-pdf to the latest version +gem install asciidoctor-pdf diff --git a/release/Makefile b/release/Makefile index c2414e19d..d4ff31457 100644 --- a/release/Makefile +++ b/release/Makefile @@ -67,7 +67,7 @@ ReleaseNotes.html: ReleaseNotes.adoc asciidoctor ReleaseNotes.adoc ReleaseNotes.pdf: ReleaseNotes.adoc - asciidoctor-pdf ReleaseNotes.adoc + asciidoctor-pdf --theme=default-with-font-fallbacks ReleaseNotes.adoc # -----