Some notes for information:
FWH does not provide THaruPDF class.
Instead we have FWPDF class derived from TPDF class.
PDF internal font list:
- Code: Select all Expand view
Courier
Courier-Bold
Courier-Oblique
Courier-BoldOblique
Helvetica
Helvetica-Bold
Helvetica-Oblique
Helvetica-BoldOblique
Times-Roman
Times-Bold
Times-Italic
Times-BoldItalic
Symbol
ZapfDingbats
Instead of GetHaruFontList(..) you may use
oPdf:aTTFFontList
Initially, FWPdf is loaded with this list
- Code: Select all Expand view
+-----------+----------------------------+
|Arial |C:\WINDOWS\Fonts\arial.ttf |
|Verdana |C:\WINDOWS\Fonts\verdana.ttf|
|Courier New|C:\WINDOWS\Fonts\cour.ttf |
|Calibri |C:\WINDOWS\Fonts\calibri.ttf|
|Tahoma |C:\WINDOWS\Fonts\tahoma.ttf |
|Impact |C:\WINDOWS\Fonts\impact.ttf |
|Segoe UI |C:\WINDOWS\Fonts\segoeui.ttf|
+-----------+----------------------------+
Instead of HaruAddFont()
we can use oPdf:AddFont( cFontname, cTtfFileName )
We have not added EAN font in the default list, because this font is not installed on all computers bu default and we prefer to generate bar codes on our own than using barcode fonts.