• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Design & Development v
« Previous 1 … 6 7 8 9 10 11 Next »
Make a 3D text by CJK characters.(experiment)

 
  • 0 Vote(s) - 0 Average
Make a 3D text by CJK characters.(experiment)

tkbd
Offline

Senior Member

Posts: 451
Threads: 115
Joined: Nov 2012
#1
12-06-2014, 12:15 PM
Hello.
Recently, I experimented that try to modify a wpc_tt.erl.
To use non-latin(CJK) glyphs in 3D Text Object.
So,I fumbled about trying to remove the 256 glyph Limit in the code.
For now, one of the goal has been achieved.
ScreenShot is following.

[Image: th_wings_round_mplus_zps49414501.png]
[Image: th_wngs_dfkanteiryu_zps446bb70a.png]
[Image: th_wings_ttf_unicode_zpsafe742cb.png]
[Image: th_wings_ttf_jpn_zpsf5f69371.png]

Currently, there is only one way for input the CJK text in the text field.
It is the way to change the string stored in the setting of Preference.txt,beforehand.
Quote: {{wpc_tt,text},"CJK text is Here"}.

Other way...
PlanA : CJK text input by other text Input Method Engine.
PlanB : Copy & paste from clipboard.
PlanC : Load an external txt file,and update to text form by the containts.
PlanD : Change text form through by Erlang Shell

Hum...Several technical walls currently confronted Sad
At any rate,I need to test whether there are adverse effects due to remove the limit of the glyph.

If there is anyone interested in this, I will tell the changes lines, etc..
dgud
Offline

Grumpy Dev
Posts: 692
Threads: 37
Joined: Nov 2012
#2
12-08-2014, 11:50 AM
Please post, I did something when I converted it wxWidgets code. Don't remember if I fixed that.
But I have written a TT parser for opengl in another project before I remembered that we had one
in wings already, so I have fixed a couple of issues already.
tkbd
Offline

Senior Member

Posts: 451
Threads: 115
Joined: Nov 2012
#3
12-09-2014, 10:11 AM (This post was last modified: 12-16-2014, 10:31 AM by tkbd.)
(12-08-2014, 11:50 AM)dgud Wrote: Please post, I did something when I converted it wxWidgets code. Don't remember if I fixed that.
But I have written a TT parser for opengl in another project before I remembered that we had one
in wings already, so I have fixed a couple of issues already.

Thanks you dgud.
I've uploaded a source file and the changed summary(png image).
The Modifyed file is here
This containes 3 files: difference.png and wpc_tt.erl wpc_tt.beam
(Edit:add wpc_tt.beam,Note: Recognizes the UTF8 string only under certain conditions. set to cjk-font)

Also, I have tested some in order to use non-Latin characters in wpc_tt.
In Preference.txt,there is saved data use for wpc_tt plugin.
when set to utf8 string...For example...
Quote:{{wpc_tt,text},"春夏秋冬"}.
But, when quit Wings application, then string had been save as list.
Quote:{{wpc_tt,text},[26149,22799,31179,20908]}. (these number are utf8charcode).
Although there was no effect on Wings Application's behavior,I was just wondering about this.

I hope as Wings will be more convenientBiggrin
Best regards.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode