From f1e969402ea4a1dadba6c4c72028dc76cc6daa38 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sat, 2 Nov 2019 09:36:34 +0100 Subject: render: Improve generated SVG compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Switch to proper SVG user coordinate rendering instead of font-dependent sizes. Embed WOFF2 fonts, so images have proper fonts when embedded. Remove font blobs and submodule IBM’s plex git repo. --- doc/fonts/IBMPlexArabic-Regular.woff2 | Bin 71160 -> 0 bytes doc/fonts/IBMPlexArabic-Thin.woff2 | Bin 72636 -> 0 bytes doc/style.css | 16 ++++++++-------- 3 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 doc/fonts/IBMPlexArabic-Regular.woff2 delete mode 100644 doc/fonts/IBMPlexArabic-Thin.woff2 (limited to 'doc') diff --git a/doc/fonts/IBMPlexArabic-Regular.woff2 b/doc/fonts/IBMPlexArabic-Regular.woff2 deleted file mode 100644 index bc5e155..0000000 Binary files a/doc/fonts/IBMPlexArabic-Regular.woff2 and /dev/null differ diff --git a/doc/fonts/IBMPlexArabic-Thin.woff2 b/doc/fonts/IBMPlexArabic-Thin.woff2 deleted file mode 100644 index 685bd03..0000000 Binary files a/doc/fonts/IBMPlexArabic-Thin.woff2 and /dev/null differ diff --git a/doc/style.css b/doc/style.css index 6bddc80..4f9d63f 100644 --- a/doc/style.css +++ b/doc/style.css @@ -11,17 +11,17 @@ using http://colormind.io/bootstrap/ } @font-face { - font-family: 'IBM Plex Arabic'; - font-style: normal; - font-weight: 100; - src: local('IBM Plex Arabic Thin'), local('IBM Plex Arabic-Thin'), url('fonts/IBMPlexArabic-Thin.woff2') format('woff2'); + font-family: 'IBM Plex Arabic'; + font-style: normal; + font-weight: 100; + src: local('IBM Plex Arabic Thin'), local('IBMPlexArabic-Thin'), url('fonts/IBMPlexArabic-Thin.woff2') format('woff2'); } @font-face { - font-family: 'IBM Plex Arabic'; - font-style: normal; - font-weight: 400; - src: local('IBM Plex Arabic Regular'), local('IBM Plex Arabic-Regular'), url('fonts/IBMPlexArabic-Regular.woff2') format('woff2'); + font-family: 'IBM Plex Arabic'; + font-style: normal; + font-weight: 400; + src: local('IBM Plex Arabic Regular'), local('IBMPlexArabic-Regular'), url('fonts/IBMPlexArabic-Regular.woff2') format('woff2'); } body { -- cgit v1.2.3