[dia/dia-0-97] plugin: Use the Freetype developer's proposed way if #include'ing their headers.
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia/dia-0-97] plugin: Use the Freetype developer's proposed way if #include'ing their headers.
- Date: Sat, 8 Mar 2014 12:19:54 +0000 (UTC)
commit 922db161c4cae5ac39203a1b24b194e209231055
Author: Dominique Leuenberger <dimstar opensuse org>
Date: Mon Dec 16 23:30:40 2013 +0100
plugin: Use the Freetype developer's proposed way if #include'ing their headers.
Allows us to build against Freetype 2.5.1 (without breaking older
versions).
https://bugzilla.gnome.org/show_bug.cgi?id=720573
Signed-off-by: Hans Breuer <hans breuer org>
(cherry picked from commit 0b863adcad031c70601e375d72dae64fdd967752)
plug-ins/postscript/diapsft2renderer.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/postscript/diapsft2renderer.c b/plug-ins/postscript/diapsft2renderer.c
index 06675f8..09f6edb 100644
--- a/plug-ins/postscript/diapsft2renderer.c
+++ b/plug-ins/postscript/diapsft2renderer.c
@@ -29,8 +29,9 @@
#include <pango/pangoft2.h>
#include <pango/pango-engine.h>
/* I'd really rather avoid this */
-#include <freetype/ftglyph.h>
-#include <freetype/ftoutln.h>
+#include <ft2build.h>
+#include FT_GLYPH_H
+#include FT_OUTLINE_H
#define DPI 300
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]