Skip to content

Dr-NULL/Issues-PDFKit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Issue Report - PDFKit

This is an example project which generate and PDF Document. The problem is than PDFKit has an strange behavior when inserts chinese characters.

Details:

  • When inserts some characters (like "产品名"), the texts which inserted next only shows a few characters.
  • Some normal characters such two-dots ":" doesn't rendered by PDFKit.

Remarks:

That issues only ocurs with fonts with chinese characters, like:

Regarding the Files:

  • The Output File is generated in source/test.pdf
  • The Sample code is in src/index.ts

How to run the Test:

Prerequisites:

Prepare the project:

Execute these commands, line by line, pressing enter after every line ending:

npm update
tsc
npm test

About

Issues PDFKit → Strange behavior with chinese characters.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •