Replaced number of CGWindowListCopyWindowInfo for each window layer with [NSWindow windowNumberAtPoint: belowWindowWithWindowNumber:]
(cherry picked from commit 2a143af4d62340acdfd9c94d876f684385febbc8)
(cherry picked from commit 6fc369e8bf)
(cherry picked from commit 91b0084667)
Replaced glyph outlines with bounding boxes for glyph boundaries calculation for most common usages. Also, skipped unnecessary OGL flushes in OGL rendering queue
(cherry picked from commit c58dc052af48887338a38beb0c721eddca3af481)
(cherry picked from commit 7f6be7cfb907bbf1c3572b911df5690fa3039fde)
(cherry picked from commit c68913d82c0ba4b4c509179123f0a4bf7971f857)
(cherry picked from commit 9cfa04c93ad416a8177d9e7ca410850bd3ff880f)
(cherry picked from commit 0e930841704e4e98ecc0c888b144245e74218799)
(cherry picked from commit 8ffc190fbdb059d5a24842115c0bc3ade8b351b9)
(cherry picked from commit 0f7c26186a)
with fix for JBR-5300 Change source code and test files to use GPL license
(cherry picked from commit e20819c77b)
Adopted CThreading related code to OpenJDK17 source base
(cherry picked from commit 5dfb30ae68b2c54d58c98a9195709c031f823581)
(cherry picked from commit 94163bd69f64616836523e81567aa1141480d841)
(cherry picked from commit baca50b430)
Added detection of Awesome WM and handled similar to Sawfish WM
(cherry picked from commit 6742077ed198975949af567e8ef543f853397351)
(cherry picked from commit 2847be73c6)
(cherry picked from commit 916a2ab66f)
Added support for Xmonad WM
(cherry picked from commit c690c3c7fdf1390e6b1a8d388ff752a09391ae3c)
(cherry picked from commit 6851dc3441)
(cherry picked from commit e290bf8a0c)
(cherry picked from commit 62b04983f2)
with fix for JBR-5300 Change source code and test files to use GPL license
(cherry picked from commit e4f68d461c)
(cherry picked from commit 0161050077)
with fix for JBR-5300 Change source code and test files to use GPL license
(cherry picked from commit 8b2f0315d1)
(cherry picked from commit 0c2b6e1c04)
with fix for JBR-5300 Change source code and test files to use GPL license
(cherry picked from commit 8c6ecf33f1)
(cherry picked from commits 11732c2469, 0ed7deabaa)
with fix for JBR-5300 Change source code and test files to use GPL license
(cherry picked from commit cc952f4053)
this test failing in jtreg launch most probably indicates either some problem with the environment (e.g. some windows left open from previously launched processes) or with java.awt.Robot implementation
(cherry picked from commit 1d525a2d2f)
with fix for JBR-5300 Change source code and test files to use GPL license
(cherry picked from commit 9c3043a557)
(cherry picked from commits 1a9838082e, f5b6222835, acd7e3b2da, cd6dd5c3cf8556f97f3113cb7d615a92393b57bf(partially), e8bbd8ffdd90f57cd12d7d7e89188be97ee4be0b(partially), 37901295e1, cafb374afc, 12034dcf61)
includes fix for JBR-4974 jb/java/awt/Focus/ModalDialogFromMenuTest.java intermittently clicks at tittle bar
Pause before getting the coordinates of the component to be clicked on,
not right before the click itself.
with fix for JBR-5300 Change source code and test files to use GPL license
(cherry picked from commit 7855e07658)
port from JBR 11 to JBR 15 (cherry picked from commits b6583d0a71, 6003abc15f)
cherry picked from commit 93ad4f06dd
also includes JBR-4006 [JCK] javax.swing.text.html.CSS$Attribute.OVERFLOW_WRAP field breaks public API
(cherry picked from commit f20a3d8679)
and JBR-4007 [JCK] javax.swing.text.GlyphView.calcBreakSpots method breaks public API
(cherry picked from commit 1002eff4f3)
(cherry picked from commit f603f9e837)
port commit 11a5a4a2 from JBR 9
port from JBR 11 to JBR 15 (cherry picked from commit 65a5e450d5)
cherry picked from commit 47ff31ae82
(cherry picked from commit c4426e7ff2)
port commit ea9b75b3 from JBR 9
port from JBR 11 to JBR 15 (cherry picked from commit c6fed2cf58)
cherry picked from commit a5e25d1ef9
(cherry picked from commit a105a6e802)
port commit 778cef18 from JBR 9
port from JBR 11 to JBR 15 (cherry picked from commit 9caaac4a5a)
cherry picked from commit eea293f4a4
(cherry picked from commit 7b9b29493d)
port commit 82e7c82d from JBR 9
port from JBR 11 to JBR 15 (cherry picked from commit e9bd5f5dad)
cherry picked from commit e0475e9ba2
(cherry picked from commit 714ba79a84)
port commit 1f6bd200 from JBR 9
port from JBR 11 to JBR 15 (cherry picked from commit 32ce109355)
cherry picked from commit 087ff34c2e
(cherry picked from commit 86fa2a9c9b)
Corrected rendering hints for Non-AA text rendering
(cherry picked from commit b923aa7a0729a10ea47d3438622d659fbead44c9)
(cherry picked from commit b6bdd04e41)
(cherry picked from commit 8b12cf08ee)
Added property to disable bundled font config:
java2d.font.loadFontConf=false
Do not load custom font.conf by default
Moved hints adjusting logic from code to bundled font.conf file
Applied correction only for regular fonts with platform sizes less than 12
Some fonts are not corrected at all: Consolas, Noto Sans Mono
Used family name instead of physical one in requests to Fontconfig
Removed redundant call to FcConfigBuildFonts
Added privileged access to the properties (JRE-235,JRE-235)
(cherry picked from commit 4d4c915047077ebd966b0e3be056566d56ba11a4)
(cherry picked from commit 9d6f325f72482405264852f3ee2636f5fedaeaf0)
(cherry picked from commit e7e3372bf8db539c0f6bc85db9f1093f8fa4c380)
(cherry picked from commit 3e724caed2f199be50d25d1ecb20b7819c86be2e)
(cherry picked from commit d372b35963c096a32331b05b257e26841ace5d94)
(cherry picked from commit 18a5f5de03eb107f89dca138a44b9aab2151235c)
(cherry picked from commit 9ba320efef0539f75aa93fd1b5dd80266c954d0a)
(cherry picked from commit b8c38f419972af61291953f7f452c1698f7a1624)
(cherry picked from commit debba0128e200be60adc9a339d5985590ef4e230)
(cherry picked from commit 2fa17b1bd7d6524e4b5fa4d0b3ce2bf02a8fcc78)
(cherry picked from commit 09b4f61db0d4f5beea0e16ce9136c99e2185c10b)
(cherry picked from commit 3b6782dd742f9c74a9535145db2f9f7ffaccf7c8)
(cherry picked from commit f1b68149528c13a22fa64468c130b1405bf3d081)
(cherry picked from commit db5cf5a2b9cb454630fb86783c2d58cd5446cba6)
(cherry picked from commit 32140948578bc3c2a0c5f8adb537660421efe5e7)
(cherry picked from commit b978e3d0b131ed642774c5a14a649e13f764c20b)
(cherry picked from commit c75c1ef8b2)
(cherry picked from commit a29f19e6a2)
(cherry picked from commit c38c46744f)
port commit ccc1ded6 from JBR 9
port from JBR 11 to JBR 15 (cherry picked from commit 72fb9ff7c4)
cherry picked from commit a5bd092449
(cherry picked from commit 52ebd26933)
don't apply FreeType-returned glyph advance for rotated glyphs rendered by GDI
This seems to produce a better looking text (more evenly spaced). Fractional metrics won't be respected by this code, but we can address this later if needed.
port commits c9debd5e, ed78cd00, 4c7e1619, 7aa0429c, 7bd6c17c from JBR 9
port from JBR 11 to JBR 15 (cherry picked from commits d6b588bdab, dbc15fb84e)
cherry picked from commit 2c0d6150d0
(cherry picked from commit 12f2233f94)
(cherry picked from commit 236bd38d1b)
with fix for JBR-5300 Change source code and test files to use GPL license
(cherry picked from commit 45b52492a9)
(cherry picked from commit 1f4ad38d23)
with fix for JBR-5300 Change source code and test files to use GPL license
(cherry picked from commit b2f584b10a)
(cherry picked from commit 15693661cc)
with fix for JBR-5300 Change source code and test files to use GPL license
(cherry picked from commit ae4c4c017d)
(cherry picked from commit c7b0ac686f)
with fix for JBR-5300 Change source code and test files to use GPL license
(cherry picked from commit e8e81b7509)
(cherry picked from commit 3a7b3c67b0)
with fix for JBR-5300 Change source code and test files to use GPL license
(cherry picked from commit 7439fd115a)
(cherry picked from commit cb4453b1d1)
with fix for JBR-5300 Change source code and test files to use GPL license
(cherry picked from commit dde86b1e6c)
(cherry picked from commit 37dc13c603)
with fix for JBR-5300 Change source code and test files to use GPL license
(cherry picked from commit a5e094dd07)
(cherry picked from commit d04debc847)
with fix for JBR-5300 Change source code and test files to use GPL license
(cherry picked from commit 5a47f2a66c)
(cherry picked from commit 3a43f4557f)
with fix for JBR-5300 Change source code and test files to use GPL license
(cherry picked from commit f534b029e2)
(cherry picked from commit 0026095202)
with fix for JBR-5300 Change source code and test files to use GPL license
(cherry picked from commit 1d0be02755)
(cherry picked from commit 1ce8c3ce82)
with fix for JBR-5300 Change source code and test files to use GPL license
(cherry picked from commit 0200338c3c)
(cherry picked from commit c4a1277c1b)
with fix for JBR-5300 Change source code and test files to use GPL license
(cherry picked from commit 39bd5023d4)