summaryrefslogtreecommitdiffstatsci
path: root/src/vkvg_context_internal.h
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2021-07-19 16:56:12 +0200
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2021-07-19 16:56:12 +0200
commite1c8ea4fa60c71f4079e513ed36e13aa0ff8a87a (patch)
tree13ed8f48b7fe376b4caa9451d46d58468757ec89 /src/vkvg_context_internal.h
parent5f78db05b02e2f03ab44cff43158754135f8b6e4 (diff)
save fontconfig results in _vkvg_font_t; status check on facade fnt call, vkcmd dbg labels
Diffstat (limited to 'src/vkvg_context_internal.h')
-rw-r--r--src/vkvg_context_internal.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/vkvg_context_internal.h b/src/vkvg_context_internal.h
index 1b302ba..6c87485 100644
--- a/src/vkvg_context_internal.h
+++ b/src/vkvg_context_internal.h
@@ -87,6 +87,8 @@ typedef struct _vkvg_context_save_t{
vkvg_line_join_t lineJoint;
vkvg_fill_rule_t curFillRule;
+ FT_F26Dot6 selectedCharSize; /* Font size*/
+ char* selectedFontName;
_vkvg_font_t selectedFont; //hold current face and size before cache addition
_vkvg_font_t* currentFont; //font ready for lookup
vkvg_direction_t textDirection;
@@ -164,7 +166,9 @@ typedef struct _vkvg_context_t {
vkvg_line_join_t lineJoin;
vkvg_fill_rule_t curFillRule;
- _vkvg_font_t selectedFont; //hold current face and size before cache addition
+ FT_F26Dot6 selectedCharSize; /* Font size*/
+ char* selectedFontName;
+ //_vkvg_font_t selectedFont; //hold current face and size before cache addition
_vkvg_font_t* currentFont; //font pointing to cached fonts ready for lookup
vkvg_direction_t textDirection;