[pango] OS X: build fixes
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango] OS X: build fixes
- Date: Thu, 18 Jul 2019 15:21:23 +0000 (UTC)
commit 9f127f497082be67080933b7dc717831520a9dc3
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jul 18 08:21:08 2019 -0700
OS X: build fixes
pango/pangocairo-coretextfont.c | 2 +-
pango/pangocoretext-private.h | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/pango/pangocairo-coretextfont.c b/pango/pangocairo-coretextfont.c
index 162d08c3..aadb8a3f 100644
--- a/pango/pangocairo-coretextfont.c
+++ b/pango/pangocairo-coretextfont.c
@@ -139,7 +139,7 @@ pango_cairo_core_text_font_create_base_metrics_for_context (PangoCairoFont *font
metrics->ascent = CTFontGetAscent (ctfont) * PANGO_SCALE;
metrics->descent = CTFontGetDescent (ctfont) * PANGO_SCALE;
- metrics->height = (CTFontGetAscent (ctfont) + CTFontGetDescent (ctfont) + CTFontGetLeading (ctfont) *
PANGO_SCALE;
+ metrics->height = (CTFontGetAscent (ctfont) + CTFontGetDescent (ctfont) + CTFontGetLeading (ctfont)) *
PANGO_SCALE;
metrics->underline_position = CTFontGetUnderlinePosition (ctfont) * PANGO_SCALE;
metrics->underline_thickness = CTFontGetUnderlineThickness (ctfont) * PANGO_SCALE;
diff --git a/pango/pangocoretext-private.h b/pango/pangocoretext-private.h
index d9137090..a652f520 100644
--- a/pango/pangocoretext-private.h
+++ b/pango/pangocoretext-private.h
@@ -25,6 +25,9 @@
#define __PANGOCORETEXT_PRIVATE_H__
#include "pangocoretext.h"
+#include "pango-font-private.h"
+#include "pango-fontmap-private.h"
+#include "pango-fontset-private.h"
G_BEGIN_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]