View Full Version : chinese movie information(plot) not display multi-line
like this:
http://bbs.htpc1.com/attachments/forumid_171/20090205_31d754d3f686173158326JbosGfAkigf.gif
jmarshall
2009-02-04, 21:26
Questions:
1. What should it look like?
2. Are there linebreaks included in the text?
3. Is it supposed to be wrapped in some way?
Remember: None of the devs understand chinese.
Questions:
1. What should it look like?
2. Are there linebreaks included in the text?
3. Is it supposed to be wrapped in some way?
Remember: None of the devs understand chinese.
1. can't you see the screenshot?
2,3. english message seperate word by space, but chinese message have no space between word, and chinese message can wrapped anywhere.
jmarshall
2009-02-05, 03:59
1. Ofcourse I can see the screenshot. That shows me what is wrong. It does not show me what it should look like. I have no idea, as I'm not Chinese, and don't speak or understand Chinese.
2,3. That could cause major problems for the engine. If there are no spaces, then no wrapping can be done as it is currently. I'll have to think about this.
2,3. That could cause major problems for the engine. If there are no spaces, then no wrapping can be done as it is currently. I'll have to think about this.
where's the code for warp message in XBMC, in which module? i want to take some work about this.
jmarshall
2009-02-05, 04:27
It's in guilib/GUITextLayout.cpp
It's in guilib/GUITextLayout.cpp
Thanks for your help. I have modified GUITextLayout.cpp and solve the problem. I create a new Ticket #5854.
Now can display chinese in multi line:
http://bbs.htpc1.com/attachments/forumid_171/20090206_b596075506e305139e75HVWLcowU24Wa.gif
jmarshall
2009-02-05, 22:45
Thanks very much! I (or someone else) will review the patch later on.
Cheers,
Jonathan