R
R
Roman Rakzin2015-01-30 16:55:34
PHP
Roman Rakzin, 2015-01-30 16:55:34

How to include your font when generating pdf in TCPDF?

Good afternoon.
How to include your font when generating pdf in TCPDF?
It doesn't fit www.tcpdf.org/fonts.php
Tools css (style=" font-family: Tahoma;") - also
Please tell me how to display the fonts I need, otherwise I've been fucking for 3 weeks
Thank you very much

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
Fanis X, 2015-02-06
@FaNiska

Greetings. The www.tcpdf.org/fonts.php
page you mentioned contains comprehensive information on how to use other fonts. Namely, 1) download the desired font to your server 2) as indicated in the documentation, connect the font by specifying the path to it
3) Again, as indicated in the documentation, install the font of the document
----------
There should be no problems. I solved my problems solely by reading the documentation. There was also a need to use a different font that was not included in the set of this script.

A
A person from Kazakhstan, 2017-08-27
@nemarta

https://codepen.io/anon/pen/rzZrqM and a screenshot in the comments

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question