fix: replace PDF with HTML report (fontkit unavailable)
This commit is contained in:
@@ -3,9 +3,9 @@ import * as path from 'path';
|
||||
import { PDFDocument, rgb, StandardFonts, PageSizes } from 'pdf-lib';
|
||||
|
||||
const FONT_SEARCH_PATHS = [
|
||||
'C:/Windows/Fonts/NotoSansSC-VF.ttf',
|
||||
'C:/Windows/Fonts/NotoSansJP-VF.ttf',
|
||||
path.join(__dirname, '..', '..', '..', 'assets', 'fonts', 'NotoSansSC-VF.ttf'),
|
||||
'C:/Windows/Fonts/msyh.ttf',
|
||||
'C:/Windows/Fonts/simsun.ttf',
|
||||
'/usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc',
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user