Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmaciel committed Oct 22, 2023
1 parent 6040efd commit 3b8dd59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stb_truetype.h
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,8 @@ STBTT_DEF void stbtt_GetFontBoundingBox(const stbtt_fontinfo *info, int *x0, int

STBTT_DEF int stbtt_GetFontUnderlineMetrics(const stbtt_fontinfo *info, int *position, int *thickness);
// the underline position and thickness as defined in the "post" table
//
// Returns 1 on success (table present), 0 on failure.

STBTT_DEF void stbtt_GetCodepointHMetrics(const stbtt_fontinfo *info, int codepoint, int *advanceWidth, int *leftSideBearing);
// leftSideBearing is the offset from the current horizontal position to the left edge of the character
Expand Down

0 comments on commit 3b8dd59

Please sign in to comment.