Jeckky / dompdf

Automatically exported from code.google.com/p/dompdf
0 stars 0 forks source link

Unicode #416

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I just download source from svn but when I run it, unicode shows wrong.
Example:
<meta   http-equiv="Content-Type"   content="charset=utf-8" />
    <style type="text/css">
        * {
          font-family: "DejaVu Sans Mono","ariblk", "monospace","Times-Roman";
        }
      </style>
<title>Unicode (UTF-8) Test</title> 

</head> 

<body dir="ltr"> 

<h1 lang="en"><small>Unicode (UTF-8) test</small></h1> 
 công nghệ phần mềm ấ ắ ỏ ô nguyễn đỗ
</body>
</html>
Please help me. Thanks

Regards,

Original issue reported on code.google.com by vudp1...@gmail.com on 5 Feb 2012 at 1:42

GoogleCodeExporter commented 8 years ago
The DejaVu fonts support a wide range of character sets, but support for 
specific characters varies from one font family to another. For DejaVu Sans 
Mono Vietnamese does not appear to be supported. You should be able to use 
DejaVu Sans, however.

A sample document showing supported characters for DejaVu Sans Mono can be 
found here:
http://dejavu.sourceforge.net/samples/DejaVuSansMono.pdf

And for DejaVu Sans here:
http://dejavu.sourceforge.net/samples/DejaVuSans.pdf

Here is a sample render using DejaVu Sans:
http://eclecticgeek.com/dompdf/debug.php?identifier=9aa13b1da0927434028b0a49e619
d74e

Always be sure to check that the font you want to use supports the characters 
that you'll be using in your document.

Original comment by eclecticgeek on 5 Feb 2012 at 2:17

GoogleCodeExporter commented 8 years ago
Hello,

Thank you for your help.
Now it is working well with language Vietnamese.

Regards,
Vu Do

Original comment by vudp1...@gmail.com on 6 Feb 2012 at 4:11

GoogleCodeExporter commented 8 years ago
Hello,

I make some mistake about 3 problem:
是一種蘇格蘭傳說中,會預報死亡的女妖精
วันนี้คุณมีสิทธิ ลุ้นรับ
”
With font "DejaVu Sans", it only right with language VietNamese
I don't know how to choose font to allow it right all. Thanks.

Regards,

Original comment by vudp1...@gmail.com on 6 Feb 2012 at 4:42

GoogleCodeExporter commented 8 years ago
The DejaVu fonts support a wide range of characters. However, most logosyllabic 
script (such as written Chinese) do not have wide support. For those you will 
have to find a dedicated font, such as Firefly Sung for Chinese.
ref. http://luc.devroye.org/fonts-51316.html

Original comment by eclecticgeek on 6 Feb 2012 at 6:27

GoogleCodeExporter commented 8 years ago
Hello,

Thank you for your help again.
Now it is working well. 

Reagards,
Vu Do

Original comment by vudp1...@gmail.com on 7 Feb 2012 at 4:43

GoogleCodeExporter commented 8 years ago
Lam sao xuat hien font tieng viet vay ban vudp1...@gmail.com

Original comment by tannguye...@gmail.com on 9 Apr 2013 at 5:01

GoogleCodeExporter commented 8 years ago
What about vietnamese font in dompdf ver0.6.0? 
I have a problem with "Times New Roman" and "Arial" (please refer attachment).
Please support me to fix it.
Thank you.

Original comment by ducnguye...@gmail.com on 30 May 2013 at 2:00

Attachments:

GoogleCodeExporter commented 8 years ago
@ducnguyen1504 dompdf fully supports using Unicode fonts that will display the 
characters used in Vietnamese. Head on over to the support group for help in 
getting set up:
http://groups.google.com/group/dompdf

Also, FYI, we've moved the issue tracker to github:
http://github.com/dompdf/dompdf/issues

Original comment by eclecticgeek on 30 May 2013 at 5:13