Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/X11/fonts
File: font.h
/***********************************************************
[0] Fix | Delete
Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
[1] Fix | Delete
[2] Fix | Delete
All Rights Reserved
[3] Fix | Delete
[4] Fix | Delete
Permission to use, copy, modify, and distribute this software and its
[5] Fix | Delete
documentation for any purpose and without fee is hereby granted,
[6] Fix | Delete
provided that the above copyright notice appear in all copies and that
[7] Fix | Delete
both that copyright notice and this permission notice appear in
[8] Fix | Delete
supporting documentation, and that the name of Digital not be
[9] Fix | Delete
used in advertising or publicity pertaining to distribution of the
[10] Fix | Delete
software without specific, written prior permission.
[11] Fix | Delete
[12] Fix | Delete
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
[13] Fix | Delete
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
[14] Fix | Delete
DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
[15] Fix | Delete
ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
[16] Fix | Delete
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
[17] Fix | Delete
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
[18] Fix | Delete
SOFTWARE.
[19] Fix | Delete
[20] Fix | Delete
******************************************************************/
[21] Fix | Delete
[22] Fix | Delete
#ifndef FONT_H
[23] Fix | Delete
#define FONT_H
[24] Fix | Delete
[25] Fix | Delete
#include <X11/Xfuncproto.h>
[26] Fix | Delete
[27] Fix | Delete
#ifndef BitmapFormatByteOrderMask
[28] Fix | Delete
#include "fsmasks.h"
[29] Fix | Delete
#endif
[30] Fix | Delete
[31] Fix | Delete
/* data structures */
[32] Fix | Delete
#ifndef _XTYPEDEF_FONTPTR
[33] Fix | Delete
typedef struct _Font *FontPtr;
[34] Fix | Delete
#define _XTYPEDEF_FONTPTR
[35] Fix | Delete
#endif
[36] Fix | Delete
[37] Fix | Delete
typedef struct _FontInfo *FontInfoPtr;
[38] Fix | Delete
typedef struct _FontProp *FontPropPtr;
[39] Fix | Delete
typedef struct _ExtentInfo *ExtentInfoPtr;
[40] Fix | Delete
typedef struct _FontPathElement *FontPathElementPtr;
[41] Fix | Delete
[42] Fix | Delete
#ifndef _XTYPEDEF_CHARINFOPTR
[43] Fix | Delete
typedef struct _CharInfo *CharInfoPtr;
[44] Fix | Delete
#define _XTYPEDEF_CHARINFOPTR
[45] Fix | Delete
#endif
[46] Fix | Delete
[47] Fix | Delete
typedef struct _FontNames *FontNamesPtr;
[48] Fix | Delete
typedef struct _FontResolution *FontResolutionPtr;
[49] Fix | Delete
[50] Fix | Delete
#define NullCharInfo ((CharInfoPtr) 0)
[51] Fix | Delete
#define NullFont ((FontPtr) 0)
[52] Fix | Delete
#define NullFontInfo ((FontInfoPtr) 0)
[53] Fix | Delete
[54] Fix | Delete
/* draw direction */
[55] Fix | Delete
#define LeftToRight 0
[56] Fix | Delete
#define RightToLeft 1
[57] Fix | Delete
#define BottomToTop 2
[58] Fix | Delete
#define TopToBottom 3
[59] Fix | Delete
typedef int DrawDirection;
[60] Fix | Delete
[61] Fix | Delete
#define NO_SUCH_CHAR -1
[62] Fix | Delete
[63] Fix | Delete
[64] Fix | Delete
#define FontAliasType 0x1000
[65] Fix | Delete
[66] Fix | Delete
#define AllocError 80
[67] Fix | Delete
#define StillWorking 81
[68] Fix | Delete
#define FontNameAlias 82
[69] Fix | Delete
#define BadFontName 83
[70] Fix | Delete
#define Suspended 84
[71] Fix | Delete
#define Successful 85
[72] Fix | Delete
#define BadFontPath 86
[73] Fix | Delete
#define BadCharRange 87
[74] Fix | Delete
#define BadFontFormat 88
[75] Fix | Delete
#define FPEResetFailed 89 /* for when an FPE reset won't work */
[76] Fix | Delete
[77] Fix | Delete
/* OpenFont flags */
[78] Fix | Delete
#define FontLoadInfo 0x0001
[79] Fix | Delete
#define FontLoadProps 0x0002
[80] Fix | Delete
#define FontLoadMetrics 0x0004
[81] Fix | Delete
#define FontLoadBitmaps 0x0008
[82] Fix | Delete
#define FontLoadAll 0x000f
[83] Fix | Delete
#define FontOpenSync 0x0010
[84] Fix | Delete
#define FontReopen 0x0020
[85] Fix | Delete
[86] Fix | Delete
/* Query flags */
[87] Fix | Delete
#define LoadAll 0x1
[88] Fix | Delete
#define FinishRamge 0x2
[89] Fix | Delete
#define EightBitFont 0x4
[90] Fix | Delete
#define SixteenBitFont 0x8
[91] Fix | Delete
[92] Fix | Delete
/* Glyph Caching Modes */
[93] Fix | Delete
#define CACHING_OFF 0
[94] Fix | Delete
#define CACHE_16_BIT_GLYPHS 1
[95] Fix | Delete
#define CACHE_ALL_GLYPHS 2
[96] Fix | Delete
#define DEFAULT_GLYPH_CACHING_MODE CACHE_16_BIT_GLYPHS
[97] Fix | Delete
extern int glyphCachingMode;
[98] Fix | Delete
[99] Fix | Delete
struct _Client;
[100] Fix | Delete
[101] Fix | Delete
extern int StartListFontsWithInfo(
[102] Fix | Delete
struct _Client * /*client*/,
[103] Fix | Delete
int /*length*/,
[104] Fix | Delete
unsigned char * /*pattern*/,
[105] Fix | Delete
int /*max_names*/
[106] Fix | Delete
);
[107] Fix | Delete
[108] Fix | Delete
extern FontNamesPtr MakeFontNamesRecord(
[109] Fix | Delete
unsigned /* size */
[110] Fix | Delete
);
[111] Fix | Delete
[112] Fix | Delete
extern void FreeFontNames(
[113] Fix | Delete
FontNamesPtr /* pFN*/
[114] Fix | Delete
);
[115] Fix | Delete
[116] Fix | Delete
extern int AddFontNamesName(
[117] Fix | Delete
FontNamesPtr /* names */,
[118] Fix | Delete
char * /* name */,
[119] Fix | Delete
int /* length */
[120] Fix | Delete
);
[121] Fix | Delete
[122] Fix | Delete
#if 0 /* unused */
[123] Fix | Delete
extern int FontToFSError();
[124] Fix | Delete
extern FontResolutionPtr GetClientResolution();
[125] Fix | Delete
#endif
[126] Fix | Delete
[127] Fix | Delete
typedef struct _FontPatternCache *FontPatternCachePtr;
[128] Fix | Delete
[129] Fix | Delete
extern FontPatternCachePtr MakeFontPatternCache (
[130] Fix | Delete
void
[131] Fix | Delete
);
[132] Fix | Delete
[133] Fix | Delete
extern void FreeFontPatternCache (
[134] Fix | Delete
FontPatternCachePtr /* cache */
[135] Fix | Delete
);
[136] Fix | Delete
[137] Fix | Delete
extern void EmptyFontPatternCache (
[138] Fix | Delete
FontPatternCachePtr /* cache */
[139] Fix | Delete
);
[140] Fix | Delete
[141] Fix | Delete
extern void CacheFontPattern (
[142] Fix | Delete
FontPatternCachePtr /* cache */,
[143] Fix | Delete
const char * /* pattern */,
[144] Fix | Delete
int /* patlen */,
[145] Fix | Delete
FontPtr /* pFont */
[146] Fix | Delete
);
[147] Fix | Delete
extern _X_EXPORT FontResolutionPtr GetClientResolutions(
[148] Fix | Delete
int * /* num */
[149] Fix | Delete
);
[150] Fix | Delete
[151] Fix | Delete
extern FontPtr FindCachedFontPattern (
[152] Fix | Delete
FontPatternCachePtr /* cache */,
[153] Fix | Delete
const char * /* pattern */,
[154] Fix | Delete
int /* patlen */
[155] Fix | Delete
);
[156] Fix | Delete
[157] Fix | Delete
extern void RemoveCachedFontPattern (
[158] Fix | Delete
FontPatternCachePtr /* cache */,
[159] Fix | Delete
FontPtr /* pFont */
[160] Fix | Delete
);
[161] Fix | Delete
[162] Fix | Delete
typedef enum {
[163] Fix | Delete
Linear8Bit, TwoD8Bit, Linear16Bit, TwoD16Bit
[164] Fix | Delete
} FontEncoding;
[165] Fix | Delete
[166] Fix | Delete
#endif /* FONT_H */
[167] Fix | Delete
[168] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function