Chars beyond 0x00ff not displaying correctly for certain font sizes - please help?
posted 6 years ago
I have an swt table, where i use the character 0x25ba (among a few others) to denote an arrow.
it works well, except one issue -
For font sizes <9, it shows up as a vertical line, as well as for sizes 10, 12, 14. these are the sizes i care about, since the user is able to change the font sizes and many people use 8 or 10 as there preferred size (the application is already in use and people already have things set up the way they want, so just disabling those sizes is not ideal)
if it matters, it works fine at 14, 16, and then not at 18 again - though those sizes are bigger than i care about.
i poked a little more, and it turns out that this behavior (which is odd and inconsistent as far as i can tell) only seems to affect characters beyond 0x00ff (255).
if it was all font sizes that had this issue i would chalk it up to some limitation of swt, but since it works for some and not others, i cant help but think there is more to this that i dont quite know..