Skip to content

Need explanation for Glyph output txt #8

@UnKabaraQuiDev

Description

@UnKabaraQuiDev

I assume the image coordinates are from (0, 0) (top left) -> (1, 1) (bottom right)

My questions:

  1. 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
  1. 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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions