reflow

R

Roedy Green

Gui elements will reflow text breaking into fixed length lines, but is
there anything that will do that on a string and return a string?

Will anything do hyphenation?
--
Roedy Green Canadian Mind Products
http://mindprod.com

"The universe we observe has precisely the properties we should expect if there is, at bottom, no design, no purpose, no evil, no good, nothing but blind, pitiless indifference."
~ Charles Darwin.
 
A

Arne Vajhøj

Roedy said:
Gui elements will reflow text breaking into fixed length lines, but is
there anything that will do that on a string and return a string?

I am not aware of anything builtin.

But it is not that hard to code.

Arne
 
A

Arved Sandstrom

Tom said:
fmt won't, and i don't know anything that will, although something must
exist. i bet TeX does.

tom
The latter is not the worst suggestion in the world :)-)), seeing as how
TeX is good at hyphenation. To get that capability in Java, one
possibility might be http://www.davidashen.net/texhyphj.html, by David
Tolpin (he used to work on XEP, which is one of the better XSLFO engines
available, so he knows his stuff).

AHS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Cloud Computing 41
evum constructor gotcha 35
video cards for Java 1
inhibiting comment reflow 11
bugs.sun.com 11
classpath puzzle 7
abbreviated generic syntax 14
Tidying Javadoc 0

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,736
Latest member
zacharyharris

Latest Threads

Top