9 #import <objc/Object.h>
11 #import <objc/typedstream.h>
13 #define NX_IDENTITYMATRIX ((float *) 0)
14 #define NX_FLIPPEDMATRIX ((float *) -1)
16 #define NX_FONTHEADER 1
17 #define NX_FONTMETRICS 2
18 #define NX_FONTWIDTHS 4
19 #define NX_FONTCHARDATA 8
20 #define NX_FONTKERNING 16
21 #define NX_FONTCOMPOSITES 32
31 #define NX_FIGSPACE ((unsigned short)0x80)
32 #define NX_EMSPACE ((unsigned short)0x81)
33 #define NX_ENSPACE ((unsigned short)0x82)
34 #define NX_THINSPACE ((unsigned short)0x83)
148 + newFont:(
const char *)fontName size:(
float )fontSize style:(
int )fontStyle matrix:(
float *)fontMatrix;
149 + newFont:(
const char *)fontName size:(
float )fontSize;
161 -(
float ) getWidthOf:(
const char *)string;
struct _NXKernPair NXKernPair
struct _NXFontMetrics NXFontMetrics
char * NXBoldSystemFont
Definition: appkit_globals.m:32
struct _NXLigature NXLigature
char * NXSystemFont
Definition: appkit_globals.m:31
struct _NXKernTrack NXKernTrack
struct _NXFaceInfo NXFaceInfo
struct _NXCompositeChar NXCompositeChar
struct _NXCharData NXCharData
struct _NXCompositePart NXCompositePart
char BOOL
Definition: mode.h:44
#define free(ptr)
Definition: hostdict.c:30
register NXFontMetrics * metrics
Definition: afm.m:490
#define const
Definition: c-parse.tab.c:108
unsigned int _hasStyle
Definition: Font.h:142
unsigned int usedByPrinter
Definition: Font.h:139
unsigned int usedByWS
Definition: Font.h:138
NXFaceInfo * faceInfo
Definition: Font.h:135
unsigned int _PADDING
Definition: Font.h:141
float size
Definition: Font.h:131
unsigned int _reservedFont3
Definition: Font.h:145
unsigned int isScreenFont
Definition: Font.h:140
char * name
Definition: Font.h:130
unsigned short _reservedFont2
Definition: Font.h:144
id otherFont
Definition: Font.h:136
float * matrix
Definition: Font.h:133
int fontNum
Definition: Font.h:134
int style
Definition: Font.h:132
#define read
Definition: kdbdefine.h:78
#define write
Definition: kdbdefine.h:106
FontMetrics * readMetrics(const char *file)
Definition: metrics.c:67
END int initialize() int i
Definition: ntp_proto.c:760
float charBBox[4]
Definition: Font.h:43
NXLigature * ligatures
Definition: Font.h:45
short numLigatures
Definition: Font.h:44
char * name
Definition: Font.h:42
short numParts
Definition: Font.h:69
char * name
Definition: Font.h:68
NXCompositePart * parts
Definition: Font.h:70
char * name
Definition: Font.h:63
float dx
Definition: Font.h:64
float dy
Definition: Font.h:64
NXFontMetrics fontMetrics
Definition: Font.h:110
unsigned int usedInPage
Definition: Font.h:114
unsigned int usedInSheet
Definition: Font.h:115
struct _NXFaceInfo * nextFInfo
Definition: Font.h:119
int flags
Definition: Font.h:111
unsigned int usedInDoc
Definition: Font.h:113
struct _NXFaceInfo::@64 fontFlags
unsigned int _PADDING
Definition: Font.h:117
char * encodingScheme
Definition: Font.h:88
char * version
Definition: Font.h:86
char * familyName
Definition: Font.h:77
NXCharData * charData
Definition: Font.h:97
char ** buffers
Definition: Font.h:105
char * fullName
Definition: Font.h:76
char * notice
Definition: Font.h:87
char * weight
Definition: Font.h:78
NXKernTrack * kernTracks
Definition: Font.h:99
float ascender
Definition: Font.h:91
float capHeight
Definition: Font.h:89
short numKPairs
Definition: Font.h:100
float underlineThickness
Definition: Font.h:85
NXCompositeChar * compositeChars
Definition: Font.h:103
float fontBBox[4]
Definition: Font.h:83
short numKTracks
Definition: Font.h:98
float underlinePosition
Definition: Font.h:84
NXKernPair * kernPairs
Definition: Font.h:101
char * formatVersion
Definition: Font.h:74
float italicAngle
Definition: Font.h:79
float * yWidths
Definition: Font.h:95
char isFixedPitch
Definition: Font.h:80
short hasYWidths
Definition: Font.h:93
short numCompositeChars
Definition: Font.h:102
short screenFontSize
Definition: Font.h:82
float * widths
Definition: Font.h:94
char isScreenFont
Definition: Font.h:81
float xHeight
Definition: Font.h:90
short numBuffers
Definition: Font.h:104
char * name
Definition: Font.h:75
float descender
Definition: Font.h:92
float x
Definition: Font.h:59
float y
Definition: Font.h:59
char * name2
Definition: Font.h:58
char * name1
Definition: Font.h:57
int degree
Definition: Font.h:49
float maxAmount
Definition: Font.h:53
float minAmount
Definition: Font.h:51
float minSize
Definition: Font.h:50
float maxSize
Definition: Font.h:52
char * result
Definition: Font.h:38
char * successor
Definition: Font.h:37
Definition: dispextern.h:39
int style
Definition: t0.c:27
void NXTypedStream
Definition: typedstream.h:24