[PATCH -perfbook] fixsvgfonts-urwps: Add patterns for 'URW Gothic'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When built on Ubuntu Focal, Figure 3.9
(cartoons/r-2014-CPU-track-meet-phone-booth.pdf) does not have the
"TELE" sign.

Ubuntu Hirsute and Fedora 34 don't have this issue, so it looks
like Ubuntu Focal lacks some configs for font-name aliases under
/etc/fonts/.

As a workaround, add patterns taking care of "URL Gothic".

Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx>
---
Hi Paul,

I'm not sure if you have the same issue on your Ubuntu 20.04,
but I noticed it and tested the workaround on the container image at
docker.io/akiyks/perfbook-build-focal:latest.

        Thanks, Akira
--
 utilities/fixsvgfonts-urwps.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/utilities/fixsvgfonts-urwps.sh b/utilities/fixsvgfonts-urwps.sh
index a3dcd91a..21eb1534 100644
--- a/utilities/fixsvgfonts-urwps.sh
+++ b/utilities/fixsvgfonts-urwps.sh
@@ -17,4 +17,6 @@ sed	-e 's+:Helvetica+:Nimbus Sans+g' \
 	-e 's+:Nimbus Sans L+:Nimbus Sans+g' \
 	-e 's+="Nimbus Sans L+="Nimbus Sans+g' \
 	-e 's+:Nimbus Mono L+:Nimbus Mono PS+g' \
-	-e 's+="Nimbus Mono L+="Nimbus Mono PS+g'
+	-e 's+="Nimbus Mono L+="Nimbus Mono PS+g' \
+	-e 's+:URW Gothic L+:URW Gothic+g' \
+	-e 's+="URW Gothic L+="URW Gothic+g'

base-commit: 6991663ee8e326bae30cf6e82c69afb310c2b250
-- 
2.17.1




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux