1
$\begingroup$

I have a white line on black background. Because of the pixel geometry the line does not look really white; one edge looks red-isch, the other blue-isch. Other fore- and background yield other sensations. Pixel geometry is striped RGB, DPI is ~90, viewing distance about an arms length.

Is there any software based solution or maybe visual design that makes this less appearant, assuming we know the screen pixel geometry in advance?

$\endgroup$
  • $\begingroup$ Could you specify if your line is font (text) rendering or something you draw yourself some other way? $\endgroup$ – Olivier Mar 23 '18 at 19:47
  • $\begingroup$ @Olivier Both line and text actually rendered using OpenGL, though the effect is most appearant for lines aligned to pixel grid in the direction of the striped pixel geometry. $\endgroup$ – Andreas Mar 24 '18 at 9:32
1
$\begingroup$

In computer typography, the technique for adjusting strokes so that they align with the pixel grid is called hinting.

The color artifacts you are seeing are due to another technique called subpixel rendering.

$\endgroup$

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.