On Thu, 12 Nov 2026 22:08:39 GMT, Andy Goryachev <[email protected]> wrote:

> Fixes exporting of the `CodeArea` font to RTF and HTML.
> 
> Only the font family and size gets exported.  The font weight is not, mainly 
> for simplicity (the custom models can be better), but also because there is 
> no public API to get the font weight from the `Font` class.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: 55a9b829
Author:    Andy Goryachev <[email protected]>
URL:       
https://git.openjdk.org/jfx/commit/55a9b829055f77b821399611b491ee79b4b26a89
Stats:     100 lines in 5 files changed: 91 ins; 1 del; 8 mod

8396861: CodeArea RTF/HTML export does not preserve its monospace font

Reviewed-by: kcr, zelmidaoui

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

PR: https://git.openjdk.org/jfx/pull/2369

Reply via email to