Bug 961734 - reorder nsFont fields for slightly better packing; r=jfkthame

This commit is contained in:
Nathan Froyd 2014-01-20 09:50:14 -05:00
Родитель 37488975e6
Коммит e2549e0f51
1 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -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,