diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2019-11-02 09:36:34 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2019-11-02 09:36:34 +0100 |
commit | f1e969402ea4a1dadba6c4c72028dc76cc6daa38 (patch) | |
tree | 127217c2045f52e9de316085c30cfdb462dcb603 /doc | |
parent | baa78a97e4a15293b691cbb0e33533666bf95b41 (diff) | |
download | lulua-f1e969402ea4a1dadba6c4c72028dc76cc6daa38.tar.gz lulua-f1e969402ea4a1dadba6c4c72028dc76cc6daa38.tar.bz2 lulua-f1e969402ea4a1dadba6c4c72028dc76cc6daa38.zip |
render: Improve generated SVG compatibility
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.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/fonts/IBMPlexArabic-Regular.woff2 | bin | 71160 -> 0 bytes | |||
-rw-r--r-- | doc/fonts/IBMPlexArabic-Thin.woff2 | bin | 72636 -> 0 bytes | |||
-rw-r--r-- | doc/style.css | 16 |
3 files changed, 8 insertions, 8 deletions
diff --git a/doc/fonts/IBMPlexArabic-Regular.woff2 b/doc/fonts/IBMPlexArabic-Regular.woff2 Binary files differdeleted file mode 100644 index bc5e155..0000000 --- a/doc/fonts/IBMPlexArabic-Regular.woff2 +++ /dev/null diff --git a/doc/fonts/IBMPlexArabic-Thin.woff2 b/doc/fonts/IBMPlexArabic-Thin.woff2 Binary files differdeleted file mode 100644 index 685bd03..0000000 --- a/doc/fonts/IBMPlexArabic-Thin.woff2 +++ /dev/null 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 { |