RFR: 8351878: RichTextArea: copy/paste issues [v5]

Andy Goryachev angorya at openjdk.org
Wed Mar 26 20:40:22 UTC 2025


On Wed, 26 Mar 2025 14:36:39 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

>> Fixed several issues found in importing RTF text:
>> 
>> - charset translation (brought back removed code)
>> - missing font size attribute
>> - missing strike-through attribute
>> 
>> Also, HTML copy suffered from the following issues:
>> 
>> - incorrect font size
>> - incorrect handling of boolean character attributes (bold, italic, etc.)
>> 
>> The charset issue was caused by my removal of the character decoder code present in the original JDK RTF parser/reader.  Why did I do that?
>> 
>> This PR does not add import of RTL paragraph attribute needed to align RTL text correctly.
>
> Andy Goryachev has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 10 additional commits since the last revision:
> 
>  - Merge remote-tracking branch 'origin/master' into 8351878.rtf
>  - html
>  - Merge remote-tracking branch 'origin/master' into 8351878.rtf
>  - arabic
>  - whitespace
>  - test
>  - strikethrough
>  - missing code in attr set
>  - font size
>  - fixed arabic import

Created https://bugs.openjdk.org/browse/JDK-8353003 for the diacritic marks issue.

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1735#issuecomment-2755694506


More information about the openjfx-dev mailing list