Skip to content

Commit

Permalink
PicoVector: Fully initialise text metrics.
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelBell committed Dec 13, 2024
1 parent 301fb87 commit 7367bca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libraries/pico_vector/pico_vector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ namespace pimoroni {
text_metrics.letter_spacing = 95;
text_metrics.word_spacing = 200;
text_metrics.size = 48;
text_metrics.face = NULL;
text_metrics.transform = NULL;
// Should be set before rendering chars
//text_metrics.transform = (pp_mat3_t *)af_malloc(sizeof(pp_mat3_t));
//*text_metrics.transform = pp_mat3_identity();
Expand Down

0 comments on commit 7367bca

Please sign in to comment.