bdk-blender/source/blender/blenfont
Harley Acheson 19202736d5 Fix T99872: Crash Loading Embedded Fonts - 3.3
Ensure kerning cache exists when loading embedded fonts

---

When loading embedded fonts from memory the font->kerning_cache is not
created and so we get a crash if the font does support kerning.
This was not caught because the loading of packed fonts was not
actually doing anything in VSE until {523bc981cfee}.

We have since consolidated `blf_font_new` and `blf_font_new_from_mem`
into a single function so that they cannot get out of sync like this
any more.  So this fix is specific to Blender 3.3.  But we can add this
as a candidate for corrective release 3.2.3

Reviewed By: brecht

Maniphest Tasks: T99872

Differential Revision: https://developer.blender.org/D15704
2022-11-09 09:41:57 +01:00
..
intern Fix T99872: Crash Loading Embedded Fonts - 3.3 2022-11-09 09:41:57 +01:00
BLF_api.h Cleanup: replace BLF defines with enum, formatting 2022-06-22 14:50:22 +10:00
CMakeLists.txt File headers: SPDX License migration 2022-02-11 09:14:36 +11:00