Skip to content

Commit

Permalink
windows localized font names
Browse files Browse the repository at this point in the history
  • Loading branch information
Thorin-Oakenpants authored Sep 26, 2023
1 parent 204bba3 commit 9cca1b5
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions js/fonts.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,13 @@ let fntMaster = {
'MS Shell Dlg','MS Shell Dlg \\32', // might differ based on system locale/install
'Helv','Helvetica','Times','Tms Rmn', // seems stable

// localized: kBase: detected FF120+: 1850672
'微软雅黑', // Microsoft YaHei
'MS ゴシック', // MS Gothic
'MS Pゴシック', // MS PGothic
'宋体', // SimSun
'游ゴシック', // Yu Gothic

/* ignore: https://searchfox.org/mozilla-central/source/gfx/thebes/gfxDWriteFontList.cpp#1990
'MS Sans Serif','MS Serif','Courier','Small Fonts','Roman',
*/
Expand Down Expand Up @@ -231,18 +238,15 @@ let fntMaster = {
'Utsaah','Vani','Verdana Pro','Vijaya','Vrinda','Yu Mincho',
// localized ^
'바탕', // Batang
'BIZ UDPゴシック', // BIZ UDPGothic
'굴림', // Gulim
'굴림체', // GulimChe
'細明體', // MingLiU
'細明體_HKSCS', // MingLiU_HKSCS
'MS 明朝', // MS Mincho
'MS P明朝', // MS PMincho
'新細明體', // PMingLiU
// localized: kBase but not detected in vis = 1
'微软雅黑', // Microsoft YaHei
'MS ゴシック', // MS Gothic
'MS Pゴシック', // MS PGothic
'宋体', // SimSun

// kBase but broken: 1720408
'Franklin Gothic Medium',
// MS products
Expand Down

0 comments on commit 9cca1b5

Please sign in to comment.