Issue 350 in pymt: How to show non-ascii character on label?

0 views
Skip to first unread message

py...@googlecode.com

unread,
Nov 23, 2010, 8:02:30 AM11/23/10
to pymt-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 350 by chromeneu: How to show non-ascii character on label?
http://code.google.com/p/pymt/issues/detail?id=350

I can't show non-ascii character on a MTLabel.For example, Chinese.

I handle the string with Unicode, but it doesn't work. I can print the
string in console, and it showes correctly. But when I use it in a MTLabel,
it just show some non-sense character. Why?

Thank you very much!


py...@googlecode.com

unread,
Nov 23, 2010, 8:29:43 AM11/23/10
to pymt-...@googlegroups.com
Updates:
Status: Accepted

Comment #1 on issue 350 by txprog: How to show non-ascii character on label?
http://code.google.com/p/pymt/issues/detail?id=350

I don't think that the DejaVuSans.ttf handle chinese characters. Can you
try to use your own ttf font instead ?

py...@googlecode.com

unread,
Nov 24, 2010, 8:06:56 AM11/24/10
to pymt-...@googlegroups.com

Comment #2 on issue 350 by chromeneu: How to show non-ascii character on
label?
http://code.google.com/p/pymt/issues/detail?id=350

I use a ttf font that supports Chinese characters.
Problem solved! Thank you very much!

py...@googlecode.com

unread,
Nov 24, 2010, 9:48:59 AM11/24/10
to pymt-...@googlegroups.com
Updates:
Status: Done

Comment #3 on issue 350 by txprog: How to show non-ascii character on label?
http://code.google.com/p/pymt/issues/detail?id=350

(No comment was entered for this change.)

Reply all
Reply to author
Forward
0 new messages