cc896f830c
According to https://www.freetype.org/freetype2/docs/glyphs/glyphs-3.html the line spacing of a font is computed as line space = ascent - descent + linegap Use that formula to compute the Height field of a Font's Metrics. Change-Id: I1c44eca9f662e0aae68716cd8859670fe0b394d7 Reviewed-on: https://go-review.googlesource.com/120815 Reviewed-by: Nigel Tao <nigeltao@golang.org> |
||
---|---|---|
.. | ||
basicfont | ||
gofont | ||
inconsolata | ||
opentype | ||
plan9font | ||
sfnt | ||
testdata | ||
font_test.go | ||
font.go |