"Fossies" - the Fresh Open Source Software Archive

Member "PDFlib-Lite-7.0.5p3/libs/font/ft_generr.h" (6 Jun 2012, 3631 Bytes) of package /linux/misc/old/PDFlib-Lite-7.0.5p3.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "ft_generr.h" see the Fossies "Dox" file reference documentation.

    1 /*---------------------------------------------------------------------------*
    2  |              PDFlib - A library for generating PDF on the fly             |
    3  +---------------------------------------------------------------------------+
    4  | Copyright (c) 1997-2006 Thomas Merz and PDFlib GmbH. All rights reserved. |
    5  +---------------------------------------------------------------------------+
    6  |                                                                           |
    7  |    This software is subject to the PDFlib license. It is NOT in the       |
    8  |    public domain. Extended versions and commercial licenses are           |
    9  |    available, please check http://www.pdflib.com.                         |
   10  |                                                                           |
   11  *---------------------------------------------------------------------------*/
   12 
   13 /* $Id: ft_generr.h,v 1.19.2.7 2008/02/07 18:30:27 kurt Exp $
   14  *
   15  * FONT error messages
   16  *
   17  */
   18 
   19 #define FT_GENERR_H
   20 
   21 #if     fnt_genNames
   22 #define gen(n, num, nam, msg)   FNT_E_##nam = num,
   23 #elif   fnt_genInfo
   24 #define gen(n, num, nam, msg)   { n, num, msg, (const char *) 0 },
   25 
   26 #else
   27 #error  invalid inclusion of generator file
   28 #endif
   29 
   30 
   31 /* -------------------------------------------------------------------- */
   32 /* Font                                                     (70xx)      */
   33 /* -------------------------------------------------------------------- */
   34 
   35 gen(1, 7000, FONT_ILLFONTSTYLE, "Illegal fontstyle '$1' in font name")
   36 
   37 gen(1, 7001, FONT_PREFIX, "Font '$1': ")
   38 
   39 gen(0, 7002, FONT_HOSTNOTFOUND, "Host font not found")
   40 
   41 gen(0, 7003, FONT_HOSTNOTFOUND2,
   42     "Host font not found (maybe unsupported QuickDraw font name specified)")
   43 
   44 gen(1, 7004, FONT_UNSUPP_FORMAT, "Font format '$1' not supported")
   45 
   46 gen(2, 7006, FONT_HOSTNOTLOADED,
   47     "Couldn't load $1 host font (system error code $2)")
   48 
   49 gen(1, 7007, FONT_NAMETOOLONG,
   50     "Font name too long (max. $1 characters)")
   51 
   52 gen(0, 7060, TT_BITMAP, "TrueType bitmap font not supported")
   53 
   54 gen(1, 7062, TT_NOFONT, "Font file '%s' is not a TrueType or OpenType font")
   55 
   56 gen(0, 7064, TT_BADCMAP, "Font contains unknown encodings (cmaps) only")
   57 
   58 gen(0, 7066, TT_SYMBOLOS2, "Symbol font does not contain OS/2 table")
   59 
   60 gen(0, 7068, TT_EMBED,
   61     "Font cannot be embedded due to licensing restrictions in the font file")
   62 
   63 gen(0, 7070, TT_ASSERT1, "TrueType parser error")
   64 
   65 gen(0, 7071, TT_CORRUPT1, "Corrupt TrueType font")
   66 
   67 gen(1, 7072, TT_ASSERT2, "TrueType parser error in font file '$1'")
   68 
   69 gen(1, 7073, TT_CORRUPT2, "Corrupt TrueType font file '$1'")
   70 
   71 gen(1, 7074, TTC_NOTFOUND,
   72     "Font not found in TrueType Collection file '$1'")
   73 
   74 gen(0, 7076, TT_NOGLYFDESC,
   75     "TrueType font does not contain any character outlines")
   76 
   77 gen(1, 7077, TT_GLYPHIDNOTFOUND,
   78     "Couldn't find glyph id for Unicode value U+$1")
   79 
   80 gen(0, 7078, TT_NONAME,
   81     "TrueType font contains only unsupported records in 'name' table")
   82 
   83 gen(1, 7079, TT_BADPOST,
   84     "TrueType 'post' table has unknown reserved character index $1")
   85 
   86 gen(1, 7080, OT_CHARSET,
   87     "OpenType font with predefined charset '$1' in CFF table not supported")
   88 
   89 gen(0, 7081, OT_MULTIFONT,
   90     "OpenType font with multiple font entries not supported")
   91 
   92 gen(0, 7082, OT_CHARSTRINGS,
   93     "OpenType font has no CharStrings data in CFF table")
   94 
   95 gen(0, 7083, OT_TOPDICT,
   96     "OpenType CID font has no Top DICT INDEX in CFF table")
   97 
   98 gen(0, 7085, OT_NO_ORDERING,
   99     "OpenType CID font has no ordering string in CFF table")
  100 
  101 gen(1, 7086, OT_ILL_CHARCOLL,
  102     "OpenType CID font has unknown character collection '$1'")
  103 
  104 
  105 
  106 
  107 
  108 
  109 
  110 #undef  gen
  111 #undef  fnt_genNames
  112 #undef  fnt_genInfo
  113