use DroidSansFallback font, but PDF output in a mess

Phoca PDF - creating PDF documents in Joomla! CMS
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: use DroidSansFallback font, but PDF output in a mess

Post by Jan »

If you find Phoca extensions useful, please support the project
baijianpeng
Phoca Member
Phoca Member
Posts: 27
Joined: 11 Nov 2007, 05:03

Re: use DroidSansFallback font, but PDF output in a mess

Post by baijianpeng »

Yes, I also noticed that microhei font was in ttc format. Forget it then. The Khmer version Droid Sans Fallback is good.

Thank you.

BTW, you said you used the same method as mine to produce those PHP font files, I wonder why we got different results? Could you please tell me the exact command line you used ? I want to following your steps to try again.

Thanks.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: use DroidSansFallback font, but PDF output in a mess

Post by Jan »

Hi,

:: run: ttf2ufm -a -F fontname
:: then: php.exe -q -q makefont.php fontname fontnameUFM

Jan
If you find Phoca extensions useful, please support the project
baijianpeng
Phoca Member
Phoca Member
Posts: 27
Joined: 11 Nov 2007, 05:03

Re: use DroidSansFallback font, but PDF output in a mess

Post by baijianpeng »

I see the difference: I used one "-q" parameter but you used double .

And, where did you download that ttf2ufm.exe ? where did you download that "makefont.php" file? I want to use the same tool as yours.

Thanks.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: use DroidSansFallback font, but PDF output in a mess

Post by Jan »

Hi, I thik, this should be only one -q, it was typo error
If you find Phoca extensions useful, please support the project
tsx11
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 01 Apr 2013, 12:25

Re: use DroidSansFallback font, but PDF output in a mess

Post by tsx11 »

Hi, quick feedback on this font package: when I installed it, I had to edit the XML file so the case of the filenames in the archive matched that in the XML. Not sure if others will also encounter this, so I thought I'd share.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: use DroidSansFallback font, but PDF output in a mess

Post by Jan »

Hi, for me there is no such problem, but maybe on some server it can be :idea: Thank you for the info, I will change it.

Jan
If you find Phoca extensions useful, please support the project
Post Reply