Selected text has incorrect background colour when an SDF font is used
nixbody opened this issue · comments
nixbody commented
There seems to be some problem with SignedDistanceField
shader which causes selected text to have the same background colour as is set as text colour. That makes the selected text ureadable because it just blends with the background. Setting TextInput.selectionTile
manually has no effect with SDF fonts.
nixbody commented
This only seems to happen when I call hxd.res.BitmapFont.toSdfFont()
with h2d.Font.SDFChannel.Alpha
(which is needed for SDF fonts generated by Hiero).