Open stacksmith opened 4 years ago
The first of each pair is Athens, the second is regular canvas. Output is generated by
drawString
messages to regular canvas, then overlaying with an Athens surface cleared to transparent color then applying equivalentdrawString
to coordinates just above.
Could you post the code doing this?
I will try to isolate a simple example (there is a lot of crud around my experiments that is hard to get rid of, and I am in a different image...). In the meantime just look at the athens demos that show text - it is pretty obvious once you know what to look for. It is easier to see as white on black. Thanks
Normal drawString glyphs look pretty good. Using the same font outputting via drawString on an AthensCanvas surface is pretty smudgy (especially around glyph tops). See the attached image - zoom in a lot.
The first of each pair is Athens, the second is regular canvas. Output is generated by
![crap](https://user-images.githubusercontent.com/732800/76919510-5b023880-6886-11ea-9740-47e0b417ef9d.png)
drawString
messages to regular canvas, then overlaying with an Athens surface cleared to transparent color then applying equivalentdrawString
to coordinates just above.I previously noted poor quality of type in Athens demos. Based on differing shape of glyphs, it appears to be related to hinting. In addition, wider color variation implies incorrect gamma correction or filtering.
Good type quality is really important for a polished look of applications. As it stands, I am unable to look at Athens text for more than a few seconds without my eyes hurting. Help appreciated.
Pharo 9 64-bits, Linux,
TextStyle defaultFont