Skip to content

Commit

Permalink
Add all of the fallbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Nov 3, 2024
1 parent b25193c commit 132b34f
Showing 1 changed file with 45 additions and 9 deletions.
54 changes: 45 additions & 9 deletions extensions/SharkPool/Font-Manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,15 +236,51 @@
},
],
},
FALLBACKS: [
"Sans Serif",
"Serif",
"Handwriting",
"Marker",
"Curly",
"Pixel",
"Scratch",
],
FALLBACKS: {
acceptReporters: false,
items: [
{
text: 'Sans Serif',
value: 'Sans Serif'
},
{
text: 'Serif',
value: 'Serif'
},
{
text: 'Handwriting',
value: 'Handwriting'
},
{
text: 'Marker',
value: 'Marker'
},
{
text: 'Curly',
value: 'Curly'
},
{
text: 'Pixel',
value: 'Pixel'
},
{
text: 'Mopeds',
value: 'Scratch'
},
{
text: '中文',
value: '"Microsoft YaHei", "微软雅黑", STXihei, "华文细黑"',
},
{
text: '한국어',
value: 'Malgun Gothic',
},
{
text: '日本語',
value: '"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic"',
},
]
},
FILES: {
acceptReporters: true,
items: FONT_EXTENSIONS.map((i) => `.${i}`),
Expand Down

0 comments on commit 132b34f

Please sign in to comment.