src/zeit.h

/* [<][>]
[^][v][top][bottom][index][help] */

FUNCTIONS

This source file includes following functions.

   1 /*
   2  * zeit.h - a header file for a font driver in drv_zeit.c
   3  * by Hirotsugu Kakugawa
   4  */
   5 /*
   6  * Copyright (C) 1996-1998  Hirotsugu Kakugawa. 
   7  * All rights reserved.
   8  *
   9  * This file is part of the VFlib Library.  This library is free
  10  * software; you can redistribute it and/or modify it under the terms of
  11  * the GNU Library General Public License as published by the Free
  12  * Software Foundation; either version 2 of the License, or (at your
  13  * option) any later version.  This library is distributed in the hope
  14  * that it will be useful, but WITHOUT ANY WARRANTY; without even the
  15  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  16  * PURPOSE.  See the GNU Library General Public License for more details.
  17  * You should have received a copy of the GNU Library General Public
  18  * License along with this library; if not, write to the Free Software
  19  * Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  20  */
  21 
  22 #ifndef  __VFLIB_ZEIT_H__
  23 #define  __VFLIB_ZEIT_H__
  24 
  25 #define FONTCLASS_NAME       "zeit"
  26 
  27 #ifndef  DEFAULT_EXTENSIONS
  28 #  define   DEFAULT_EXTENSIONS  ".vf, .VF"
  29 #endif
  30 
  31 #define ZEIT_ENV_FONT_DIR    "VFLIB_ZEIT_FONTS"
  32 
  33 
  34 struct s_zeit {
  35   char    *path_name1;
  36   char    *path_name2;
  37   long    *ol_offset1;
  38   long    *ol_size1;
  39   long    *ol_offset2;
  40   long    *ol_size2;
  41 };
  42 typedef struct s_zeit  *ZEIT;
  43 
  44 
  45 #define ZEIT_NCHARS          0x1142
  46 #define ZEIT_HEADER_SIZE     (2+4*ZEIT_NCHARS)
  47 #define THRESHOLD_SIZE       0x1000
  48 #define ZEIT_MAX_VALUE       0x0400
  49 
  50 #define   DEFAULT_TO_REF_PT_H  0.86
  51 #define   DEFAULT_TO_REF_PT_V  -0.5
  52 
  53 
  54 Private int         ZEIT_Init(void);
  55 Private int         ZEIT_Open(char*);
  56 Private void        ZEIT_Close(int);
  57 Private VF_OUTLINE  ZEIT_ReadOutline(int,int,double,double);
  58 
  59 #endif /*__VFLIB_ZEIT_H__*/
  60 
  61 /*EOF*/

/* [<][>][^][v][top][bottom][index][help] */