Recently updated .svg figures have new font-specification patterns due to inkscape's behavior change. Add patterns to fixsvgfonts scripts to catch them and make sure "Nimbus Sans" fonts are embedded in .pdf. Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx> --- utilities/fixsvgfonts-urwps.sh | 2 ++ utilities/fixsvgfonts.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/utilities/fixsvgfonts-urwps.sh b/utilities/fixsvgfonts-urwps.sh index 55a5a3f2..17c30e81 100644 --- a/utilities/fixsvgfonts-urwps.sh +++ b/utilities/fixsvgfonts-urwps.sh @@ -9,6 +9,8 @@ sed -e 's+family:Helvetica+family:Nimbus Sans+g' \ -e 's+family="Helvetica+family="Nimbus Sans+g' \ -e 's+family:Sans+family:Nimbus Sans+g' \ -e 's+cation:Sans+cation:Nimbus Sans+g' \ + -e 's+family:sans-serif+family:Nimbus Sans+g' \ + -e 's+cation:sans-serif+cation:Nimbus Sans+g' \ -e 's+family:Courier+family:Nimbus Mono PS+g' \ -e 's+family="Courier+family="Nimbus Mono PS+g' \ -e 's+family:Symbol+family:MdSymbol+g' \ diff --git a/utilities/fixsvgfonts.sh b/utilities/fixsvgfonts.sh index 657c3001..47dbaea9 100644 --- a/utilities/fixsvgfonts.sh +++ b/utilities/fixsvgfonts.sh @@ -9,5 +9,7 @@ sed -e 's+family:Helvetica+family:Nimbus Sans L+g' \ -e 's+family="Helvetica+family="Nimbus Sans L+g' \ -e 's+family:Sans+family:Nimbus Sans L+g' \ -e 's+cation:Sans+cation:Nimbus Sans L+g' \ + -e 's+family:sans-serif+family:Nimbus Sans L+g' \ + -e 's+cation:sans-serif+cation:Nimbus Sans L+g' \ -e 's+family:Courier+family:Nimbus Mono L+g' \ -e 's+family="Courier+family="Nimbus Mono L+g' -- 2.17.1