Skip to content

Commit

Permalink
km: Banking partial update per #111
Browse files Browse the repository at this point in the history
  • Loading branch information
r12a committed Dec 29, 2021
1 parent 262d285 commit 3fec300
Show file tree
Hide file tree
Showing 8 changed files with 431 additions and 198 deletions.
Binary file added khmer/images/syll_orthographic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added khmer/images/syll_phonetic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
331 changes: 249 additions & 82 deletions khmer/index.html

Large diffs are not rendered by default.

131 changes: 80 additions & 51 deletions khmer/km-details.html

Large diffs are not rendered by default.

112 changes: 56 additions & 56 deletions khmer/km-examples.js

Large diffs are not rendered by default.

16 changes: 13 additions & 3 deletions khmer/km.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,19 @@
text-align: start;
line-height:1.7;
}

@media print { #freeText { font-size: 18px; } }

[lang=km] { font-family: 'Khmer OS Battambang WF', "Battambang WF", "Khmer OS Battambang", "Noto Serif Khmer WF", "Noto Serif Khmer", "Noto Sans Khmer WF", "Noto Sans Khmer", "DaunPenh", "Khmer Sangam MN","Arial Unicode MS", serif; font-size: 130%; }
[lang=km] {
font-family: "Noto Serif Khmer WF", 'Khmer OS Battambang WF', "Battambang WF", "Khmer OS Battambang", "Noto Serif Khmer", "Noto Sans Khmer WF", "Noto Sans Khmer", "DaunPenh", "Khmer Sangam MN","Arial Unicode MS", serif;
font-size: 130%;
}

.charExample .ex {
font-size: 2rem;
}

:lang(km-x-round) { font-family:"Khmer Mool"; font-size: 140%; }

.large .ex { font-size: 300%; margin-top: .5em; margin-bottom: 0.5em; line-height: 1; }

@media print { #freeText { font-size: 18px; } }

12 changes: 6 additions & 6 deletions khmer/local.css
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
@font-face {
font-family: 'Noto Sans Khmer WF';
src: url('/shared/webfonts/notosanskhmer-regularwebfont.woff2') format('woff2'),
url('/shared/webfonts/notosanskhmer-regularwebfont.woff') format('woff');
src: url('../../shared/webfonts/notosanskhmer-regularwebfont.woff2') format('woff2'),
url('../../shared/webfonts/notosanskhmer-regularwebfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Noto Serif Khmer WF';
src: url('/shared/webfonts/notoserifkhmer-regular-webfont.woff2') format('woff2'),
url('/shared/webfonts/notoserifkhmer-regular-webfont.woff') format('woff');
src: url('../../shared/webfonts/notoserifkhmer-regular-webfont.woff2') format('woff2'),
url('../../shared/webfonts/notoserifkhmer-regular-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Battambang WF';
font-style: normal;
font-weight: normal;
src: url('/shared/webfonts/khmerosbbangw.woff');
src: url('../../shared/webfonts/khmerosbbangw.woff');
}

:lang(km) { font-family: webfont, "Battambang WF", "Khmer OS Battambang", "Noto Serif Khmer WF", "Noto Serif Khmer", "Noto Sans Khmer WF", "Noto Sans Khmer", "DaunPenh", "Khmer Sangam MN","Arial Unicode MS", serif; font-size: 130%; }
:lang(km) { font-family: webfont, "Battambang WF", "Khmer OS Battambang", "Noto Serif Khmer WF", "Noto Serif Khmer", "Noto Sans Khmer WF", "Noto Sans Khmer", "DaunPenh", "Khmer Sangam MN","Arial Unicode MS", serif; font-size: 1.3rem; }
:lang(km-x-round) { font-family:"Khmer Mool"; font-size: 140%; }

#index td { font-family: webfont, "Khmer OS Battambang", "Battambang WF", "Noto Sans Khmer WF", "Noto Sans Khmer", "Arial Unicode MS", serif; font-size: 26px; padding: 16px; text-align:left; }
Expand Down
27 changes: 27 additions & 0 deletions khmer/refs.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
reflist = {


/*
"auth_initials": {
"authors": "Sort_by_family_name_of_first_contributor",
"title":"The_Worlds_Writing_Systems",
"sub": "subtitle",
"date": "1996",
"retr": "May 2021",
"publisher":"Oxford_University_Press",
"isbn":"0-19-507993-0",
"pages": "xxx",
"url":"refs",
"lang": new Set(['ru']),
"reviewed":false
},
*/


"d": {
"url":"#refs",
"authors": "Peter T. Daniels and William Bright",
Expand All @@ -16,6 +33,16 @@ reflist = {
"title":"Cambodian System of Writing",
},

"mh": {
"authors": "Martin Hosken",
"title":"Khmer Encoding",
"date": "2021",
"retr": "Dec 2021",
"url":"refs",
"lang": new Set(['km']),
"reviewed":false
},

"rh": {
"url":"#refs",
"authors": "Richard Gilbert & Sovandy Hang",
Expand Down

0 comments on commit 3fec300

Please sign in to comment.