source-foundry / java-glyph-tester

A tool for testing the JDK font rendering behaviour
MIT License
4 stars 1 forks source link

allow for glyph repetition #7

Closed jorgheymans closed 8 years ago

jorgheymans commented 8 years ago

As per David's comment:

Additionally, and I think this needs to be ​emphasized​ (and @chris might be able to provide some additional insight into this): I don't think rendering a single glyph is good enough. I think we need to render perhaps 4 or 5 of the same glyph horizontally next to each other. Not as separate glyphs at separate horizontal positions, but as if they're a single word. The reason for this is that fractional width of the glyph-box I mentioned earlier. I don't know about other platforms, but I've noticed on Mac OS X that the subpixel anti-aliasing of certain glyphs differs depending on the horizontal position it's drawn at.

burodepeper commented 8 years ago

To illustrate this:

schermafbeelding 2016-05-18 om 07 11 39

jorgheymans commented 8 years ago

--repeatGlyph parameter added