/* pcf.h FreeType font driver for pcf fonts Copyright (C) 2000, 2001, 2002, 2003, 2006, 2010 by Francesco Zappa Nardelli Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #ifndef PCF_H_ #define PCF_H_ #include <freetype/internal/ftdrv.h> #include <freetype/internal/ftstream.h> FT_BEGIN_HEADER PCF_Table; PCF_Toc; PCF_ParseProperty; PCF_Property; PCF_Compressed_Metric; PCF_Metric; PCF_Enc; PCF_Accel; /* * This file uses X11 terminology for PCF data; an `encoding' in X11 speak * is the same as a `character code' in FreeType speak. */ PCF_Face; PCF_Driver; /* macros for pcf font format */ #define LSBFirst … #define MSBFirst … #define PCF_FILE_VERSION … #define PCF_FORMAT_MASK … #define PCF_DEFAULT_FORMAT … #define PCF_INKBOUNDS … #define PCF_ACCEL_W_INKBOUNDS … #define PCF_COMPRESSED_METRICS … #define PCF_FORMAT_MATCH( a, b ) … #define PCF_GLYPH_PAD_MASK … #define PCF_BYTE_MASK … #define PCF_BIT_MASK … #define PCF_SCAN_UNIT_MASK … #define PCF_BYTE_ORDER( f ) … #define PCF_BIT_ORDER( f ) … #define PCF_GLYPH_PAD_INDEX( f ) … #define PCF_GLYPH_PAD( f ) … #define PCF_SCAN_UNIT_INDEX( f ) … #define PCF_SCAN_UNIT( f ) … #define PCF_FORMAT_BITS( f ) … #define PCF_SIZE_TO_INDEX( s ) … #define PCF_INDEX_TO_SIZE( b ) … #define PCF_FORMAT( bit, byte, glyph, scan ) … #define PCF_PROPERTIES … #define PCF_ACCELERATORS … #define PCF_METRICS … #define PCF_BITMAPS … #define PCF_INK_METRICS … #define PCF_BDF_ENCODINGS … #define PCF_SWIDTHS … #define PCF_GLYPH_NAMES … #define PCF_BDF_ACCELERATORS … #define GLYPHPADOPTIONS … FT_LOCAL( FT_Error ) pcf_load_font( FT_Stream stream, PCF_Face face, FT_Long face_index ); FT_END_HEADER #endif /* PCF_H_ */ /* END */