High performance text component
javafx at olifanz.com
Sat Sep 1 14:45:21 PDT 2012
> (I'm finally able to edit the openjfx wiki!)
> We are still in a very early stage but this is what we are planning for Rich Text:
> Let me know if you have any suggestions or concerns.
Not a suggestion/concern for a first draft of Rich text API, but
probably not fully exempt of usefulness: to keep possible as a future
problem, in a long time, after all usual features like vertical
alignment, vertical text and possibly even after boustrophedon.
How a component builder can implement an embedded span-like object, like
your image, but supporting linebreaking?
By example, a component displaying mathematical formulas can support
linebreaking, particularly on small screens, cf. [1, 2] for proving the
non-empty interest in this problem.
I am not asking for a response, just signalling a non-usual possible
future problem to not forget (and keep open).
I don't see any problem with current API for adding, in the future, this
feature (e.g. by implementing an interface if supporting linebreaking),
but I suggest this open problem when seeing your embedded objects in
rich text and asking myself how to embed something other.
Most expected impact will not be in API, but in implementation: to avoid
complex entanglement of hyphenation and text and let future extensions
be possible without large refactoring of code.
Sorry for exotic mail.
: linebreaking (fourth row of table) in
More information about the openjfx-dev