ftfont.h 1.31 KB
Newer Older
Kenichi Handa's avatar
Kenichi Handa committed
1
/* ftfont.h -- Interface definition for Freetype font backend.
2
   Copyright (C) 2007, 2008
Kenichi Handa's avatar
Kenichi Handa committed
3 4 5 6 7
     National Institute of Advanced Industrial Science and Technology (AIST)
     Registration Number H13PRO009

This file is part of GNU Emacs.

8
GNU Emacs is free software: you can redistribute it and/or modify
Kenichi Handa's avatar
Kenichi Handa committed
9
it under the terms of the GNU General Public License as published by
10 11
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Kenichi Handa's avatar
Kenichi Handa committed
12 13 14 15 16 17 18

GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
19 20
along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */

Kenichi Handa's avatar
Kenichi Handa committed
21 22 23 24 25 26 27

#ifndef EMACS_FTFONT_H
#define EMACS_FTFONT_H

#include <ft2build.h>
#include FT_FREETYPE_H
#include FT_SIZES_H
Kenichi Handa's avatar
Kenichi Handa committed
28 29 30
#ifdef FT_BDF_H
#include FT_BDF_H
#endif
Kenichi Handa's avatar
Kenichi Handa committed
31 32 33 34 35 36 37 38 39 40 41

#ifdef HAVE_LIBOTF
#include <otf.h>
#ifdef HAVE_M17N_FLT
#include <m17n-flt.h>
extern Lisp_Object ftfont_shape_by_flt P_ ((Lisp_Object, struct font *,
					    FT_Face, OTF *));
#endif	/* HAVE_LIBOTF */
#endif	/* HAVE_M17N_FLT */

#endif	/* EMACS_FTFONT_H */
Miles Bader's avatar
Miles Bader committed
42 43 44

/* arch-tag: cec13d1c-7156-4997-9ebd-e989040c3d78
   (do not change this comment) */