1.0.16 • Published 3 years ago

pdfmake-with-chinese-fonts v1.0.16

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years 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

3 years ago

1.0.15

3 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago