mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-02-28 06:22:45 -08:00
feat: bundle M PLUS 1 as default overlay font
- Add M PLUS 1 variable weight font (100-900) to src/renderer/fonts/ - Add @font-face declaration in style.css - Update default fontFamily for primary and secondary subtitles - Add macOS (Hiragino Sans) and Windows (Yu Gothic) fallbacks - Update build script to copy fonts dir to dist/renderer/
This commit is contained in:
@@ -173,7 +173,7 @@ export const DEFAULT_CONFIG: ResolvedConfig = {
|
||||
subtitleStyle: {
|
||||
enableJlpt: false,
|
||||
preserveLineBreaks: false,
|
||||
fontFamily: 'Noto Sans CJK JP Regular, Noto Sans CJK JP, Arial Unicode MS, Arial, sans-serif',
|
||||
fontFamily: 'M PLUS 1, Noto Sans CJK JP Regular, Noto Sans CJK JP, Hiragino Sans, Hiragino Kaku Gothic ProN, Yu Gothic, Arial Unicode MS, Arial, sans-serif',
|
||||
fontSize: 35,
|
||||
fontColor: '#cad3f5',
|
||||
fontWeight: 'normal',
|
||||
@@ -202,7 +202,7 @@ export const DEFAULT_CONFIG: ResolvedConfig = {
|
||||
backgroundColor: 'transparent',
|
||||
fontWeight: 'normal',
|
||||
fontStyle: 'normal',
|
||||
fontFamily: 'Noto Sans CJK JP Regular, Noto Sans CJK JP, Arial Unicode MS, Arial, sans-serif',
|
||||
fontFamily: 'M PLUS 1, Noto Sans CJK JP Regular, Noto Sans CJK JP, Hiragino Sans, Hiragino Kaku Gothic ProN, Yu Gothic, Arial Unicode MS, Arial, sans-serif',
|
||||
},
|
||||
},
|
||||
auto_start_overlay: false,
|
||||
|
||||
Reference in New Issue
Block a user