font: use PangoStyle enum

This commit is contained in:
Johan Malm 2025-04-23 20:03:14 +01:00 committed by Johan Malm
parent 94ead35227
commit 58d22d05e2
3 changed files with 6 additions and 17 deletions

View file

@ -5,16 +5,10 @@
struct lab_data_buffer;
enum font_slant {
FONT_SLANT_NORMAL = 0,
FONT_SLANT_ITALIC,
FONT_SLANT_OBLIQUE
};
struct font {
char *name;
int size;
enum font_slant slant;
PangoStyle slant;
PangoWeight weight;
};