From d4ea2e848d16f4d555a7f4457ebbd99b4241fa1c Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 28 Mar 2021 21:13:23 -0400 Subject: [PATCH] ngl: We only need two bits for phases We use 4 phases, so 2 bits are enough. --- gsk/ngl/gsknglglyphlibraryprivate.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gsk/ngl/gsknglglyphlibraryprivate.h b/gsk/ngl/gsknglglyphlibraryprivate.h index 5bf240e5e1..819523144c 100644 --- a/gsk/ngl/gsknglglyphlibraryprivate.h +++ b/gsk/ngl/gsknglglyphlibraryprivate.h @@ -33,9 +33,9 @@ typedef struct _GskNglGlyphKey { PangoFont *font; PangoGlyph glyph; - guint xshift : 3; - guint yshift : 3; - guint scale : 26; /* times 1024 */ + guint xshift : 2; + guint yshift : 2; + guint scale : 28; /* times 1024 */ } GskNglGlyphKey; typedef struct _GskNglGlyphValue