summaryrefslogtreecommitdiff
path: root/font-viewer/ftstream-vfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'font-viewer/ftstream-vfs.h')
-rw-r--r--font-viewer/ftstream-vfs.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/font-viewer/ftstream-vfs.h b/font-viewer/ftstream-vfs.h
new file mode 100644
index 00000000..c550cafd
--- /dev/null
+++ b/font-viewer/ftstream-vfs.h
@@ -0,0 +1,35 @@
+/* -*- mode: C; c-basic-offset: 4 -*- */
+
+/*
+ * ftstream-vfs: a FreeType/GIO stream bridge
+ *
+ * Copyright (C) 2002-2003 James Henstridge <[email protected]>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#ifndef __FTSTREAM_VFS_H__
+#define __FTSTREAM_VFS_H__
+
+#include <ft2build.h>
+#include FT_FREETYPE_H
+#include <glib.h>
+
+FT_Error FT_New_Face_From_URI (FT_Library library,
+ const gchar* uri,
+ FT_Long face_index,
+ FT_Face *aface);
+
+#endif /* __FTSTREAM_VFS_H__ */