File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 < link rel ="stylesheet " href ="css/cid-colour.css ">
1717 < link rel ="stylesheet " href ="css/nav.css ">
1818 < link rel ="stylesheet " href ="css/cid.css ">
19- < link rel ="stylesheet " href ="https://cdn.jsdelivr.net/gh/nightfurysl2001/webfont-sh-sans @release/index.min.css " id ="font-sheet-sans ">
20- < link rel ="stylesheet " href ="https://cdn.jsdelivr.net/gh/nightfurysl2001/webfont-sh-serif @release/index.min.css " id ="font-sheet-serif ">
19+ < link rel ="stylesheet " href ="https://cdn.jsdelivr.net/gh/nightfurysl2001/shsans-webfont @release/index.min.css " id ="font-sheet-sans ">
20+ < link rel ="stylesheet " href ="https://cdn.jsdelivr.net/gh/nightfurysl2001/shserif-webfont @release/index.min.css " id ="font-sheet-serif ">
2121 < style >
2222 : root {
2323 font-family : sans-serif;
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ buttons.forEach(btn => {
6868
6969 // update css font version to ensure use latest version on change
7070 const sheet = document . querySelector ( "#font-sheet-" + fontfamily . toLowerCase ( ) )
71- sheet . href = `https://cdn.jsdelivr.net/gh/nightfurysl2001/webfont-sh- ${ fontfamily } @${ fontver } /index.css`
71+ sheet . href = `https://cdn.jsdelivr.net/gh/nightfurysl2001/sh ${ fontfamily } -webfont @${ fontver } /index.css`
7272
7373 // update css variable display
7474 r . style . setProperty ( "--preview-font-family" , getComputedStyle ( document . body ) . getPropertyValue ( "--preview-" + fontStyle + "-fallback" ) )
@@ -102,7 +102,7 @@ dropdown.onchange = function(){
102102 fontver = dropdown . value
103103 // update css font ref
104104 const sheet = document . querySelector ( "#font-sheet-" + fontfamily . toLowerCase ( ) )
105- sheet . href = `https://cdn.jsdelivr.net/gh/nightfurysl2001/webfont-sh- ${ fontfamily } @${ fontver } /index.css`
105+ sheet . href = `https://cdn.jsdelivr.net/gh/nightfurysl2001/sh ${ fontfamily } -webfont @${ fontver } /index.css`
106106 // get AI0 and mapping then update display
107107 getFiles ( ) . then ( e => {
108108 // hide loading file warning
@@ -142,6 +142,8 @@ function unicodeCJKBlock(unidec){
142142 return "CJK Ext-H"
143143 if ( 0x2EBF0 <= unidec && unidec <= 0x2EE5F )
144144 return "CJK Ext-I"
145+ if ( 0x323B0 <= unidec && unidec <= 0x3347F )
146+ return "CJK Ext-J"
145147 return null
146148}
147149
You can’t perform that action at this time.
0 commit comments