Thank you, Kenji and Devin ! > You can try: set the textSize of line 1 of fld "ja" to nn > > Or you can try modifying the htmlText of the field:
It works well ! > on mouseUp > put the unicodeText of fld 1 into jText > repeat with i=10 to 48 > set the textsize of fld "ja" to i > set the unicodeText of fld "ja" to jText > set the textsize of fld "en" to i > wait 10 ticks > put i into msg > end repeat > end mouseUp It works well ! I solved my problem perfectly. Thank for your help indeed. On 2011/11/05, at 1:33, Devin Asay wrote: > Hi 吉野 孝, > > Rule 1 when doing Japanese unicode in LiveCode--always listen to Kenji! > > Here's my own take: > > You will have to set the text size of the text chunks inside the field, > rather than the field itself. It can be a little tricky. > > You can try: set the textSize of line 1 of fld "ja" to nn > > Or you can try modifying the htmlText of the field: > > replace "size=" & quote & nn in fld "ja" with "size=" & quote & xx > > You have to experiment a little bit, but you can make it work. I did it a > couple of years ago with a project that required Chinese text. > > Hope this helps. > > Devin > > On Nov 3, 2011, at 1:51 AM, 吉野 孝 wrote: > >> Hi, >> >> I have a question about text size and HTMLtext. >> >> I want to use Japanese text in my LiveCode stacks. >> I can input Japanese text to a field by only using HTMLtext. >> >> But, I don't change text size of Japanese font size. >> English font can change. >> >> Here is my sample script. >> >> on mouseUp >> repeat with i=10 to 48 >> set the textsize of fld "ja" to i >> set the textsize of fld "en" to i >> wait 10 ticks >> put i into msg >> end repeat >> end mouseUp >> >> I need your help. >> >> _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ >> Takashi Yoshino >> http://www.wakayama-u.ac.jp/~yoshino/lab/ >> Tel: +81-73-457-8441 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ Takashi Yoshino http://www.wakayama-u.ac.jp/~yoshino/lab/ Tel: +81-73-457-8441 _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode