On Tue, 13 Feb 2024 07:50:15 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> wrote:
>> Existing regression test is failing because textfield height is not as per >> test's expectation..Seems like the indic character being tried to render is >> not being loaded (probably because of missing glyphs) leading to 0 >> preferredSpan from >> [BoxView](https://github.com/openjdk/jdk/blame/5a74c2a67ebcb47e51732f03c4be694bdf920469/src/java.desktop/share/classes/javax/swing/text/BoxView.java#L545-L552) >> which is superclass for `i18nFieldVIew`, the field view for Indic >> characters. >> Tried block character in the test which is now being loaded properly leading >> to correct height.. > > Prasanta Sadhukhan has updated the pull request incrementally with one > additional commit since the last revision: > > Test removed as corresponding fix is reverted I ran the test on macOS, it kinda fails there too. I just happens that the height of the text field is *exactly 10*, and the test fails if the height is less than 10. At the same time, the height is still too low to display the characters, the preferred size of the text fields is 25 and 26 correspondingly. ------------- PR Comment: https://git.openjdk.org/jdk/pull/17528#issuecomment-1943570570