beta-0.89.2
[luatex.git] / source / libs / cairo / cairo-src / src / cairo-fontconfig-private.h
blobea873abe7e4d5a5a1a79519fbd2f6230b8b74fb6
1 /* cairo - a vector graphics library with display and print output
3 * Copyright © 2000 Keith Packard
4 * Copyright © 2005 Red Hat, Inc
5 * Copyright © 2010 Intel Corporation
7 * This library is free software; you can redistribute it and/or
8 * modify it either under the terms of the GNU Lesser General Public
9 * License version 2.1 as published by the Free Software Foundation
10 * (the "LGPL") or, at your option, under the terms of the Mozilla
11 * Public License Version 1.1 (the "MPL"). If you do not alter this
12 * notice, a recipient may use your version of this file under either
13 * the MPL or the LGPL.
15 * You should have received a copy of the LGPL along with this library
16 * in the file COPYING-LGPL-2.1; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA
18 * You should have received a copy of the MPL along with this library
19 * in the file COPYING-MPL-1.1
21 * The contents of this file are subject to the Mozilla Public License
22 * Version 1.1 (the "License"); you may not use this file except in
23 * compliance with the License. You may obtain a copy of the License at
24 * http://www.mozilla.org/MPL/
26 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY
27 * OF ANY KIND, either express or implied. See the LGPL or the MPL for
28 * the specific language governing rights and limitations.
30 * The Original Code is the cairo graphics library.
32 * The Initial Developer of the Original Code is Red Hat, Inc.
34 * Contributor(s):
35 * Graydon Hoare <graydon@redhat.com>
36 * Owen Taylor <otaylor@redhat.com>
37 * Keith Packard <keithp@keithp.com>
38 * Carl Worth <cworth@cworth.org>
39 * Chris Wilson <chris@chris-wilson.co.uk>
42 #ifndef _CAIRO_FONTCONFIG_PRIVATE_H
43 #define _CAIRO_FONTCONFIG_PRIVATE_H
45 #include "cairo.h"
47 #if CAIRO_HAS_FC_FONT
48 #include <fontconfig/fontconfig.h>
49 #include <fontconfig/fcfreetype.h>
50 #endif
52 /* sub-pixel order */
53 #ifndef FC_RGBA_UNKNOWN
54 #define FC_RGBA_UNKNOWN 0
55 #define FC_RGBA_RGB 1
56 #define FC_RGBA_BGR 2
57 #define FC_RGBA_VRGB 3
58 #define FC_RGBA_VBGR 4
59 #define FC_RGBA_NONE 5
60 #endif
62 /* hinting style */
63 #ifndef FC_HINT_NONE
64 #define FC_HINT_NONE 0
65 #define FC_HINT_SLIGHT 1
66 #define FC_HINT_MEDIUM 2
67 #define FC_HINT_FULL 3
68 #endif
70 /* LCD filter */
71 #ifndef FC_LCD_NONE
72 #define FC_LCD_NONE 0
73 #define FC_LCD_DEFAULT 1
74 #define FC_LCD_LIGHT 2
75 #define FC_LCD_LEGACY 3
76 #endif
78 #endif /* _CAIRO_FONTCONFIG_PRIVATE_H */