mirror of
https://github.com/anidl/multi-downloader-nx.git
synced 2026-01-11 20:10:20 +00:00
added new ASS fonts and new CCC fix fonts
Some checks failed
auto-documentation / documentation (push) Has been cancelled
Style and build test / tsc (push) Has been cancelled
Style and build test / eslint (push) Has been cancelled
Style and build test / prettier (push) Has been cancelled
Style and build test / build-test (push) Has been cancelled
Some checks failed
auto-documentation / documentation (push) Has been cancelled
Style and build test / tsc (push) Has been cancelled
Style and build test / eslint (push) Has been cancelled
Style and build test / prettier (push) Has been cancelled
Style and build test / build-test (push) Has been cancelled
This commit is contained in:
parent
7ad5be74e6
commit
36c15d0f8d
2 changed files with 18 additions and 0 deletions
15
crunchy.ts
15
crunchy.ts
|
|
@ -2687,6 +2687,21 @@ export default class Crunchy implements ServiceClass {
|
|||
return `Style: ${name},Arial,20,&H00FFFFFF,&H0000FFFF,&H00000000,&H7F404040,-1,0,0,0,100,100,0,0,1,2,1,${align},0020,0020,0022,0`;
|
||||
});
|
||||
break;
|
||||
case 'hi-IN':
|
||||
sBody = sBody.replace(/^Style:\s*([^,]+),.*?,(\d+),0,0,0,0$/gm, (match, name, align) => {
|
||||
return `Style: ${name},Mangal,24,&H00FFFFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,2,1,${align},0010,0010,0018,0`;
|
||||
});
|
||||
break;
|
||||
case 'ta-IN':
|
||||
sBody = sBody.replace(/^Style:\s*([^,]+),.*?,(\d+),0,0,0,0$/gm, (match, name, align) => {
|
||||
return `Style: ${name},Noto Sans Tamil,24,&H00FFFFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,2,1,${align},0010,0010,0018,0`;
|
||||
});
|
||||
break;
|
||||
case 'te-IN':
|
||||
sBody = sBody.replace(/^Style:\s*([^,]+),.*?,(\d+),0,0,0,0$/gm, (match, name, align) => {
|
||||
return `Style: ${name},Noto Sans Telugu,24,&H00FFFFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,2,1,${align},0010,0010,0018,0`;
|
||||
});
|
||||
break;
|
||||
case 'vi-VN':
|
||||
sBody = sBody.replace(/^Style:\s*([^,]+),.*?,(\d+),0,0,0,0$/gm, (match, name, align) => {
|
||||
return `Style: ${name},Arial Unicode MS,20,&H00FFFFFF,&H0000FFFF,&H00000000,&H7F404040,-1,0,0,0,100,100,0,0,1,2,1,${align},0020,0020,0022,0`;
|
||||
|
|
|
|||
|
|
@ -41,7 +41,10 @@ const fontFamilies = {
|
|||
'Georgia Italic': ['georgiai.ttf'],
|
||||
Impact: ['impact.ttf'],
|
||||
'Meera Inimai': ['MeeraInimai-Regular.ttf'],
|
||||
Mangal: ['MANGAL.TTF'],
|
||||
'Noto Sans Thai': ['NotoSansThai.ttf'],
|
||||
'Noto Sans Telugu': ['NotoSansTeluguVariable.ttf'],
|
||||
'Noto Sans Tamil': ['NotoSansTamilVariable.ttf'],
|
||||
Rubik: ['Rubik-Regular.ttf'],
|
||||
'Rubik Black': ['Rubik-Black.ttf'],
|
||||
'Rubik Black Italic': ['Rubik-BlackItalic.ttf'],
|
||||
|
|
|
|||
Loading…
Reference in a new issue