Skip to content

Commit

Permalink
Add support for padding configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkShinz committed Apr 16, 2018
1 parent bcd2b5f commit 98d55ed
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions texture-font.h
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,12 @@ typedef struct texture_font_t
* formats.
*/
float underline_thickness;

/**
* The padding to be add to the glyph's texture that are loaded by this font.
* Usefull when adding effects with shaders.
*/
int padding;

} texture_font_t;

Expand Down

0 comments on commit 98d55ed

Please sign in to comment.