From 3b3528839684d3ee6d73bf09c63d4eefba7a44d2 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Sat, 22 Nov 2025 20:43:31 +0100 Subject: fix styling of code blocks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- src/inc/unicode-range.htm | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) (limited to 'src') diff --git a/src/inc/unicode-range.htm b/src/inc/unicode-range.htm index 727f596..1bfaa5d 100644 --- a/src/inc/unicode-range.htm +++ b/src/inc/unicode-range.htm @@ -1,26 +1,23 @@

While working on my custom - Anki - cards for learning Japanese + Anki + cards for learning Japanese and Turkish, I found that my font of choice for Japanese - - IPAex - - was not + IPAex + - was not properly supporting glyphs used by Turkish, like - ğ. -

+ ğ.

- before - + before +

To fix this i am using a property of the - @font-face - rule + @font-face + rule which limits custom fonts to source their glyphs from a subset of the - unicode range and force fallback to the next font in the set. -

-

-@font-face {
+    unicode range and force fallback to the next font in the set.

+
@font-face {
     font-family: "IPAexGothic";
     src:
         local("IPAexGothic"),
@@ -39,9 +36,8 @@
         IPAexGothic,
         Noto Sans,
         sans;
-}
-
+}
- after - + after +
-- cgit 1.4.1