Blender Git Commit Log

Git Commits -> Revision ec8b259

Revision ec8b259 by Diego Borghetti (master)
June 11, 2009, 21:43 (GMT)
Smal tweak to allow the user set a kerning value.

This commit add two option to the blenfont library:

1) BLF_FONT_KERNING

This enable the kerning information that come with the
font, by default this option is disable and still don't
have a UI for change.

2) BLF USER_KERNING
This allow the user set a kerning value to by apply for
every character, by default this option is enable but all
the font have a kerning value of zero.

Ton I add this option to the style with a default value of 1.

Access from:
Outliner -> User Preferences -> Style -> FontStyle -> Kerning


Commit Details:

Full Hash: ec8b2593ecdee9493210df0e6f9c4dbbcb2a1985
SVN Revision: 20820
Parent Commit: a054f3c
Lines Changed: +67, -9

8 Modified Paths:

/source/blender/blenfont/BLF_api.h (+3, -1) (Diff)
/source/blender/blenfont/intern/blf.c (+9, -0) (Diff)
/source/blender/blenfont/intern/blf_font.c (+30, -5) (Diff)
/source/blender/blenfont/intern/blf_glyph.c (+10, -2) (Diff)
/source/blender/blenfont/intern/blf_internal_types.h (+3, -0) (Diff)
/source/blender/editors/interface/interface_style.c (+5, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+5, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021