Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for December 5, 2013
Deadline scheduling: coming soon?
LWN.net Weekly Edition for November 27, 2013
ACPI for ARM?
LWN.net Weekly Edition for November 21, 2013
Adobe ventures into open fonts
Posted Aug 9, 2012 11:28 UTC (Thu) by alankila (subscriber, #47141)
On the other hand, if you just tell browser to do "font-style: italic" on the ExtraLight ttf file, the glyph widths remain the same, and the font weight is probably almost the same. If italic is generated from the regular shape by shearing the glyph control points, then the shearing also distorts the weights a bit, but it doesn't bother me. In fact, I can't notice it by eye.
weight vs colour
Posted Aug 10, 2012 10:02 UTC (Fri) by pjm (subscriber, #2080)
So a shear-italicized large region of text shouldn't become any darker or lighter when glancing at a page or seen from the corner of one's eye, it should only change how thick the strokes look when directly reading the italicized text.
That's a theoretical argument, and assumes that typographic colour can be measured by a simple mathematical expression (proportion of area), and also ignores the effect of ink bleed on paper, or hinting or gamma issues on screen.
Does anyone know of a better objective measure of typographic colour ?
Posted Aug 10, 2012 18:09 UTC (Fri) by alankila (subscriber, #47141)
You are absolutely right that the shear does not actually change the average color of the glyph in its box, even if you would subjectively evaluate the width of the slanted line as thinner than the straight line.
Proper implementation of font blending gets gamma right, even if linux software that does it correctly is very scarce -- in fact nonexistent would be more accurate. As an aside, I was able to get sRGB surface support in the 0.27.2 release of pixman, though, so maybe if I make more noise about this people start to use sRGB surfaces when blending text...
Posted Aug 16, 2012 22:25 UTC (Thu) by njs (guest, #40338)
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds