mirror of
https://github.com/labwc/labwc.git
synced 2025-11-06 13:29:58 -05:00
config: Add support for font slant and weight
This commit is contained in:
parent
1fafb89cba
commit
07a83c19f0
12 changed files with 126 additions and 98 deletions
|
|
@ -86,6 +86,8 @@ scaled_font_buffer_update(struct scaled_font_buffer *self, const char *text,
|
|||
self->font.name = strdup(font->name);
|
||||
}
|
||||
self->font.size = font->size;
|
||||
self->font.slant = font->slant;
|
||||
self->font.weight = font->weight;
|
||||
memcpy(self->color, color, sizeof(self->color));
|
||||
self->arrow = arrow ? strdup(arrow) : NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue