This is an archived forum post. The information may be outdated. Contact us if you have any questions.

HTML/Dynamic PHP to PDF Conversion

Deepaats wrote on 2012-03-30:
I have a problem in html url to pdf conversion. This pdf product not supported the different font family .. there is any different format to support different font family. kindly give solution as soon as possible. Thanks
support wrote on 2012-04-01:
Please could you post a sample html code that demonstrates the problem?
Deepaats wrote on 2012-04-03:
Thanks for your reply... this is sample html code..

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Sample html code</title>
</head>

<body>
<p style="font-family:'Brush Script MT';"> Have a nice day </p>
</body>
</html>

when i convert this to pdf its not supported the font given..
support wrote on 2012-04-03:
Brush Script MT is not installed in our system (its use requires a commercial license).

Here is a list of fonts we support:
aakar
Aksharyogini
Andale Mono
Ani
AnjaliOldLipi
Arial
Arial Black
Arian AMU
Arimo
AR PL KaitiM Big5
AR PL KaitiM GB
AR PL Mingti2L Big5
AR PL SungtiL GB
AR PL UKai CN
AR PL UKai HK
AR PL UKai TW
AR PL UKai TW MBE
AR PL UMing CN
AR PL UMing HK
AR PL UMing TW
AR PL UMing TW MBE
Arundina Sans
Arundina Sans Mono
Arundina Serif
BPG Classic
BPG Classic Medium
BPG Classic School
BPG SanSer
Chandas
Comic Sans MS
Courier New
Cousine
Dyuthi
gargi
Garuda
Georgia
Impact
Jamrul
Jomolhari
Kalimati
Kalyani
Kedage
Kinnari
Kochi Gothic
Kochi Mincho
Likhan
Lohit Bengali
Lohit Gujarati
Lohit Hindi
Lohit Kannada
Lohit Oriya
Lohit Punjabi
Lohit Tamil
Lohit Telugu
Loma
Mallige
Meera
mikachan
mikachan\-PB
mikachan\-P
mikachan\-PS
Mitra Mono
Mona
Mukti Narrow
Mukti Narrow
Nakula
Norasi
ori1Uni
padmaa\-Bold.1.1
padmaa
Pothana2000
Purisa
Rachana
RaghuMalayalam
Rekha
Saab
Sahadeva
Samanata
Samyak Devanagari
Samyak Gujarati
Samyak Oriya
Sarai
Sawasdee
Sazanami Gothic
Sazanami Mincho
suruma
Tibetan Machine Uni
Times New Roman
Tinos
TlwgMono
TlwgTypewriter
Tlwg Typist
Tlwg Typo
Trebuchet MS
Umpush
UnBatang
UnBom
UnDotum
UnGraphic
UnGungseo
UnJamoBatang
UnJamoDotum
UnJamoNovel
UnJamoSora
UnPen
UnPenheulim
UnPilgi
UnShinmun
UnTaza
UnYetgul
Vemana2000
Verdana
Waree
Webdings
WenQuanYi Zen Hei


Or you can use the @font-face CSS rule.