english font render problem in chinese document

The PDF-XChange Viewer for End Users
+++ FREE +++

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

tbsky
User
Posts: 3
Joined: Tue Aug 07, 2007 10:19 am

english font render problem in chinese document

Post by tbsky »

hi:
i use tcpdf (http://www.tcpdf.org) to create chinese pdf document.
the chinese character is fine. but the english letter in the pdf looks very ugly. the spacing of characters seems wrong, so they will get too close or too split.
the pdf looks fine in adobe reader.
i attach the sample pdf file and the picture. above is in pdf-xchange view, below is in adobe reader.
thanks a lot for help!!
You do not have the required permissions to view the files attached to this post.
User avatar
Lzcat - Tracker Supp
Site Admin
Posts: 677
Joined: Thu Jun 28, 2007 8:42 am

Re: english font render problem in chinese document

Post by Lzcat - Tracker Supp »

Problem is that font, used in this pdf file, is not embedded, so it will be substituted. Adobe use it's own font, which supplied with them, Viewer - select one of fonts in sytem. It you need file look good on all systems in all readers - please embedd used fonts or use more common one.
Victor
Tracker Software
Project manager

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
JamesPatageule
User
Posts: 16
Joined: Wed Apr 01, 2009 10:20 am

Re: english font render problem in chinese document

Post by JamesPatageule »

Ok,

And it is possible to hope a "Eastern Language Pack" to support Japaneese, Chineese (simplified and traditonnal) fonts ?

Thanks for the answers
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3603
Joined: Thu Jul 08, 2004 10:36 pm

Re: english font render problem in chinese document

Post by Ivan - Tracker Software »

If you know good CJK fonts which we will be able to redistribute for free.
PDF-XChange Co Ltd. (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
JamesPatageule
User
Posts: 16
Joined: Wed Apr 01, 2009 10:20 am

Re: english font render problem in chinese document

Post by JamesPatageule »

Thanks for the answer, i don't know good packs but i will search for you without any problems !

For example : http://zsigri.tripod.com/fontboard/cjk/cjksupp.html

Give me your needs with this fonts, i am looking for them ...

Can we imagine the same with other languages ? Like Arabic, Turkish, etc ???
tbsky
User
Posts: 3
Joined: Tue Aug 07, 2007 10:19 am

Re: english font render problem in chinese document

Post by tbsky »

Lzcat wrote:Problem is that font, used in this pdf file, is not embedded, so it will be substituted. Adobe use it's own font, which supplied with them, Viewer - select one of fonts in sytem. It you need file look good on all systems in all readers - please embedd used fonts or use more common one.
yes i know it will be substituted, that's ok. because CJK fonts are big so i don't want to embedded them. but i don't know why the substitution makes the english letters look so ugly?

about free CJK font, there are many of them. please consider using this one for Chinese font(most linux distribution include it):
ftp://ftp.opendesktop.org.tw/odp/ODOFon ... 4.2.tar.gz

or the old version:
http://www.study-area.org/apt/firefly-f ... 3.0.tar.gz

it would be great if it can be included.
thanks for your help!!
User avatar
Lzcat - Tracker Supp
Site Admin
Posts: 677
Joined: Thu Jun 28, 2007 8:42 am

Re: english font render problem in chinese document

Post by Lzcat - Tracker Supp »

tbsky wrote:yes i know it will be substituted, that's ok. because CJK fonts are big so i don't want to embedded them. but i don't know why the substitution makes the english letters look so ugly?
This is because even font is not embedded PDf file contain it metrics (character width and so on). If we select different font - it use other metrics. Problem is that most fonts have different metrics (and same letters in different fonts may have different widths), but position for each letter is determined using information which is stored into PDF file - this is why text looks not good. Most CJK characters have same (or very similar) metrics (width and height), so changing font will not result letter misalignment for them.
Another solution for your case - use one of "standard" fonts for english text (like Arial, Times, Helvetica, Courier, etc.) and other for CJK characters (if creator can handle this).
Victor
Tracker Software
Project manager

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
tbsky
User
Posts: 3
Joined: Tue Aug 07, 2007 10:19 am

Re: english font render problem in chinese document

Post by tbsky »

Lzcat wrote:
tbsky wrote:yes i know it will be substituted, that's ok. because CJK fonts are big so i don't want to embedded them. but i don't know why the substitution makes the english letters look so ugly?
This is because even font is not embedded PDf file contain it metrics (character width and so on). If we select different font - it use other metrics. Problem is that most fonts have different metrics (and same letters in different fonts may have different widths), but position for each letter is determined using information which is stored into PDF file - this is why text looks not good. Most CJK characters have same (or very similar) metrics (width and height), so changing font will not result letter misalignment for them.
Another solution for your case - use one of "standard" fonts for english text (like Arial, Times, Helvetica, Courier, etc.) and other for CJK characters (if creator can handle this).
thanks a lot for your explanation. so adobe reader must do some tricks for this situation. the spacing looks fine with the substituted font.
i can not create page with different fonts. but i think maybe i can create page with pdf-xchange font metrics. can i get the font "New Gulim" which pdf-xchange use? then i can create pages which looks good both under pdf-xchange and adobe reader.
ah. i just found the font "New Gulim" is actually in my windows XP. so it's best that pdf-xchange can include some CJK font, to make sure the looking are the same.
thanks again for your quick help!!