From 49eb2d2ecdc12d2dcd3af8ca00067cb4161679ff Mon Sep 17 00:00:00 2001 From: "Dr.Smile" Date: Mon, 31 Jul 2017 06:27:09 +0300 Subject: renderer: switch to using two border outlines instead of one --- libass/ass_cache.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libass/ass_cache.h') diff --git a/libass/ass_cache.h b/libass/ass_cache.h index 687c197..64751df 100644 --- a/libass/ass_cache.h +++ b/libass/ass_cache.h @@ -22,6 +22,7 @@ #include "ass.h" #include "ass_font.h" +#include "ass_outline.h" #include "ass_bitmap.h" typedef struct cache Cache; @@ -40,8 +41,8 @@ typedef struct { } CompositeHashValue; typedef struct { - ASS_Outline *outline; - ASS_Outline *border; + ASS_Outline outline; + ASS_Outline border[2]; FT_BBox bbox_scaled; // bbox after scaling, but before rotation FT_Vector advance; // 26.6, advance distance to the next outline in line int asc, desc; // ascender/descender -- cgit v1.2.3