diff options
author | Albert Astals Cid <aacid@kde.org> | 2016-09-06 23:42:55 +0200 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2016-09-06 23:42:55 +0200 |
commit | 0d06c871df8065e72ae54a1821ca9e872a554352 (patch) | |
tree | 942f72a94b48fcfd80d5455ace9ab95341029703 /poppler/TextOutputDev.h | |
parent | 3ccd1c34a19c81d92bff27a095cf912afecb5ef3 (diff) |
Make some classes smaller in memory (amd64)
Thanks to elf-dissector
TextWord 176 -> 160
Annot 256 -> 240
GfxShading 200 -> 184
Diffstat (limited to 'poppler/TextOutputDev.h')
-rw-r--r-- | poppler/TextOutputDev.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/poppler/TextOutputDev.h b/poppler/TextOutputDev.h index 7da797c2..005be45f 100644 --- a/poppler/TextOutputDev.h +++ b/poppler/TextOutputDev.h @@ -17,7 +17,7 @@ // Copyright (C) 2006 Ed Catmur <ed@catmur.co.uk> // Copyright (C) 2007, 2008, 2011, 2013 Carlos Garcia Campos <carlosgc@gnome.org> // Copyright (C) 2007 Adrian Johnson <ajohnson@redneon.com> -// Copyright (C) 2008, 2010, 2015 Albert Astals Cid <aacid@kde.org> +// Copyright (C) 2008, 2010, 2015, 2016 Albert Astals Cid <aacid@kde.org> // Copyright (C) 2010 Brian Ewins <brian.ewins@gmail.com> // Copyright (C) 2012, 2013, 2015, 2016 Jason Crain <jason@aquaticape.us> // Copyright (C) 2013 Thomas Freitag <Thomas.Freitag@alfa.de> @@ -194,6 +194,7 @@ private: int rot; // rotation, multiple of 90 degrees // (0, 1, 2, or 3) + int wMode; // horizontal (0) or vertical (1) writing mode double xMin, xMax; // bounding box x coordinates double yMin, yMax; // bounding box y coordinates double base; // baseline x or y coordinate @@ -211,8 +212,8 @@ private: double fontSize; // font size GBool spaceAfter; // set if there is a space between this // word and the next word on the line + GBool underlined; TextWord *next; // next word in line - int wMode; // horizontal (0) or vertical (1) writing mode #if TEXTOUT_WORD_LIST double colorR, // word color @@ -220,7 +221,6 @@ private: colorB; #endif - GBool underlined; AnnotLink *link; friend class TextPool; |