Changed Japanese Font + removed font size adjustment

This commit is contained in:
Lugiad 2025-06-23 23:25:32 +02:00 committed by GitHub
parent 0d3446b354
commit 2d6a623eb5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -76,14 +76,13 @@ const fonts: Array<LoadingFontFaceProperty> = [
},
// japanese
{
face: new FontFace("emerald", "url(./fonts/Galmuri11.subset.woff2)", {
face: new FontFace("emerald", "url(./fonts/pokemon-bw.otf)", {
unicodeRange: rangesByLanguage.japanese,
}),
extraOptions: { sizeAdjust: "66%" },
only: ["ja"],
},
{
face: new FontFace("pkmnems", "url(./fonts/Galmuri9.subset.woff2)", {
face: new FontFace("pkmnems", "url(./fonts/pokemon-bw.otf)", {
unicodeRange: rangesByLanguage.japanese,
}),
only: ["ja"],