From f9e4c34713e5792b5b4ef9461d50811d34925f47 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Thu, 1 May 2025 15:22:04 +0200 Subject: fixups 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 | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) (limited to 'src/inc/unicode-range.htm') diff --git a/src/inc/unicode-range.htm b/src/inc/unicode-range.htm index dc39a9c..727f596 100644 --- a/src/inc/unicode-range.htm +++ b/src/inc/unicode-range.htm @@ -1,21 +1,26 @@ -

While working on my custom Anki cards for learning Japanese +

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

- + Turkish, like + ğ. +

before
- -

To fix this i am using a property of the @font-face rule - to limit 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 {
+

To fix this i am using a property of the + @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 {
     font-family: "IPAexGothic";
     src:
         local("IPAexGothic"),
@@ -34,9 +39,8 @@
         IPAexGothic,
         Noto Sans,
         sans;
-}
-
- +} +
after -- cgit 1.4.1