PicoVector: Fully initialise text metrics.

patch-img-open_file
Mike Bell 2024-12-13 18:21:25 +00:00 zatwierdzone przez Phil Howard
rodzic 219b93c90b
commit dff55e1789
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -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();