From e2549e0f514fdc09ba1580d9b348518b4f0a3856 Mon Sep 17 00:00:00 2001 From: Nathan Froyd Date: Mon, 20 Jan 2014 09:50:14 -0500 Subject: [PATCH] Bug 961734 - reorder nsFont fields for slightly better packing; r=jfkthame --- gfx/src/nsFont.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gfx/src/nsFont.h b/gfx/src/nsFont.h index 4fe897f1730b..26adc5cd33b8 100644 --- a/gfx/src/nsFont.h +++ b/gfx/src/nsFont.h @@ -83,6 +83,12 @@ struct NS_GFX nsFont { // constants; see gfxFontConstants.h). int16_t stretch; + // Kerning + uint8_t kerning; + + // Synthesis setting, controls use of fake bolding/italics + uint8_t synthesis; + // The logical size of the font, in nscoord units nscoord size; @@ -106,12 +112,6 @@ struct NS_GFX nsFont { // (see http://www.microsoft.com/typography/otspec/languagetags.htm). nsString languageOverride; - // Kerning - uint8_t kerning; - - // Synthesis setting, controls use of fake bolding/italics - uint8_t synthesis; - // Initialize the font struct with an ASCII name nsFont(const char* aName, uint8_t aStyle, uint8_t aVariant, uint16_t aWeight, int16_t aStretch, uint8_t aDecoration,