Jump to content

Nvidia & fonts


mike180

Recommended Posts

  • Replies 76
  • Created
  • Last Reply

Top Posters In This Topic

  • Bruno

    38

  • mike180

    36

  • Peachy

    3

Top Posters In This Topic

The 3rd file: /usr/include/fontconfig/fontconfig.h

/* * $XFree86: xc/lib/fontconfig/fontconfig/fontconfig.h,v 1.32 2002/10/11 17:53:03 keithp Exp $ * * Copyright © 2001 Keith Packard, member of The XFree86 Project, Inc. * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that * the above copyright notice appear in all copies and that both that * copyright notice and this permission notice appear in supporting * documentation, and that the name of Keith Packard not be used in * advertising or publicity pertaining to distribution of the software without * specific, written prior permission.  Keith Packard makes no * representations about the suitability of this software for any purpose.  It * is provided "as is" without express or implied warranty. * * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR * PERFORMANCE OF THIS SOFTWARE. */#ifndef _FONTCONFIG_H_#define _FONTCONFIG_H_#include <stdarg.h>typedef unsigned char FcChar8;typedef unsigned short FcChar16;typedef unsigned int FcChar32;typedef int  FcBool;/* * Current Fontconfig version number */#define FC_MAJOR 1#define FC_MINOR 0#define FC_REVISION 2#define FC_VERSION ((FC_MAJOR * 10000) + (FC_MINOR * 100) + (FC_REVISION))/* * Current font cache file format version * This is appended to the cache files so that multiple * versions of the library will peacefully coexist * * Change this value whenever the disk format for the cache file * changes in any non-compatible way.  Try to avoid such changes as * it means multiple copies of the font information. */#define FC_CACHE_VERSION    "1"#define FcTrue  1#define FcFalse  0#define FC_FAMILY  "family"  /* String */#define FC_STYLE  "style"  /* String */#define FC_SLANT  "slant"  /* Int */#define FC_WEIGHT  "weight"  /* Int */#define FC_SIZE      "size"  /* Double */#define FC_ASPECT  "aspect"  /* Double */#define FC_PIXEL_SIZE  "pixelsize"  /* Double */#define FC_SPACING  "spacing"  /* Int */#define FC_FOUNDRY  "foundry"  /* String */#define FC_ANTIALIAS  "antialias"  /* Bool (depends) */#define FC_HINTING  "hinting"  /* Bool (true) */#define FC_HINT_STYLE  "hintstyle"  /* Int */#define FC_VERTICAL_LAYOUT  "verticallayout" /* Bool (false) */#define FC_AUTOHINT  "autohint"  /* Bool (false) */#define FC_GLOBAL_ADVANCE "globaladvance" /* Bool (true) */#define FC_FILE      "file"  /* String */#define FC_INDEX  "index"  /* Int */#define FC_FT_FACE  "ftface"  /* FT_Face */#define FC_RASTERIZER  "rasterizer" /* String */#define FC_OUTLINE  "outline"  /* Bool */#define FC_SCALABLE  "scalable"  /* Bool */#define FC_SCALE  "scale"  /* double */#define FC_DPI      "dpi"  /* double */#define FC_RGBA      "rgba"  /* Int */#define FC_MINSPACE  "minspace"  /* Bool use minimum line spacing */#define FC_SOURCE  "source"  /* String (X11, freetype) */#define FC_CHARSET  "charset"  /* CharSet */#define FC_LANG      "lang"  /* String RFC 3066 langs */#define FC_FONTVERSION  "fontversion" /* Int from 'head' table */#define FC_DIR_CACHE_FILE  "fonts.cache-"FC_CACHE_VERSION#define FC_USER_CACHE_FILE  ".fonts.cache-"FC_CACHE_VERSION/* Adjust outline rasterizer */#define FC_CHAR_WIDTH  "charwidth" /* Int */#define FC_CHAR_HEIGHT  "charheight"/* Int */#define FC_MATRIX  "matrix"    /* FcMatrix */#define FC_WEIGHT_LIGHT  0#define FC_WEIGHT_MEDIUM    100#define FC_WEIGHT_DEMIBOLD  180#define FC_WEIGHT_BOLD  200#define FC_WEIGHT_BLACK  210#define FC_SLANT_ROMAN  0#define FC_SLANT_ITALIC  100#define FC_SLANT_OBLIQUE    110#define FC_PROPORTIONAL  0#define FC_MONO      100#define FC_CHARCELL  110/* sub-pixel order */#define FC_RGBA_UNKNOWN  0#define FC_RGBA_RGB  1#define FC_RGBA_BGR  2#define FC_RGBA_VRGB  3#define FC_RGBA_VBGR  4#define FC_RGBA_NONE  5/* hinting style */#define FC_HINT_NONE        0#define FC_HINT_SLIGHT      1#define FC_HINT_MEDIUM      2#define FC_HINT_FULL        3 typedef enum _FcType {    FcTypeVoid,     FcTypeInteger,     FcTypeDouble,     FcTypeString,     FcTypeBool,    FcTypeMatrix,    FcTypeCharSet,    FcTypeFTFace,    FcTypeLangSet} FcType;typedef struct _FcMatrix {    double xx, xy, yx, yy;} FcMatrix;#define FcMatrixInit(m) ((m)->xx = (m)->yy = 1, \    (m)->xy = (m)->yx = 0)/* * A data structure to represent the available glyphs in a font. * This is represented as a sparse boolean btree. */typedef struct _FcCharSet FcCharSet;typedef struct _FcObjectType {    const char *object;    FcType type;} FcObjectType;typedef struct _FcConstant {    const FcChar8  *name;    const char *object;    int  value;} FcConstant;typedef enum _FcResult {    FcResultMatch, FcResultNoMatch, FcResultTypeMismatch, FcResultNoId} FcResult;typedef struct _FcPattern FcPattern;typedef struct _FcLangSet FcLangSet;typedef struct _FcValue {    FcType type;    union { const FcChar8 *s; int  i; FcBool  b; double  d; const FcMatrix *m; const FcCharSet *c; void  *f; const FcPattern *p; const FcLangSet *l;    } u;} FcValue;typedef struct _FcFontSet {    int  nfont;    int  sfont;    FcPattern **fonts;} FcFontSet;typedef struct _FcObjectSet {    int  nobject;    int  sobject;    const char **objects;} FcObjectSet;    typedef enum _FcMatchKind {    FcMatchPattern, FcMatchFont} FcMatchKind;typedef enum _FcLangResult {    FcLangEqual, FcLangDifferentCountry, FcLangDifferentLang} FcLangResult;typedef enum _FcSetName {    FcSetSystem = 0,    FcSetApplication = 1} FcSetName;typedef struct _FcAtomic FcAtomic;#if defined(__cplusplus) || defined(c_plusplus) /* for C++ V2.0 */#define _FCFUNCPROTOBEGIN extern "C" { /* do not leave open across includes */#define _FCFUNCPROTOEND }#else#define _FCFUNCPROTOBEGIN#define _FCFUNCPROTOEND#endiftypedef enum { FcEndianBig, FcEndianLittle } FcEndian;typedef struct _FcConfig    FcConfig;typedef struct _FcGlobalCache FcFileCache;typedef struct _FcBlanks    FcBlanks;typedef struct _FcStrList FcStrList;typedef struct _FcStrSet    FcStrSet;_FCFUNCPROTOBEGINFcBoolFcDirCacheValid (const FcChar8 *cache_file);/* fcblanks.c */FcBlanks *FcBlanksCreate (void);voidFcBlanksDestroy (FcBlanks *B);FcBoolFcBlanksAdd (FcBlanks *b, FcChar32 ucs4);FcBoolFcBlanksIsMember (FcBlanks *b, FcChar32 ucs4);/* fccfg.c */FcChar8 *FcConfigFilename (const FcChar8 *url);    FcConfig *FcConfigCreate (void);voidFcConfigDestroy (FcConfig *config);FcBoolFcConfigSetCurrent (FcConfig *config);FcConfig *FcConfigGetCurrent (void);FcBoolFcConfigUptoDate (FcConfig *config);    FcBoolFcConfigBuildFonts (FcConfig *config);FcStrList *FcConfigGetFontDirs (FcConfig *config);FcStrList *FcConfigGetConfigDirs (FcConfig *config);FcStrList *FcConfigGetConfigFiles (FcConfig    *config);FcChar8 *FcConfigGetCache (FcConfig  *config);FcBlanks *FcConfigGetBlanks (FcConfig *config);intFcConfigGetRescanInverval (FcConfig *config);FcBoolFcConfigSetRescanInverval (FcConfig *config, int rescanInterval);FcFontSet *FcConfigGetFonts (FcConfig *config,    FcSetName set);FcBoolFcConfigAppFontAddFile (FcConfig    *config, const FcChar8  *file);FcBoolFcConfigAppFontAddDir (FcConfig  *config,      const FcChar8 *dir);voidFcConfigAppFontClear (FcConfig  *config);FcBoolFcConfigSubstituteWithPat (FcConfig *config,      FcPattern *p,      FcPattern *p_pat,      FcMatchKind kind);FcBoolFcConfigSubstitute (FcConfig *config,      FcPattern *p,      FcMatchKind kind);/* fccharset.c */FcCharSet *FcCharSetCreate (void);voidFcCharSetDestroy (FcCharSet *fcs);FcBoolFcCharSetAddChar (FcCharSet *fcs, FcChar32 ucs4);FcCharSet *FcCharSetCopy (FcCharSet *src);FcBoolFcCharSetEqual (const FcCharSet *a, const FcCharSet *B);FcCharSet *FcCharSetIntersect (const FcCharSet *a, const FcCharSet *B);FcCharSet *FcCharSetUnion (const FcCharSet *a, const FcCharSet *B);FcCharSet *FcCharSetSubtract (const FcCharSet *a, const FcCharSet *B);FcBoolFcCharSetHasChar (const FcCharSet *fcs, FcChar32 ucs4);FcChar32FcCharSetCount (const FcCharSet *a);FcChar32FcCharSetIntersectCount (const FcCharSet *a, const FcCharSet *B);FcChar32FcCharSetSubtractCount (const FcCharSet *a, const FcCharSet *B);FcBoolFcCharSetIsSubset (const FcCharSet *a, const FcCharSet *B);#define FC_CHARSET_MAP_SIZE (256/32)#define FC_CHARSET_DONE ((FcChar32) -1)FcChar32FcCharSetFirstPage (const FcCharSet *a,       FcChar32  map[FC_CHARSET_MAP_SIZE],      FcChar32  *next);FcChar32FcCharSetNextPage (const FcCharSet  *a,   FcChar32  map[FC_CHARSET_MAP_SIZE],  FcChar32  *next);/* fcdbg.c */voidFcValuePrint (const FcValue v);voidFcPatternPrint (const FcPattern *p);voidFcFontSetPrint (const FcFontSet *s);/* fcdefault.c */voidFcDefaultSubstitute (FcPattern *pattern);/* fcdir.c */FcBoolFcFileScan (FcFontSet  *set,  FcStrSet  *dirs,  FcFileCache  *cache,  FcBlanks  *blanks,  const FcChar8 *file,  FcBool  force);FcBoolFcDirScan (FcFontSet  *set,    FcStrSet  *dirs,    FcFileCache  *cache,    FcBlanks  *blanks,    const FcChar8    *dir,    FcBool  force);FcBoolFcDirSave (FcFontSet *set, FcStrSet *dirs, const FcChar8 *dir);/* fcfreetype.c */FcPattern *FcFreeTypeQuery (const FcChar8 *file, int id, FcBlanks *blanks, int *count);/* fcfs.c */FcFontSet *FcFontSetCreate (void);voidFcFontSetDestroy (FcFontSet *s);FcBoolFcFontSetAdd (FcFontSet *s, FcPattern *font);/* fcinit.c */FcConfig *FcInitLoadConfig (void);FcConfig *FcInitLoadConfigAndFonts (void);FcBoolFcInit (void);intFcGetVersion (void);FcBoolFcInitReinitialize (void);FcBoolFcInitBringUptoDate (void);/* fclang.c */FcLangSet *FcLangSetCreate (void);voidFcLangSetDestroy (FcLangSet *ls);FcLangSet *FcLangSetCopy (const FcLangSet *ls);FcBoolFcLangSetAdd (FcLangSet *ls, const FcChar8 *lang);FcLangResultFcLangSetHasLang (const FcLangSet *ls, const FcChar8 *lang);FcLangResultFcLangSetCompare (const FcLangSet *lsa, const FcLangSet *lsb);FcBoolFcLangSetEqual (const FcLangSet *lsa, const FcLangSet *lsb);FcChar32FcLangSetHash (const FcLangSet *ls);/* fclist.c */FcObjectSet *FcObjectSetCreate (void);FcBoolFcObjectSetAdd (FcObjectSet *os, const char *object);voidFcObjectSetDestroy (FcObjectSet *os);FcObjectSet *FcObjectSetVaBuild (const char *first, va_list va);FcObjectSet *FcObjectSetBuild (const char *first, ...);FcFontSet *FcFontSetList (FcConfig  *config,        FcFontSet    **sets,        int  nsets,        FcPattern    *p,        FcObjectSet  *os);FcFontSet *FcFontList (FcConfig *config,  FcPattern *p,  FcObjectSet *os);/* fcatomic.c */FcAtomic *FcAtomicCreate (const FcChar8 *file);FcBoolFcAtomicLock (FcAtomic *atomic);FcChar8 *FcAtomicNewFile (FcAtomic *atomic);FcChar8 *FcAtomicOrigFile (FcAtomic *atomic);FcBoolFcAtomicReplaceOrig (FcAtomic *atomic);voidFcAtomicDeleteNew (FcAtomic *atomic);voidFcAtomicUnlock (FcAtomic *atomic);voidFcAtomicDestroy (FcAtomic *atomic);/* fcmatch.c */FcPattern *FcFontSetMatch (FcConfig    *config,  FcFontSet **sets,  int  nsets,  FcPattern *p,  FcResult    *result);FcPattern *FcFontMatch (FcConfig *config,      FcPattern *p,       FcResult *result);FcPattern *FcFontRenderPrepare (FcConfig  *config,    FcPattern  *pat,    FcPattern  *font);FcFontSet *FcFontSetSort (FcConfig  *config,        FcFontSet    **sets,        int  nsets,        FcPattern    *p,        FcBool  trim,        FcCharSet    **csp,        FcResult  *result);FcFontSet *FcFontSort (FcConfig  *config,  FcPattern    *p,  FcBool  trim,  FcCharSet    **csp,  FcResult  *result);voidFcFontSetSortDestroy (FcFontSet *fs);/* fcmatrix.c */FcMatrix *FcMatrixCopy (const FcMatrix *mat);FcBoolFcMatrixEqual (const FcMatrix *mat1, const FcMatrix *mat2);voidFcMatrixMultiply (FcMatrix *result, const FcMatrix *a, const FcMatrix *B);voidFcMatrixRotate (FcMatrix *m, double c, double s);voidFcMatrixScale (FcMatrix *m, double sx, double sy);voidFcMatrixShear (FcMatrix *m, double sh, double sv);/* fcname.c */FcBoolFcNameRegisterObjectTypes (const FcObjectType *types, int ntype);FcBoolFcNameUnregisterObjectTypes (const FcObjectType *types, int ntype);    const FcObjectType *FcNameGetObjectType (const char *object);FcBoolFcNameRegisterConstants (const FcConstant *consts, int nconsts);FcBoolFcNameUnregisterConstants (const FcConstant *consts, int nconsts);    const FcConstant *FcNameGetConstant (FcChar8 *string);FcBoolFcNameConstant (FcChar8 *string, int *result);FcPattern *FcNameParse (const FcChar8 *name);FcChar8 *FcNameUnparse (FcPattern *pat);/* fcpat.c */FcPattern *FcPatternCreate (void);FcPattern *FcPatternDuplicate (const FcPattern *p);voidFcPatternReference (FcPattern *p);voidFcValueDestroy (FcValue v);FcBoolFcValueEqual (FcValue va, FcValue vb);FcValueFcValueSave (FcValue v);voidFcPatternDestroy (FcPattern *p);FcBoolFcPatternEqual (const FcPattern *pa, const FcPattern *pb);FcBoolFcPatternEqualSubset (const FcPattern *pa, const FcPattern *pb, const FcObjectSet *os);FcChar32FcPatternHash (const FcPattern *p);FcBoolFcPatternAdd (FcPattern *p, const char *object, FcValue value, FcBool append);    FcBoolFcPatternAddWeak (FcPattern *p, const char *object, FcValue value, FcBool append);    FcResultFcPatternGet (const FcPattern *p, const char *object, int id, FcValue *v);    FcBoolFcPatternDel (FcPattern *p, const char *object);FcBoolFcPatternAddInteger (FcPattern *p, const char *object, int i);FcBoolFcPatternAddDouble (FcPattern *p, const char *object, double d);FcBoolFcPatternAddString (FcPattern *p, const char *object, const FcChar8 *s);FcBoolFcPatternAddMatrix (FcPattern *p, const char *object, const FcMatrix *s);FcBoolFcPatternAddCharSet (FcPattern *p, const char *object, const FcCharSet *c);FcBoolFcPatternAddBool (FcPattern *p, const char *object, FcBool B);FcBoolFcPatternAddLangSet (FcPattern *p, const char *object, const FcLangSet *ls);FcResultFcPatternGetInteger (const FcPattern *p, const char *object, int n, int *i);FcResultFcPatternGetDouble (const FcPattern *p, const char *object, int n, double *d);FcResultFcPatternGetString (const FcPattern *p, const char *object, int n, FcChar8 ** s);FcResultFcPatternGetMatrix (const FcPattern *p, const char *object, int n, FcMatrix **s);FcResultFcPatternGetCharSet (const FcPattern *p, const char *object, int n, FcCharSet **c);FcResultFcPatternGetBool (const FcPattern *p, const char *object, int n, FcBool *B);FcResultFcPatternGetLangSet (const FcPattern *p, const char *object, int n, FcLangSet **ls);FcPattern *FcPatternVaBuild (FcPattern *orig, va_list va);    FcPattern *FcPatternBuild (FcPattern *orig, ...);/* fcstr.c */FcChar8 *FcStrCopy (const FcChar8 *s);FcChar8 *FcStrCopyFilename (const FcChar8 *s);    #define FcToLower© (('A' <= © && © <= 'Z') ? © - 'A' + 'a' : ©)intFcStrCmpIgnoreCase (const FcChar8 *s1, const FcChar8 *s2);intFcStrCmp (const FcChar8 *s1, const FcChar8 *s2);intFcUtf8ToUcs4 (const FcChar8 *src_orig,    FcChar32  *dst,    int  len);FcBoolFcUtf8Len (const FcChar8    *string,    int      len,    int      *nchar,    int      *wchar);#define FC_UTF8_MAX_LEN 6intFcUcs4ToUtf8 (FcChar32 ucs4,    FcChar8 dest[FC_UTF8_MAX_LEN]);intFcUtf16ToUcs4 (const FcChar8 *src_orig,        FcEndian  endian,        FcChar32  *dst,        int  len);  /* in bytes */FcBoolFcUtf16Len (const FcChar8 *string,  FcEndian  endian,  int      len,  /* in bytes */  int      *nchar,  int      *wchar);FcChar8 *FcStrDirname (const FcChar8 *file);FcChar8 *FcStrBasename (const FcChar8 *file);FcStrSet *FcStrSetCreate (void);FcBoolFcStrSetMember (FcStrSet *set, const FcChar8 *s);FcBoolFcStrSetEqual (FcStrSet *sa, FcStrSet *sb);FcBoolFcStrSetAdd (FcStrSet *set, const FcChar8 *s);FcBoolFcStrSetAddFilename (FcStrSet *set, const FcChar8 *s);FcBoolFcStrSetDel (FcStrSet *set, const FcChar8 *s);voidFcStrSetDestroy (FcStrSet *set);FcStrList *FcStrListCreate (FcStrSet *set);FcChar8 *FcStrListNext (FcStrList *list);voidFcStrListDone (FcStrList *list);/* fcxml.c */FcBoolFcConfigParseAndLoad (FcConfig *config, const FcChar8 *file, FcBool complain);_FCFUNCPROTOEND#endif /* _FONTCONFIG_H_ */
Link to comment
Share on other sites

Number 4 /usr/include/fontconfig/fcprivate.h

/* * $XFree86: xc/lib/fontconfig/fontconfig/fcprivate.h,v 1.6 2002/08/22 07:36:44 keithp Exp $ * * Copyright © 2001 Keith Packard, member of The XFree86 Project, Inc. * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that * the above copyright notice appear in all copies and that both that * copyright notice and this permission notice appear in supporting * documentation, and that the name of Keith Packard not be used in * advertising or publicity pertaining to distribution of the software without * specific, written prior permission.  Keith Packard makes no * representations about the suitability of this software for any purpose.  It * is provided "as is" without express or implied warranty. * * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR * PERFORMANCE OF THIS SOFTWARE. */#ifndef _FCPRIVATE_H_#define _FCPRIVATE_H_/* * I tried this with functions that took va_list* arguments * but portability concerns made me change these functions * into macros (sigh). */#define FcPatternVapBuild(result, orig, va)    \{            \    FcPattern *__p__ = (orig);        \    const char *__o__;          \    FcValue __v__;          \            \    if (!__p__)        \    {            \ __p__ = FcPatternCreate ();        \ if (!__p__)              \  goto _FcPatternVapBuild_bail0;    \    }                \    for (;B)            \    {                \ __o__ = va_arg (va, const char *);    \ if (!__o__)              \  break;              \ __v__.type = va_arg (va, FcType);    \ switch (__v__.type) {          \ case FcTypeVoid:      \  goto _FcPatternVapBuild_bail1;          \ case FcTypeInteger:          \  __v__.u.i = va_arg (va, int);    \  break;          \ case FcTypeDouble:      \  __v__.u.d = va_arg (va, double);    \  break;          \ case FcTypeString:      \  __v__.u.s = va_arg (va, FcChar8 *);    \  break;          \ case FcTypeBool:      \  __v__.u.b = va_arg (va, FcBool);    \  break;          \ case FcTypeMatrix:      \  __v__.u.m = va_arg (va, FcMatrix *);      \  break;          \ case FcTypeCharSet:      \  __v__.u.c = va_arg (va, FcCharSet *);      \  break;          \ case FcTypeFTFace:      \  __v__.u.f = va_arg (va, FT_Face);    \  break;          \ case FcTypeLangSet:      \  __v__.u.l = va_arg (va, FcLangSet *);      \  break;          \ }        \ if (!FcPatternAdd (__p__, __o__, __v__, FcTrue))  \  goto _FcPatternVapBuild_bail1;    \    }            \    result = __p__;          \    goto _FcPatternVapBuild_return;        \            \_FcPatternVapBuild_bail1:      \    if (!orig)        \ FcPatternDestroy (__p__);        \_FcPatternVapBuild_bail0:      \    result = 0;        \            \_FcPatternVapBuild_return:      \    ;            \}#define FcObjectSetVapBuild(__ret__, __first__, __va__) \{      \    FcObjectSet    *__os__;      \    const char  *__ob__;      \      \    __ret__ = 0;        \    __os__ = FcObjectSetCreate ();  \    if (!__os__)    \ goto _FcObjectSetVapBuild_bail0;    \    __ob__ = __first__;    \    while (__ob__)    \    {      \ if (!FcObjectSetAdd (__os__, __ob__))    \  goto _FcObjectSetVapBuild_bail1;    \ __ob__ = va_arg (__va__, const char *);    \    }      \    __ret__ = __os__;    \      \_FcObjectSetVapBuild_bail1:      \    if (!__ret__ && __os__)          \ FcObjectSetDestroy (__os__);  \_FcObjectSetVapBuild_bail0:      \    ;      \}#endif /* _FCPRIVATE_H_ */
Link to comment
Share on other sites

Number 5 /usr/include/fontconfig/fcfreetype.h

/* * $XFree86: xc/lib/fontconfig/fontconfig/fcfreetype.h,v 1.4 2002/10/11 17:53:03 keithp Exp $ * * Copyright © 2001 Keith Packard, member of The XFree86 Project, Inc. * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that * the above copyright notice appear in all copies and that both that * copyright notice and this permission notice appear in supporting * documentation, and that the name of Keith Packard not be used in * advertising or publicity pertaining to distribution of the software without * specific, written prior permission.  Keith Packard makes no * representations about the suitability of this software for any purpose.  It * is provided "as is" without express or implied warranty. * * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR * PERFORMANCE OF THIS SOFTWARE. */#ifndef _FCFREETYPE_H_#define _FCFREETYPE_H_#include <freetype/freetype.h>FT_UIntFcFreeTypeCharIndex (FT_Face face, FcChar32 ucs4);FcCharSet *FcFreeTypeCharSet (FT_Face face, FcBlanks *blanks);FcResultFcPatternGetFTFace (const FcPattern *p, const char *object, int n, FT_Face *f);FcBoolFcPatternAddFTFace (FcPattern *p, const char *object, const FT_Face f);#endif
Link to comment
Share on other sites

Right Mike, I think that´s all that can be relevant !Just print it out and check them to your files . . . Hope it brings some light in the font-business.B) Bruno

Link to comment
Share on other sites

Thanks Bruno!!I'll have to go to Win XP to print haven't been able to get my printer working in linux yet due to the video problem.Oh, by the way. Your Linux tips come to some 77 pages. B) B) B)

Link to comment
Share on other sites

Mike,You want me to send the first one to you in an attachment by e-mail ? ( the xml-one ) Then you can just copy it in it´s place over the other one.If you do send me a PM with an email address.B) Bruno

Link to comment
Share on other sites

Oh, by the way.  Your Linux tips come to some 77 pages. B)  B)  B)
Looks like being ready for print then and sell them on Amazon.com B) B) B) ( let´s just keep laughin´ Mike, life is sad enough without all these problems )B) BrunoEmail the files ? ( see above )
Link to comment
Share on other sites

MikeAs you copy those files I send you on it´s place you have to reboot after ( or start X again, not only logout-login ) Because X has to read the config files first, as it is re-started, for the files to have any effect. B) Bruno

Link to comment
Share on other sites

Mike,Forgot to tell you: Do NOT open the files in a windows environnement, that will corrupt them because windows handles the formatting of a text-file differently.B) Bruno

Link to comment
Share on other sites

Now how do import it? It is in xml format and I need an editor or something to copy it to.
You should be able to view the files in any web browers. As for editing, Notepad is good, Dreamweaver, etc. In Linux, Bluefish, vi.
Link to comment
Share on other sites

So. I am back and running from /home/mike. Glxgears run at 6667.40 fps. Three cheers: rah rah rah.The offending fonts are called Raghindi and if you are curious as to what they look like; open your email program and scroll through its fonts list. Repair (for me) entitled a full reinstall: and, before downloading any updates; I installed the new Nvidia drivers first. How and why my /home/mike defaulted to Raghindi fonts, is still unknown. I still haven´t run the Mandrake updater,but, I am now sure I can repair, without a new installation. This feels so good! :) :) B) :) :) . YEAH!!Scratches head and wonders. Where did those three missing fonts go?? Shrugs sholders and walks away. Knowing as he did. That was what started the whole thing!! O´Well. Isn´t this fun. :) and a big :D :) peeking around a corner.Bruno! Is that you?Come here; I need to give you a hug and buy you a beer!! Or what ever you want.Big THANKS go out to: GolfProRM, Peachy and two others who´s names slip my weak and tired mind. ( They sent PMs and email. Thx) You know who you are. Pizza and Beer next weekend at my house for all!! YEAH

Link to comment
Share on other sites

Congrats Mike180 ! Finaly some good news . . :DYou certainly deserve that cold beer now !B) Bruno

Link to comment
Share on other sites

Well after downloading all the updates from mandrakes prefered site: secure net or whatever and having to click on retry three or four times per package (it would download) my finger is sore and so is my mouse. Everything is very nice on display & very fast. I love it!!Next thing is to get my lexmark Z25 printer working, then my DVD-Ram drive. Printer defaulted to unix drivers and I haven´t, yet, found a way to uninstall them. DVD-ram will play music but not DVD´s and I will not waste a 4.7Gig disk on a test burn. :) .The last paragraph should be a start for another forum topic or two. :) AND JEEZ GUYS AND GALS. THANKS ALOT!! BE SAFE; EXPECT TO SEE ALL, ON TUESDAY. :) ;) :)

Link to comment
Share on other sites

DVD-ram will play music but not DVD´s and I will not waste a 4.7Gig disk on a test burn. :D .
Linux doesn't play DVDs out of the box because of copyright issues. Search the web for solutions.
Link to comment
Share on other sites

Peachy,I guess that means that burning a cd does work and I only need to download and configure a DVD player?Correct?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...