Browse Source

Fix for issue #142

- set default lineHeight to 1.0
shared-context
Mikko Mononen 10 years ago
parent
commit
bd762f81a6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/nanovg.c

+ 1
- 1
src/nanovg.c View File

@@ -575,7 +575,7 @@ void nvgReset(NVGcontext* ctx)

state->fontSize = 16.0f;
state->letterSpacing = 0.0f;
state->lineHeight = 0.0f;
state->lineHeight = 1.0f;
state->fontBlur = 0.0f;
state->textAlign = NVG_ALIGN_LEFT | NVG_ALIGN_BASELINE;
state->fontId = 0;


Loading…
Cancel
Save