From d7f6ee598dc33e01ed1b6d5e4a201e6f6e2bacc3 Mon Sep 17 00:00:00 2001 From: Meng-Heng Date: Thu, 21 May 2026 16:14:07 +0700 Subject: [PATCH 1/2] chore: khmer translation now uses busra font --- cdn/dev/css/template.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/cdn/dev/css/template.css b/cdn/dev/css/template.css index 22395ba1..9f289d27 100644 --- a/cdn/dev/css/template.css +++ b/cdn/dev/css/template.css @@ -257,6 +257,20 @@ html { src: url('//s.keyman.com/font/deploy/LateefRegOT.ttf') format("truetype"); } +@font-face { + font-family: Busra; + font-style: normal; + font-weight: normal; + src: url('//s.keyman.com/font/deploy/Busra-Regular.ttf') format("truetype"); + unicode-range: U+1780-17FF, U+19E0-19FF; +} + +/* Khmer */ +:lang(km) { + /* The browser will automatically use Busra for Khmer chars and Cabin or Sans-serif for others */ + font-family: 'Busra','Cabin', sans-serif; +} + /* Amharic */ :lang(amh).lang-example { font-family: GeezWeb; From 473063068935a82b3f8a03dae31b789de248036a Mon Sep 17 00:00:00 2001 From: Meng-Heng Date: Fri, 22 May 2026 17:05:19 +0700 Subject: [PATCH 2/2] chore: move lang(km) under lang(lao) --- cdn/dev/css/template.css | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/cdn/dev/css/template.css b/cdn/dev/css/template.css index 9f289d27..a884c9ef 100644 --- a/cdn/dev/css/template.css +++ b/cdn/dev/css/template.css @@ -265,11 +265,7 @@ html { unicode-range: U+1780-17FF, U+19E0-19FF; } -/* Khmer */ -:lang(km) { - /* The browser will automatically use Busra for Khmer chars and Cabin or Sans-serif for others */ - font-family: 'Busra','Cabin', sans-serif; -} +/* Alphabetically */ /* Amharic */ :lang(amh).lang-example { @@ -291,6 +287,12 @@ html { font-family: LaoWeb; } +/* Khmer */ +:lang(km) { + /* The browser will automatically use Busra for Khmer chars and Cabin or Sans-serif for others */ + font-family: Busra, Cabin, sans-serif; +} + /* Malayalam :lang(mal).lang-example { font-family: GeezWeb;