Browse Source

Update text_inline_styling.c

pull/5364/head
Ray 2 weeks ago
parent
commit
83a167ca3f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      examples/text/text_inline_styling.c

+ 1
- 1
examples/text/text_inline_styling.c View File

@ -210,7 +210,7 @@ static Vector2 MeasureTextStyled(Font font, const char *text, float fontSize, fl
if ((font.texture.id == 0) || (text == NULL) || (text[0] == '\0')) return textSize; // Security check if ((font.texture.id == 0) || (text == NULL) || (text[0] == '\0')) return textSize; // Security check
int textLen = TextLength(text); // Get size in bytes of text int textLen = TextLength(text); // Get size in bytes of text
float textLineSpacing = fontSize*1.5f;
o">//float textLineSpacing = fontSize*1.5f; // Not used...
float textWidth = 0.0f; float textWidth = 0.0f;
float textHeight = fontSize; float textHeight = fontSize;

Loading…
Cancel
Save