diff options
author | Diego Borghetti <bdiego@gmail.com> | 2009-06-23 22:26:01 +0400 |
---|---|---|
committer | Diego Borghetti <bdiego@gmail.com> | 2009-06-23 22:26:01 +0400 |
commit | 483e9479f73dca77fd3b6db7ede72849b1552859 (patch) | |
tree | cc16d905377eb8f036933a93a15ee17b88a38cfb /source/blender/blenfont/intern/blf_glyph.c | |
parent | 30d769e2cda8851cbd45ca5ebf074d90b7f9cbc1 (diff) |
New Style option: Overlap
If this option is enable, the blenfont check for overlap characters, like
one of my previous commit but now it's optional and disable by default.
(This fix the "Fi" or other case when the characters are too close)
Enable/disable from:
Outliner -> User Preferences -> Styles -> Panel Font -> Overlap
(also for other styles, Group Label, Widget, Widget Label)
Diffstat (limited to 'source/blender/blenfont/intern/blf_glyph.c')
-rw-r--r-- | source/blender/blenfont/intern/blf_glyph.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenfont/intern/blf_glyph.c b/source/blender/blenfont/intern/blf_glyph.c index 5e0868ea680..a637774d7bf 100644 --- a/source/blender/blenfont/intern/blf_glyph.c +++ b/source/blender/blenfont/intern/blf_glyph.c @@ -500,6 +500,8 @@ int blf_glyph_texture_render(FontBLF *font, GlyphBLF *g, float x, float y) float color[4]; gt= g->tex_data; + xo= 0.0f; + yo= 0.0f; if (font->flags & BLF_SHADOW) { xo= x; |