Remove special Gothic font
authorLanius Trolling <lanius@laniustrolling.dev>
Sun, 31 Dec 2023 18:04:44 +0000 (13:04 -0500)
committerLanius Trolling <lanius@laniustrolling.dev>
Sun, 31 Dec 2023 18:04:44 +0000 (13:04 -0500)
src/jvmMain/kotlin/info/mechyrdia/data/views_comment.kt
src/jvmMain/kotlin/info/mechyrdia/lore/parser_tags.kt
src/jvmMain/kotlin/info/mechyrdia/lore/view_tpl.kt
src/jvmMain/resources/static/font/NotoSansGothic-Regular.woff [deleted file]
src/jvmMain/resources/static/style.css

index 89bb037dcb249238bea6b9ce36439668f8a98809..96f64bdad94d30cc3e7c953f918778ccd1dec8e8 100644 (file)
@@ -522,17 +522,6 @@ suspend fun ApplicationCall.commentHelpPage(): HTML.() -> Unit = page("Commentin
                                                }
                                        }
                                }
-                               tr {
-                                       td { +"[lang=gothic]\uD800\uDF32\uD800\uDF3F\uD800\uDF44\uD800\uDF39\uD800\uDF43\uD800\uDF3A\uD800\uDF30 \uD800\uDF42\uD800\uDF30\uD800\uDF36\uD800\uDF33\uD800\uDF30[/lang]" }
-                                       td {
-                                               +"Writes text in the Gothic alphabet: "
-                                               span(classes = "lang-gothic") {
-                                                       +"\uD800\uDF32\uD800\uDF3F\uD800\uDF44\uD800\uDF39\uD800\uDF43\uD800\uDF3A\uD800\uDF30 \uD800\uDF42\uD800\uDF30\uD800\uDF36\uD800\uDF33\uD800\uDF30"
-                                               }
-                                               br
-                                               +"Requires the Unicode Gothic alphabet; Latin alphabet characters are not supported."
-                                       }
-                               }
                        }
                }
        }
index 7f1d52420cb2740e6404ea1012e8c6cb83350f29..d324c50db50115b7479d3e34e1cb38bf48257832 100644 (file)
@@ -317,9 +317,7 @@ enum class TextParserFormattingTag(val type: TextParserTagType<Unit>) {
                                val pokhwal = PokhwalishAlphabet.pokhwalToFontAlphabet(uncensored)
                                val recensored = TextParserState.censorText(pokhwal)
                                "<span class=\"lang-pokhwal\">$recensored</span>"
-                       } else if (tagParam?.equals("gothic", ignoreCase = true) == true)
-                               "<span class=\"lang-gothic\">$content</span>"
-                       else content
+                       } else content
                }
        ),
        ALPHABET(
index 5260aac8d52ffe4c0d8389c59460a3b1169a777d..e782e81172296847caffb23436a30975c1a32994 100644 (file)
@@ -15,7 +15,6 @@ val preloadFonts = listOf(
        "JetBrainsMono-ExtraBoldItalic.woff",
        "JetBrainsMono-Medium.woff",
        "JetBrainsMono-MediumItalic.woff",
-       "NotoSansGothic-Regular.woff",
        "Oxanium-Bold.woff",
        "Oxanium-ExtraBold.woff",
        "Oxanium-Regular.woff",
diff --git a/src/jvmMain/resources/static/font/NotoSansGothic-Regular.woff b/src/jvmMain/resources/static/font/NotoSansGothic-Regular.woff
deleted file mode 100644 (file)
index b042098..0000000
Binary files a/src/jvmMain/resources/static/font/NotoSansGothic-Regular.woff and /dev/null differ
index e4fd7e8f03d0861a3d5de8de67ab02d9c6169542..24497e4b27fefce313d4e7184332b7e08d978fcc 100644 (file)
@@ -1,9 +1,3 @@
-@font-face {
-       font-family: 'Noto Sans Gothic';
-       font-display: block;
-       src: url("/static/font/NotoSansGothic-Regular.woff");
-}
-
 @font-face {
        font-family: 'JetBrains Mono';
        font-style: normal;
@@ -116,6 +110,8 @@ html {
 
        --media-size-unit: 0.035vw;
 
+       --aside-width: 40%;
+
        /***************
        * color params *
        ***************/
@@ -837,10 +833,6 @@ iframe {
        text-align: center;
 }
 
-.lang-gothic {
-       font-family: 'Noto Sans Gothic', sans-serif;
-}
-
 @font-face {
        font-family: 'Tulasra';
        src: url(/static/font/tylan-language-alphabet-3.woff) format('woff');