On Wed, 18 Nov 2026 18:12:08 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).
>
> Andy Goryachev has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   inline style

We used a workaround with a newline after the pre as well because the first 
line was dropped, so that is correct. I give the latest commit a try but think 
it should not make that much of a difference.  
https://github.com/JabRef/jabref/blob/c1b07d39becfdba92854ceaecc687fc3affe798c/jabgui/src/main/java/org/jabref/gui/bibtexhighlighter/BibTeXHtmlExportFormatHandler.java#L31-L32

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

PR Comment: https://git.openjdk.org/jfx/pull/2369#issuecomment-6990923353

Reply via email to