提交 ba0ccd5c 编写于 作者: O Owen Taylor 提交者: Owen Taylor

Switch over to recommended Freetype system of include ft2build.h then

Sat Nov  1 09:32:15 2003  Owen Taylor  <otaylor@redhat.com>

        * pango/pango-ot.h pango/pangofc-font.h modules/indic/indic-ot.h
        pango/pangoft2.c pango/opentype/pango-ot-info.c
        pango/opentype/pango-ot-ruleset.c pango/opentype/ottest.c
        pango/opentype/ftxopen.[ch] pango/opentype/ftxgdef.c
        pango/opentype/ftxgsub.c pango/opentype/ftxgpos.c:
        Switch over to recommended Freetype system of
        include ft2build.h then #include FT_FREETYPE_H.
        Fixes ftmodule.h problem with current Freetype CVS.
        (#125548)
上级 558171a7
......@@ -15,16 +15,16 @@
*
******************************************************************/
#include <freetype/tttags.h>
#include <freetype/internal/ftstream.h>
#include <freetype/internal/ftmemory.h>
#include <freetype/internal/tttypes.h>
#include "ftxopen.h"
#include "ftxopenf.h"
#include "fterrcompat.h"
#include "ftxopen.h"
#include "ftxopenf.h"
#include FT_TRUETYPE_TAGS_H
#include FT_INTERNAL_STREAM_H
#include FT_INTERNAL_MEMORY_H
#include FT_INTERNAL_TRUETYPE_TYPES_H
#define TTAG_GDEF FT_MAKE_TAG( 'G', 'D', 'E', 'F' )
......
......@@ -21,19 +21,18 @@
sharing as much as possible with extensive use of macros. This
is something for a volunteer :-) */
#define TTAG_GPOS FT_MAKE_TAG( 'G', 'P', 'O', 'S' )
#include <freetype/tttags.h>
#include <freetype/internal/ftstream.h>
#include <freetype/internal/ftmemory.h>
#include <freetype/internal/tttypes.h>
#include "ftxopen.h"
#include "ftxopenf.h"
#include "fterrcompat.h"
#include "ftxopen.h"
#include "ftxopenf.h"
#include FT_TRUETYPE_TAGS_H
#include FT_INTERNAL_STREAM_H
#include FT_INTERNAL_MEMORY_H
#include FT_INTERNAL_TRUETYPE_TYPES_H
#define TTAG_GPOS FT_MAKE_TAG( 'G', 'P', 'O', 'S' )
struct GPOS_Instance_
{
......
......@@ -23,17 +23,16 @@
#define EXPORT_FUNC
#include <freetype/tttags.h>
#include <freetype/internal/ftstream.h>
#include <freetype/internal/ftmemory.h>
#include <freetype/internal/tttypes.h>
#include "ftxopen.h"
#include "ftxopenf.h"
#include "fterrcompat.h"
#include "ftxopen.h"
#include "ftxopenf.h"
#include FT_TRUETYPE_TAGS_H
#include FT_INTERNAL_STREAM_H
#include FT_INTERNAL_MEMORY_H
#include FT_INTERNAL_TRUETYPE_TYPES_H
#define GSUB_ID Build_Extension_ID( 'G', 'S', 'U', 'B' )
......
......@@ -15,14 +15,14 @@
*
******************************************************************/
#include <freetype/internal/ftstream.h>
#include <freetype/internal/ftmemory.h>
#include <freetype/internal/tttypes.h>
#include "ftxopen.h"
#include "ftxopenf.h"
#include "fterrcompat.h"
#include "ftxopen.h"
#include "ftxopenf.h"
#include FT_INTERNAL_STREAM_H
#include FT_INTERNAL_MEMORY_H
#include FT_INTERNAL_TRUETYPE_TYPES_H
/***************************
......
......@@ -22,7 +22,8 @@
#ifndef FTXOPEN_H
#define FTXOPEN_H
#include <freetype/freetype.h>
#include <ft2build.h>
#include FT_FREETYPE_H
#ifdef __cplusplus
extern "C" {
......
......@@ -23,7 +23,6 @@
#include <stdlib.h>
#include "ftxopen.h"
#include <freetype/internal/ftmemory.h>
#include "disasm.h"
......
......@@ -21,8 +21,8 @@
#include "pango-ot-private.h"
#include "fterrcompat.h"
#include <freetype/internal/ftobjs.h>
#include <freetype/ftmodule.h>
#include FT_INTERNAL_OBJECTS_H
#include FT_MODULE_H
static void pango_ot_info_class_init (GObjectClass *object_class);
static void pango_ot_info_finalize (GObject *object);
......
......@@ -22,8 +22,6 @@
#ifndef __PANGO_OT_PRIVATE_H__
#define __PANGO_OT_PRIVATE_H__
#include <freetype/freetype.h>
#include <glib-object.h>
#include <pango/pango-ot.h>
......
......@@ -19,11 +19,11 @@
* Boston, MA 02111-1307, USA.
*/
#include <freetype/internal/ftmemory.h>
#include <pango/pango-ot.h>
#include "pango-ot-private.h"
#include FT_INTERNAL_MEMORY_H /* For FT_Free() */
#define PANGO_SCALE_26_6 (PANGO_SCALE / (1<<6))
#define PANGO_UNITS_26_6(d) (PANGO_SCALE_26_6 * (d))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册