www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.dwt - ICU for dwtx

reply Frank Benoit <keinfarbton googlemail.com> writes:
The original ui.forms do use the lib ICU for boundary analysis
http://www.icu-project.org/userguide/boundaryAnalysis.html
This is to make the decision where to break long text into lines.

My first thought was to do a most simple implementation and omit the 
dependency. But it seems to me, the implementation is not easy.

So the best way seems to me, go the way the original eclipse designers 
choose. Use ICU.
Thought?
Jun 20 2008
parent reply John Reimer <terminal.node gmail.com> writes:
Hello Frank,

 The original ui.forms do use the lib ICU for boundary analysis
 http://www.icu-project.org/userguide/boundaryAnalysis.html This is to
 make the decision where to break long text into lines.
 
 My first thought was to do a most simple implementation and omit the
 dependency. But it seems to me, the implementation is not easy.
 
 So the best way seems to me, go the way the original eclipse designers
 choose. Use ICU.
 Thought?
I agree. :) Probably best to go with the full ICU. Will the old Mango ICU wrapper work, or is it outdated? -JJR
Jun 20 2008
parent Frank Benoit <keinfarbton googlemail.com> writes:
John Reimer schrieb:
 Hello Frank,
 
 The original ui.forms do use the lib ICU for boundary analysis
 http://www.icu-project.org/userguide/boundaryAnalysis.html This is to
 make the decision where to break long text into lines.

 My first thought was to do a most simple implementation and omit the
 dependency. But it seems to me, the implementation is not easy.

 So the best way seems to me, go the way the original eclipse designers
 choose. Use ICU.
 Thought?
I agree. :) Probably best to go with the full ICU. Will the old Mango ICU wrapper work, or is it outdated? -JJR
yes and no. in general it works, but to work good with utf8 some changes and additions are needed. (ICU works in general with utf16)
Jun 21 2008