On Mon, 16 Nov 2026 19:50:35 GMT, Christoph <[email protected]> wrote:
>> 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 six additional >> commits since the last revision: >> >> - getter >> - Merge branch 'master' into 8396861.codearea.font >> - diff >> - cleanup >> - html too >> - code area font > > Thanks for the fix (font is Jetbrains Mono) > Tested on macOS, RTF works: > <img width="1008" height="753" alt="grafik" > src="https://github.com/user-attachments/assets/430d1ee3-2838-4717-81b8-eec828beb6fe" > /> > > Tested with LibreOffice, HTML: > <img width="831" height="579" alt="grafik" > src="https://github.com/user-attachments/assets/4d1422b6-3d1e-45c3-9840-da346994dec9" > /> > > HTML also keeps the monospaced font; however, it adds spacing between. As a > workaround, we currently wrap the whole source in `<pre>` when copying. Not > sure if you want to address this here or what's your opinion is on this. @Siedlerchr : could you check the latest version please? I've changed the way `CodeArea` emits HTML using `<pre>` and `white-space: pre-wrap`. thanks! ------------- PR Comment: https://git.openjdk.org/jfx/pull/2369#issuecomment-6930953809
