This is a graph with definition of a few terms for the horizontal glyph metrics for fonts.
Let's say I have a sentence,
Foo bar baz.
How do I get the spacing size, in pixels, between the words "Foo" and "bar"? I suppose I sum,
- The whitespace right-padding in the grapheme for 'o' in "Foo": subtract from the
advance
thebearingX
+width
- The
advance
of the space character. - The whitespace left-padding of the letter 'b' in "bar": simply
bearingX
.
Is this correct? What table has the bearingX?