-
Bug
-
Resolution: Fixed
-
P3
-
6
-
b56
-
generic
-
generic
In Font2DTest select "Rotate" from the Font Transform menu and then
select "TextLayout" from the "Method" menu of rendering calls.
The result will be a NullPointerException. This will occur on any platform.
To more precisely reproduce this select "Text to Use" and change it to
one or of \u0009 (TAB), \u000a (NL), \u000d (CR).
These and various other glyphs which are invisible and have no advance
may cause this exception when used in isolation.
If any actual text is present everything is OK.
This was introduced by
6271315: Text metrics nonsensical when baseline is rotated
but wasn't apparent (due to the code path not executing) until the additional fix for:
4524995: Problems when rendering some strings with font rotation transform set
select "TextLayout" from the "Method" menu of rendering calls.
The result will be a NullPointerException. This will occur on any platform.
To more precisely reproduce this select "Text to Use" and change it to
one or of \u0009 (TAB), \u000a (NL), \u000d (CR).
These and various other glyphs which are invisible and have no advance
may cause this exception when used in isolation.
If any actual text is present everything is OK.
This was introduced by
6271315: Text metrics nonsensical when baseline is rotated
but wasn't apparent (due to the code path not executing) until the additional fix for:
4524995: Problems when rendering some strings with font rotation transform set