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
Image positioning and Language issue
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Image positioning and Language issue
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.
Jan
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.
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 28 Aug 2013, 15:13
Re: Image positioning and Language issue
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
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
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Image positioning and Language issue
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
https://www.phoca.cz/documents/49-phoca- ... -component
Jan
If you find Phoca extensions useful, please support the project