1.0.16 • Published 1 year ago

pdfmake-with-chinese-fonts v1.0.16

Weekly downloads
2
License
MIT
Repository
github
Last release
1 year ago
import pdfMake from "pdfmake-with-chinese-fonts/pdfmake";
import pdfFonts from "pdfmake-with-chinese-fonts/vfs_fonts";

pdfMake.vfs = pdfFonts.pdfMake.vfs;

pdfMake.fonts = {
 	 Roboto: {
		normal: 'Roboto-Regular.ttf',
		bold: 'Roboto-Bold.ttf',
		italics: 'Roboto-Italic.ttf',
		black: 'Roboto-Black.ttf'
	},
	whzming: {
		normal: 'whz-ming-regular.ttf',
		bold: 'whz-ming-bold.ttf',
	},

	simsun: {
		normal: 'SimSun-Regular.ttf',
		bold: 'SimSun-Bold.ttf',
	},

};

defaultStyle: {font: 'Roboto' },`
1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago