Pdf hbhpdf
Posted: Sat Jan 21, 2012 9:03 am
Hi everybody.
Is there someone who are using harbour/contrib/hbhpdf library? I need help related with external fonts loaded.
I'm using this line code (is a True Type Font - file name is .ttf ):
where: <::s_oHrPdf> is the HPDF_New() object and <cFileName> is the .ttf file
Font is loaded, no errors are returned while loading, but text showed it's not the same: it's different.
In attachment, you can find a free ttf file; I used it to do experiments.
Many thanks in advance.
Best regards
Is there someone who are using harbour/contrib/hbhpdf library? I need help related with external fonts loaded.
I'm using this line code (is a True Type Font - file name is .ttf ):
Code: Select all
cLoadedFont := HPDF_LoadTTFontFromFile( ::s_oHrPdf, cFileName, HPDF_TRUE )Font is loaded, no errors are returned while loading, but text showed it's not the same: it's different.
In attachment, you can find a free ttf file; I used it to do experiments.
Many thanks in advance.
Best regards