summaryrefslogtreecommitdiff
path: root/src/xftfont.c
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2018-12-15 15:19:25 -0800
committerGlenn Morris <rgm@gnu.org>2018-12-15 15:19:25 -0800
commit2e2fb82e5f187614bd6997a3ace72d07bba4f1ab (patch)
treef54dc1ac78b7fd10e23e37ddee2337a83463b3e0 /src/xftfont.c
parent498b6cb0bf882367fe73f5efee5154348c209aea (diff)
parentfa953b58afd39d396dab4d76a6ff0b8ba4040eb8 (diff)
downloademacs-2e2fb82e5f187614bd6997a3ace72d07bba4f1ab.tar.gz
emacs-2e2fb82e5f187614bd6997a3ace72d07bba4f1ab.tar.bz2
emacs-2e2fb82e5f187614bd6997a3ace72d07bba4f1ab.zip
Merge from origin/emacs-26
fa953b5 (origin/emacs-26) Fix an epg test for recent GnuPG versions (... 3015636 Document font structure layout constraints f14d574 Document font structure layout constraints f519aa1 Fix display of line numbers in empty lines beyond EOB 24b5026 Fix redisplay when a window's scroll bar or fringes are changed 5d1b158 Tiny markup fix in Elisp manual
Diffstat (limited to 'src/xftfont.c')
-rw-r--r--src/xftfont.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/xftfont.c b/src/xftfont.c
index 85df0d857a2..86b8f222425 100644
--- a/src/xftfont.c
+++ b/src/xftfont.c
@@ -42,8 +42,9 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
struct xftfont_info
{
struct font font;
- /* The following five members must be here in this order to be
- compatible with struct ftfont_info (in ftfont.c). */
+ /* The following members up to and including 'matrix' must be here
+ in this order to be compatible with struct ftfont_info (in
+ ftfont.c). */
#ifdef HAVE_LIBOTF
bool maybe_otf; /* Flag to tell if this may be OTF or not. */
OTF *otf;
@@ -51,6 +52,7 @@ struct xftfont_info
FT_Size ft_size;
int index;
FT_Matrix matrix;
+
Display *display;
XftFont *xftfont;
unsigned x_display_id;