You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I assume the image coordinates are from (0, 0) (top left) -> (1, 1) (bottom right)
My questions:
What is the difference between:
Width and Texture Width
Height and Texture Height
Horizontal Bearing X and Vertical Bearing X
Horizontal Bearing Y and Vertical Bearing Y
What even are:
Horizontal/Vertical Bearing X/Y
Horizontal/Vertical Advance
From what I've understood, Texture Width/Height is the size of the glyph on the texture, in a (0,0) -> (1,1) coordinate space, and Texture Coord X/Y is the position of the glyph on this same texture.
But what's the deal with the other width/height, and the difference between Horizontal/Vertical advance and the Texture Coords ?
The text was updated successfully, but these errors were encountered:
An extra complication for the signed distance fonts is that you have to expand the glyph bounding boxes to accommodate the spread. Hopefully it is clear in the latest README.
I assume the image coordinates are from (0, 0) (top left) -> (1, 1) (bottom right)
My questions:
From what I've understood, Texture Width/Height is the size of the glyph on the texture, in a (0,0) -> (1,1) coordinate space, and Texture Coord X/Y is the position of the glyph on this same texture.
But what's the deal with the other width/height, and the difference between Horizontal/Vertical advance and the Texture Coords ?
The text was updated successfully, but these errors were encountered: