Rich Text Support
Kevin Rushforth
kevin.rushforth at oracle.com
Fri Oct 5 13:34:05 UTC 2018
I agree that new controls, especially a RichText control, should very
likely not be part of the core -- at least not at first. Somewhere like
ControlsFX might be a great place to develop it. What we need to do is
identify the missing pieces that prevent it from being implemented as an
external control. The text measurement API is one such missing piece,
but I'll bet there are others.
-- Kevin
On 10/3/2018 11:08 AM, Tom Schindl wrote:
> Hi,
>
> I fully agree and I don't think such a control should be part of the
> OpenJFX but should live in an other library.
>
> /me thinks OpenJFX should not get *ANY* new controls (I would even argue
> that the current controls should be split out) but provide the core APIs
> needed to implement them.
>
> Tom
>
> On 03.10.18 19:39, Phil Race wrote:
>>
>> On 10/03/2018 05:50 AM, Pedro Duque Vieira wrote:
>>> I think to start, probably a class like Swing's FontMetrics would be good
>>> to have? Before Java 9 there was one but it was private implementation.
>>> Just to have the basic API that would allow to build rich text editing
>>> support more easily, sorted out..
>>> This is also, generally, needed for calculating how to lay out text.
>> I agree, and maybe I should aim to finally implement this in 12 :
>> https://bugs.openjdk.java.net/browse/JDK-8090775: Need font/text
>> measurement API
>>
>> -phil.
More information about the openjfx-discuss
mailing list