Page 1 of 1

Image positioning and Language issue

Posted: 28 Aug 2013, 15:22
by dotjoomla
Hi,
I have been using Phoca pdf on some websites. Currently I am working on a site with multiple language. I am having issue showing images properly and the language words are showing as question marks.
Some language words are include in the English article itself and they are showing as question mark.

I have positioned the images to the right using float in divs.
I have tried various css codes but none worked.

How can fix these 2 issues.


Thanks
Vijay

Re: Image positioning and Language issue

Posted: 29 Aug 2013, 15:48
by Jan
Hi,

1) then it seems your included font file does not include required characters, so some with these characters needs to be found.

2) PDF is not like HTML (see: https://www.phoca.cz/phocapdf important notice) PDF document does not know float boxes like html/css do. So to align images in PDF they need to be stored e.g. in tables (best rendered tag in html/css and in pdf too) or with other techniques like some align to left, right, etc. :idea:

Jan

Re: Image positioning and Language issue

Posted: 29 Aug 2013, 19:39
by dotjoomla
Hi Jan,
Thanks.
I understand the issue with image positioning can be fixed using tables, that I can manage. However I am more concerned on the font issues.
I am currently using the Helvetica font.
Could you please give me an overview of how I can add more fonts to it? basically I require english but there are some words in other language (Japanese, chinese etc)

Kind Regards
Vijay

Re: Image positioning and Language issue

Posted: 29 Aug 2013, 22:40
by Jan
Hi, try to see similar posts in this forum, there were some solved topics where users described it how to manage fonts with Asian characters.

https://www.phoca.cz/documents/49-phoca- ... -component
Jan