PDA

View Full Version : Layout issues with Chinese


Superbob0000
05-14-2005, 10:26 AM
Well ive looked through the forums, havent found anything about this yet....
I have some chinese BIG5 text, that i have in 2 versions. BIG5, and i have converted all the characters into raw unicode text (些䥍). I have converted both with isilox with "text encoding options" set to unicode and BIG5, both give me the same result on PPC PDA. I have uploaded a .jpg of the screen shot(not a great shot, but you can see alignment). This is a screenshot of windows viewer, but it does the same thing.
If you notice the text on the right hand side isnt lined up. on the ppc its even worse.the way the html is written is this:

<font size=+2><a href="MatthewC1.htm" name="1">1</a> 亞伯拉罕的子孫, 大衛的子孫, 耶穌基督的歷史書:</font>

or unicode version is
<font size=+2><a href="MatthewC1.htm" name="1">1</a> 亞伯拉罕的子孫, 大衛的子孫, 耶穌基督的歷史書:</font>


so i want the text to be justified perfectly on left hand side and pretty good on the right. i have tried the <p align="justify"> and it doesnt seem to translate through iSiloX. that said i dont know how to get this to work. hopefully someone has a suggestion.

thanks

iSilo
05-14-2005, 04:34 PM
iSilo does not support line justification. For line breaking, it looks for a space character before the end of the line. So one thing you can do, assuming that the characters of the font are each all the same width, is to either remove all spaces or replace them with non-breaking spaces (e.g., &nbsp; ).

Superbob0000
05-14-2005, 06:45 PM
yes, that worked! the power of the &nbsp. i wonder why iSiloX didnt convert those for me, when i asked it to....now worries now tho.

thanks again