@@ -37,66 +37,22 @@ pdfMake.vfs = pdfFonts.pdfMake.vfs;
37
37
// Add all supported fonts for languages
38
38
pdfMake . fonts = {
39
39
Khmer : {
40
- normal :
41
- 'https://cboardgroupqadiag.blob.core.windows.net/fonts/Khmer-Regular.ttf' ,
42
- bold :
43
- 'https://cboardgroupqadiag.blob.core.windows.net/fonts/Khmer-Regular.ttf'
40
+ normal : 'Khmer-Regular.ttf' ,
41
+ bold : 'Khmer-Regular.ttf'
44
42
} ,
45
43
Roboto : {
46
44
normal : 'Roboto-Regular.ttf' ,
47
- bold : 'Roboto-Regular.ttf'
45
+ bold : 'Roboto-Medium.ttf' ,
46
+ italics : 'Roboto-Italic.ttf' ,
47
+ bolditalics : 'Roboto-MediumItalic.ttf'
48
48
} ,
49
49
Tajawal : {
50
- normal :
51
- 'https://cboardgroupqadiag.blob.core.windows.net/fonts/Tajawal-Regular.ttf' ,
52
- bold :
53
- 'https://cboardgroupqadiag.blob.core.windows.net/fonts/Tajawal-Regular.ttf'
50
+ normal : 'Tajawal-Regular.ttf' ,
51
+ bold : 'Tajawal-Bold.ttf'
54
52
} ,
55
53
THSarabunNew : {
56
- normal :
57
- 'https://cboardgroupqadiag.blob.core.windows.net/fonts/Sarabun-Regular.ttf' ,
58
- bold :
59
- 'https://cboardgroupqadiag.blob.core.windows.net/fonts/Sarabun-Regular.ttf'
60
- } ,
61
- Hind : {
62
- normal :
63
- 'https://cboardgroupqadiag.blob.core.windows.net/fonts/Hind-Medium.ttf' ,
64
- bold :
65
- 'https://cboardgroupqadiag.blob.core.windows.net/fonts/Hind-Medium.ttf'
66
- } ,
67
- NotoSansHebrew : {
68
- normal :
69
- 'https://cboardgroupqadiag.blob.core.windows.net/fonts/NotoSansHebrew.ttf' ,
70
- bold :
71
- 'https://cboardgroupqadiag.blob.core.windows.net/fonts/NotoSansHebrew.ttf'
72
- } ,
73
- NotoSansJP : {
74
- normal :
75
- 'https://cboardgroupqadiag.blob.core.windows.net/fonts/NotoSansJP-Regular.ttf' ,
76
- bold :
77
- 'https://cboardgroupqadiag.blob.core.windows.net/fonts/NotoSansJP-Regular.ttf'
78
- } ,
79
- NotoSansKR : {
80
- normal :
81
- 'https://cboardgroupqadiag.blob.core.windows.net/fonts/NotoSansKR.otf' ,
82
- bold : 'https://cboardgroupqadiag.blob.core.windows.net/fonts/NotoSansKR.otf'
83
- } ,
84
- NotoSansNP : {
85
- normal :
86
- 'https://cboardgroupqadiag.blob.core.windows.net/fonts/NotoSansNP.ttf' ,
87
- bold : 'https://cboardgroupqadiag.blob.core.windows.net/fonts/NotoSansNP.ttf'
88
- } ,
89
- NotoSansSC : {
90
- normal :
91
- 'https://cboardgroupqadiag.blob.core.windows.net/fonts/NotoSansSC-Regular.otf' ,
92
- bold :
93
- 'https://cboardgroupqadiag.blob.core.windows.net/fonts/NotoSansSC-Regular.otf'
94
- } ,
95
- NotoSerifBengali : {
96
- normal :
97
- 'https://cboardgroupqadiag.blob.core.windows.net/fonts/NotoSerifBengali.ttf' ,
98
- bold :
99
- 'https://cboardgroupqadiag.blob.core.windows.net/fonts/NotoSerifBengali.ttf'
54
+ normal : 'THSarabunNew.ttf' ,
55
+ bold : 'THSarabunNew.ttf'
100
56
}
101
57
} ;
102
58
@@ -934,27 +890,6 @@ export async function pdfExportAdapter(boards = [], intl, picsee = false) {
934
890
case 'th' :
935
891
font = 'THSarabunNew' ;
936
892
break ;
937
- case 'hi' :
938
- font = 'Hind' ;
939
- break ;
940
- case 'he' :
941
- font = 'NotoSansHebrew' ;
942
- break ;
943
- case 'ja' :
944
- font = 'NotoSansJP' ;
945
- break ;
946
- case 'ko' :
947
- font = 'NotoSansKR' ;
948
- break ;
949
- case 'ne' :
950
- font = 'NotoSansNP' ;
951
- break ;
952
- case 'zh' :
953
- font = 'NotoSansSC' ;
954
- break ;
955
- case 'bn' :
956
- font = 'NotoSerifBengali' ;
957
- break ;
958
893
default :
959
894
font = 'Roboto' ;
960
895
}
0 commit comments