diff options
-rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index f6b7ff3d3a..a6359b1956 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c | |||
@@ -1701,6 +1701,7 @@ static bool skin_load_fonts(struct wps_data *data) | |||
1701 | 1701 | ||
1702 | /* finally, assign the font_id to the viewport */ | 1702 | /* finally, assign the font_id to the viewport */ |
1703 | vp->font = font->id; | 1703 | vp->font = font->id; |
1704 | vp->line_height = font_get(vp->font)->height; | ||
1704 | } | 1705 | } |
1705 | data->font_ids = skin_buffer_alloc(font_count * sizeof(int)); | 1706 | data->font_ids = skin_buffer_alloc(font_count * sizeof(int)); |
1706 | if (!success || data->font_ids == NULL) | 1707 | if (!success || data->font_ids == NULL) |