Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fredbwang/tcpdf-easytable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

10 Commits

Repository files navigation

tcpdf-easytable

This is a tcpdf compatible easy-table.

Original code is from fpdf-easytable

Usage

Usage are almost the same, except that you need to modify the fonts file in font folder. simply change the $cw keys from real characters to ascii code or unicode instead.

original your-font.php is like

// some config
$cw = array(chr(0)=>278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278, ...);

modified:

// some config
$cw = array(0=>278,1=>278,2=>278,3=>278,4=>278,5=>278, ...);

If you want to use other font file of ttf format as your font, simply use

TCPDF_FONTS::addTTFfont('path/to/your/ttf/file', 'TrueTypeUnicode');

then you can get corresponding your-font.php. see details at TCPDF_FONT DOC

About

This is a tcpdf library for better and easier pdf tables drawing.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /