coverage
coverage copied to clipboard
Weight of font should weight glyphs by their width
As discussed in Berlin, the current formula:
coverage of one font in one language = sum of (gray level of a glyph) * (normalized glyph frequency)
is not correct. You also need to multiply by normalized glyph width. Ie:
coverage of one font in one language =
sum of (gray level of a glyph) * (width of glyph) * (normalized glyph frequency)
divided by
sum of (width of glyph) * (normalized glyph frequency)
Does that make sense?
I wasn't in Berlin, why is width important?
Personally Im only interested in the x-height region. So it would be cool if you could only target that area.
OK maybe I understand what you mean; Do you want to measure the weight distribution? In that case it is easier to measure/compare stem widths.
Only measuring stem widths is definitely easier and there are tools that already do that. But just measuring stems ignores important features like the white space in counters, or the weight carried in the curves, or the influence of the margins. Hence this exercise.
@behdad You wrote:
coverage of one font in one language =
sum of (gray level of a glyph) * (width of glyph) * (normalized glyph frequency)
divided by
sum of (width of glyph) * (normalized glyph frequency)
isn't that just sum of (gray level of a glyph) then?
a == (a * b) / b
isn't that just sum of (gray level of a glyph) then? a == (a * b) / b
No. Maybe I should have used more brackets.
sum(a_i * b_i) / sum(b_i) != sum(a_i)
the division is normalization. Ie. you can rewrite as:
sum(a_i * b_i/sum(b_j))