Home | History | Annotate | Download | only in services
      1 /****************************************************************************
      2  *
      3  * svfntfmt.h
      4  *
      5  *   The FreeType font format service (specification only).
      6  *
      7  * Copyright 2003-2018 by
      8  * David Turner, Robert Wilhelm, and Werner Lemberg.
      9  *
     10  * This file is part of the FreeType project, and may only be used,
     11  * modified, and distributed under the terms of the FreeType project
     12  * license, LICENSE.TXT.  By continuing to use, modify, or distribute
     13  * this file you indicate that you have read the license and
     14  * understand and accept it fully.
     15  *
     16  */
     17 
     18 
     19 #ifndef SVFNTFMT_H_
     20 #define SVFNTFMT_H_
     21 
     22 #include FT_INTERNAL_SERVICE_H
     23 
     24 
     25 FT_BEGIN_HEADER
     26 
     27 
     28   /*
     29    * A trivial service used to return the name of a face's font driver,
     30    * according to the XFree86 nomenclature.  Note that the service data
     31    * is a simple constant string pointer.
     32    */
     33 
     34 #define FT_SERVICE_ID_FONT_FORMAT  "font-format"
     35 
     36 #define FT_FONT_FORMAT_TRUETYPE  "TrueType"
     37 #define FT_FONT_FORMAT_TYPE_1    "Type 1"
     38 #define FT_FONT_FORMAT_BDF       "BDF"
     39 #define FT_FONT_FORMAT_PCF       "PCF"
     40 #define FT_FONT_FORMAT_TYPE_42   "Type 42"
     41 #define FT_FONT_FORMAT_CID       "CID Type 1"
     42 #define FT_FONT_FORMAT_CFF       "CFF"
     43 #define FT_FONT_FORMAT_PFR       "PFR"
     44 #define FT_FONT_FORMAT_WINFNT    "Windows FNT"
     45 
     46   /* */
     47 
     48 
     49 FT_END_HEADER
     50 
     51 
     52 #endif /* SVFNTFMT_H_ */
     53 
     54 
     55 /* END */
     56