fix/edits to vector font handling
authorCampbell Barton <ideasman42@gmail.com>
Fri, 3 Aug 2012 15:03:40 +0000 (15:03 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 3 Aug 2012 15:03:40 +0000 (15:03 +0000)
commit173b998735ee30bdb4335ae2c65cf656d9249504
treec03cfe07371927de7d1bf2a8c8d5b348c0c3f47b
parent07da83a3b365f0c88a1798eaef3b53dc4af974ee
fix/edits to vector font handling
- don't overwrite the font path with "<builtin>" when the font file cant be found, it caused bad problems when loading files on someone elses systems when paths couldn't be found blender would silently clobber paths (tsk tsk).

- when fonts are freed their temp data is now freed too.

- assigning a new filepath to a font now refreshes the object data.
source/blender/blenkernel/BKE_font.h
source/blender/blenkernel/intern/depsgraph.c
source/blender/blenkernel/intern/font.c
source/blender/blenlib/intern/freetypefont.c
source/blender/makesrna/intern/rna_vfont.c
source/blender/windowmanager/intern/wm_files.c