Inkscape of Fedora 38 has a regression in font markup corruption in SVG --> PDF conversion. Stay with Fedora 37 by Using an ARG variable "rel" with its value of 37. Add poppler-utils package for the pdffonts command to see font markup in PDF properties. Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx> --- docker/Dockerfile.fedora | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile.fedora b/docker/Dockerfile.fedora index fdfbdc344bf5..9b5ed5440869 100644 --- a/docker/Dockerfile.fedora +++ b/docker/Dockerfile.fedora @@ -1,8 +1,15 @@ -FROM fedora:latest +# As of June 2023, Inkscape of Fedora 38 has a regression of font markup +# corruption. +# Stay with Fedora 37 for the moment. +# You can override "rel" by saying: +# docker build -t <tag> --build-arg rel=latest -f Dockerfile.fedora . +# +ARG rel=37 +FROM fedora:$rel RUN dnf -y update && dnf install -y --setopt=tsflags=nodocs \ fig2ps graphviz inkscape make git vim nano gnuplot-minimal groff time \ - liberation-fonts dejavu-fonts-all \ + liberation-fonts dejavu-fonts-all poppler-utils \ texlive-collection-plaingeneric texlive-collection-binextra \ texlive-collection-latexextra texlive-epstopdf texlive-fontools \ texlive-newtx texlive-newtxtt texlive-nimbus15 texlive-courier-scaled \ -- 2.25.1