freetype

package
v0.0.0-...-f05e200 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2013 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package freetype provides API definitions for accessing freetype6.dll.

Index

Constants

View Source
const (
	VALIDATE_lcar_INDEX    = 9
	VALIDATE_GX_LAST_INDEX = VALIDATE_lcar_INDEX
	VALIDATE_GX_LENGTH     = VALIDATE_GX_LAST_INDEX + 1
)
View Source
const T1_MAX_MM_AXIS = 4

Variables

View Source
var (
	MulDiv func(a, b, c Long) Long

	DivFix func(a, b Long) Long

	RoundFix func(a Fixed) Fixed

	CeilFix func(a Fixed) Fixed

	FloorFix func(a Fixed) Fixed

	GlyphToBitmap func(
		theGlyph **Glyph,
		renderMode RenderMode,
		origin *Vector,
		destroy Bool) Error

	GlyphStroke func(
		pglyph **Glyph,
		stroker *Stroker,
		destroy Bool) Error

	GlyphStrokeBorder func(
		pglyph **Glyph,
		stroker *Stroker,
		inside, destroy Bool) Error

	Sin func(angle Angle) Fixed

	Cos func(angle Angle) Fixed

	Tan func(angle Angle) Fixed

	Atan2 func(x, y Fixed) Angle

	AngleDiff func(angle1, angle2 Angle) Angle

	MulFix func(a, b Long) Long
)
View Source
var (
	BitmapNew func(abitmap **Bitmap)

	BitmapConvert  func(library *Library, source, target *Bitmap, alignment int) Error
	BitmapCopy     func(library *Library, source, target *Bitmap) Error
	BitmapDone     func(library *Library, bitmap *Bitmap) Error
	BitmapEmbolden func(library *Library, bitmap *Bitmap, xStrength, yStrength Pos) Error
)
View Source
var (
	GetCMapLanguageID func(c *CharMap) ULong
	GetCMapFormat     func(c *CharMap) Long
	GetCharmapIndex   func(c *CharMap) int

	CMapCacheLookup func(cache *CMapCache, faceId FaceID, cmapIndex int, charCode UInt32) uint
)
View Source
var (
	FaceCheckTrueTypePatents    func(f *Face) Bool
	FaceGetCharsOfVariant       func(f *Face, variantSelector ULong) *UInt32
	FaceGetCharVariantIndex     func(f *Face, charcode, variantSelector ULong) uint
	FaceGetCharVariantIsDefault func(f *Face, charcode, variantSelector ULong) int
	FaceGetVariantSelectors     func(f *Face) *UInt32
	FaceGetVariantsOfChar       func(f *Face, charcode ULong) *UInt32
	FaceSetUnpatentedHinting    func(f *Face, value Bool) Bool

	AttachFile                       func(f *Face, filepathname string) Error
	AttachStream                     func(f *Face, parameters *OpenArgs) Error
	ClassicKernFree                  func(f *Face, table *byte)
	ClassicKernValidate              func(f *Face, validation_flags uint, ckernTable **byte) Error
	DoneFace                         func(f *Face) Error
	GetAdvance                       func(f *Face, gindex uint, loadFlags Int32, padvance *Fixed) Error
	GetAdvances                      func(f *Face, start, count uint, loadFlags Int32, padvances *Fixed) Error
	GetBDFCharsetID                  func(f *Face, acharsetEncoding, acharset_registry **T.Char) Error
	GetBDFProperty                   func(f *Face, propName string, aproperty *BDFProperty) Error
	GetCharIndex                     func(f *Face, charcode ULong) uint
	GetCIDFromGlyphIndex             func(f *Face, glyphIndex uint, cid *uint) Error
	GetCIDIsInternallyCIDKeyed       func(f *Face, isCid *Bool) Error
	GetCIDRegistryOrderingSupplement func(f *Face, registry, ordering **T.Char, supplement *int) Error
	GetFirstChar                     func(f *Face, agindex *uint) ULong
	GetFSTypeFlags                   func(f *Face) uint16
	GetGasp                          func(f *Face, ppem uint) int
	GetGlyphName                     func(f *Face, glyphIndex uint, buffer *Void, bufferMax uint) Error
	GetKerning                       func(f *Face, leftGlyph, rightGlyph, kernMode uint, akerning *Vector) Error
	GetMMVar                         func(f *Face, amaster **MMVar) Error
	GetMultiMaster                   func(f *Face, amaster *MultiMaster) Error
	GetNameIndex                     func(f *Face, glyphName *String) uint
	GetNextChar                      func(f *Face, charCode ULong, agindex *uint) ULong
	GetPFRAdvance                    func(f *Face, gindex uint, aadvance *Pos) Error
	GetPFRKerning                    func(f *Face, left, right uint, avector *Vector) Error
	GetPFRMetrics                    func(f *Face, aoutline_resolution, ametrics_resolution *uint, ametrics_x_scale, ametrics_y_scale *Fixed) Error
	GetPostscriptName                func(f *Face) string
	GetPSFontInfo                    func(f *Face, afontInfo *PSFontInfo) Error
	GetPSFontPrivate                 func(f *Face, afontPrivate *PSPrivate) Error
	GetSfntName                      func(f *Face, idx uint, aname *SfntName) Error
	GetSfntNameCount                 func(f *Face) uint
	GetSfntTable                     func(f *Face, tag SfntTag) *T.Void
	GetTrackKerning                  func(f *Face, pointSize Fixed, degree int, akerning *Fixed) Error
	GetWinFNTHeader                  func(f *Face, aheader *WinFNTHeaderRec) Error
	GetX11FontFormat                 func(f *Face) string
	HasPSGlyphNames                  func(f *Face) int
	LoadChar                         func(f *Face, charCode ULong, loadFlags Int32) Error
	LoadGlyph                        func(f *Face, glyphIndex, loadFlags Int32) Error
	LoadSfntTable                    func(f *Face, tag ULong, offset Long, buffer *byte, length *ULong) Error
	NewSize                          func(f *Face, size **Size) Error
	OpenTypeFree                     func(f *Face, table *byte)
	OpenTypeValidate                 func(f *Face, validation_flags uint, BASETable, GDEF_table, GPOS_table, GSUBTable, JSTF_table **byte) Error
	ReferenceFace                    func(f *Face) Error
	RequestSize                      func(f *Face, req *SizeRequest) Error
	SelectCharmap                    func(f *Face, encoding Encoding) Error
	SelectSize                       func(f *Face, strikeIndex int) Error
	SetCharmap                       func(f *Face, charmap *CharMap) Error
	SetCharSize                      func(f *Face, charWidth, charHeight F26Dot6, horzResolution, vertResolution uint) Error
	SetMMBlendCoordinates            func(f *Face, numCoords uint, coords *Fixed) Error
	SetMMDesignCoordinates           func(f *Face, numCoords uint, coords *Long) Error
	SetPixelSizes                    func(f *Face, pixelWidth, pixelHeight uint) Error
	SetTransform                     func(f *Face, matrix *Matrix, delta *Vector)
	SetVarBlendCoordinates           func(f *Face, numCoords uint, coords *Fixed) Error
	SetVarDesignCoordinates          func(f *Face, numCoords uint, coords *Fixed) Error
	SfntTableInfo                    func(f *Face, tableIndex uint, tag, length *ULong) Error
	TrueTypeGXFree                   func(f *Face, table *byte)
	TrueTypeGXValidate               func(f *Face, validationFlags uint, tables [VALIDATE_GX_LENGTH]*byte, tableLength uint) Error
)
View Source
var (
	GlyphCopy      func(g *Glyph, target **Glyph) Error
	GlyphTransform func(g *Glyph, matrix *Matrix, delta *Vector) Error
	GlyphGetCBox   func(g *Glyph, bboxMode uint, acbox *BBox)
	DoneGlyph      func(g *Glyph)
)
View Source
var (
	GetGlyph           func(g *GlyphSlot, aglyph **Glyph) Error
	GetSubGlyphInfo    func(g *GlyphSlot, subIndex uint, index *int, flags *uint, arg1, arg2 *int, transform *Matrix) Error
	GlyphSlotEmbolden  func(g *GlyphSlot)
	GlyphSlotOblique   func(g *GlyphSlot)
	GlyphSlotOwnBitmap func(slot *GlyphSlot) Error

	RenderGlyph func(slot *GlyphSlot, renderMode RenderMode) Error
)
View Source
var (
	ImageCacheLookup       func(i *ImageCache, t *ImageType, gindex uint, aglyph **Glyph, anode **Node) Error
	ImageCacheLookupScaler func(i *ImageCache, scaler *Scaler, loadFlags ULong, gindex uint, aglyph **Glyph, anode **Node) Error
)
View Source
var (
	InitFreeType func(alibrary **Library) Error

	LibrarySetLcdFilter        func(l *Library, filter LcdFilter) Error
	LibrarySetLcdFilterWeights func(l *Library, weights *T.UnsignedChar) Error
	LibraryVersion             func(l *Library, amajor, aminor, apatch *int)

	AddDefaultModules     func(l *Library)
	AddModule             func(l *Library, clazz *ModuleClass) Error
	DoneFreeType          func(l *Library) Error
	DoneLibrary           func(l *Library) Error
	GetModule             func(l *Library, moduleName string) *Module
	GetRenderer           func(l *Library, format GlyphFormat) *Renderer
	GetTrueTypeEngineType func(l *Library) TrueTypeEngineType
	NewFace               func(l *Library, filepathname string, faceIndex Long, aface **Face) Error
	NewMemoryFace         func(l *Library, fileBase *byte, fileSize, faceIndex Long, aface **Face) Error
	OpenFace              func(l *Library, args *OpenArgs, faceIndex Long, aface **Face) Error
	ReferenceLibrary      func(l *Library) Error
	RemoveModule          func(l *Library, module *Module) Error
	SetDebugHook          func(l *Library, hookIndex uint, debugHook DebugHookFunc)
	SetRenderer           func(l *Library, renderer *Renderer, numParams uint, parameters *Parameter) Error

	StrokerNew func(l *Library, astroker **Stroker) Error
	ManagerNew func(l *Library, maxFaces, maxSizes uint, maxBytes ULong, requester FaceRequester, reqData *Void, amanager **Manager) Error
	OutlineNew func(l *Library, numPoints uint, numContours int, anoutline **Outline) Error
)
View Source
var (
	ListAdd      func(l *List, node *ListNode)
	ListFinalize func(l *List, destroy ListDestructor, memory *Memory, user *T.Void)
	ListFind     func(l *List, data *T.Void) *ListNode
	ListInsert   func(l *List, node *ListNode)
	ListIterate  func(l *List, iterator ListIterator, user *T.Void) Error
	ListRemove   func(l *List, node *ListNode)
	ListUp       func(l *List, node *ListNode)
)
View Source
var (
	ManagerDone         func(m *Manager)
	ManagerLookupFace   func(m *Manager, faceId FaceID, aface **Face) Error
	ManagerLookupSize   func(m *Manager, scaler *Scaler, asize **Size) Error
	ManagerRemoveFaceID func(m *Manager, faceId FaceID)
	ManagerReset        func(m *Manager)

	CMapCacheNew  func(m *Manager, acache **CMapCache) Error
	ImageCacheNew func(m *Manager, acache **ImageCache) Error
	SBitCacheNew  func(m *Manager, acache **SBitCache) Error
)
View Source
var (
	MatrixMultiply func(a, b *Matrix)
	MatrixInvert   func(matrix *Matrix) Error
)
View Source
var (
	NewLibrary         func(m *Memory, alibrary **Library) Error
	OutlineNewInternal func(m *Memory, numPoints uint, numContours int, anoutline **Outline) Error
)
View Source
var (
	OutlineCheck            func(o *Outline) Error
	OutlineCopy             func(o *Outline, target *Outline) Error
	OutlineDecompose        func(o *Outline, funcInterface *OutlineFuncs, user *T.Void) Error
	OutlineEmbolden         func(o *Outline, strength Pos) Error
	OutlineGetBBox          func(o *Outline, abbox *BBox) Error
	OutlineGetCBox          func(o *Outline, acbox *BBox)
	OutlineGetInsideBorder  func(o *Outline) StrokerBorder
	OutlineGetOrientation   func(o *Outline) Orientation
	OutlineGetOutsideBorder func(o *Outline) StrokerBorder
	OutlineReverse          func(o *Outline)
	OutlineTransform        func(o *Outline, matrix *Matrix)
	OutlineTranslate        func(o *Outline, xOffset, yOffset Pos)

	OutlineDoneInternal func(memory *Memory, outline *Outline) Error
	OutlineGetBitmap    func(library *Library, outline *Outline, abitmap *Bitmap) Error
	OutlineRender       func(library *Library, outline *Outline, params *RasterParams) Error
	OutlineDone         func(library *Library, outline *Outline) Error
)
View Source
var (
	SBitCacheLookup       func(s *SBitCache, t *ImageType, gindex uint, sbit **SBit, anode **Node) Error
	SBitCacheLookupScaler func(s *SBitCache, scaler *Scaler, loadFlags ULong, gindex uint, sbit **SBit, anode **Node) Error
)
View Source
var (
	DoneSize     func(size *Size) Error
	ActivateSize func(size *Size) Error
)
View Source
var (
	StreamOpenGzip func(stream, source *Stream) Error
	StreamOpenLZW  func(stream, source *Stream) Error
)
View Source
var (
	StrokerBeginSubPath    func(s *Stroker, to *Vector, open Bool) Error
	StrokerConicTo         func(s *Stroker, control, to *Vector) Error
	StrokerCubicTo         func(s *Stroker, control1, control2, to *Vector) Error
	StrokerDone            func(s *Stroker)
	StrokerEndSubPath      func(s *Stroker) Error
	StrokerExport          func(s *Stroker, outline *Outline)
	StrokerExportBorder    func(s *Stroker, border StrokerBorder, outline *Outline)
	StrokerGetBorderCounts func(s *Stroker, border StrokerBorder, anumPoints, anum_contours *uint) Error
	StrokerGetCounts       func(s *Stroker, anumPoints, anum_contours *uint) Error
	StrokerLineTo          func(s *Stroker, to *Vector) Error
	StrokerParseOutline    func(s *Stroker, outline *Outline, opened Bool) Error
	StrokerRewind          func(s *Stroker)
	StrokerSet             func(s *Stroker, radius Fixed, lineCap StrokerLineCap, lineJoin StrokerLineJoin, miterLimit Fixed)
)
View Source
var (
	VectorFromPolar func(v *Vector, length Fixed, angle Angle)
	VectorLength    func(v *Vector) Fixed
	VectorPolarize  func(v *Vector, length *Fixed, angle *Angle)
	VectorRotate    func(v *Vector, angle Angle)
	VectorTransform func(v *Vector, matrix *Matrix)
	VectorUnit      func(v *Vector, angle Angle)
)
View Source
var NodeUnref func(node *Node, manager *Manager)

Functions

This section is empty.

Types

type AllocFunc

type AllocFunc func(memory *Memory, size Long) *Void

type Angle

type Angle Fixed

type BBox

type BBox struct {
	XMin, YMin Pos
	XMax, YMax Pos
}

type BDFProperty

type BDFProperty struct {
	Type BDFPropertyType
	// Union
	Atom *Char
}

type BDFPropertyType

type BDFPropertyType Enum
const (
	BDF_PROPERTY_TYPE_NONE BDFPropertyType = iota
	BDF_PROPERTY_TYPE_ATOM
	BDF_PROPERTY_TYPE_INTEGER
	BDF_PROPERTY_TYPE_CARDINAL
)

type Bitmap

type Bitmap struct {
	Rows        int
	Width       int
	Pitch       int
	Buffer      *uint8
	NumGrays    int16
	PixelMode   int8
	PaletteMode int8
	Palette     *Void
}

func (*Bitmap) Convert

func (b *Bitmap) Convert(target *Bitmap, library *Library, alignment int) Error

func (*Bitmap) Copy

func (b *Bitmap) Copy(target *Bitmap, library *Library) Error

func (*Bitmap) Done

func (b *Bitmap) Done(bitmap *Bitmap, library *Library) Error

func (*Bitmap) Embolden

func (b *Bitmap) Embolden(bitmap *Bitmap, library *Library, xStrength, yStrength Pos) Error

type BitmapSize

type BitmapSize struct {
	Height int16
	Width  int16
	Size   Pos
	XPpem  Pos
	YPpem  Pos
}

type Bool

type Bool uint8

type CMapCache

type CMapCache struct{}

func (*CMapCache) Lookup

func (c *CMapCache) Lookup(faceId FaceID, cmapIndex int, charCode UInt32) uint

type Char

type Char int8

type CharMap

type CharMap struct {
	Face       *Face
	Encoding   Encoding
	PlatformId uint16
	EncodingId uint16
}

func (*CharMap) Format

func (c *CharMap) Format() Long

func (*CharMap) Index

func (c *CharMap) Index() int

func (*CharMap) LanguageID

func (c *CharMap) LanguageID() ULong

type DebugHookFunc

type DebugHookFunc func(arg *Void)

type Driver

type Driver struct{}

type Encoding

type Encoding uint32 // TODO(t): enum/Size?
const (
	ENCODING_NONE           Encoding = 0
	ENCODING_MS_SYMBOL      Encoding = (('s' << 24) | ('y' << 16) | ('m' << 8) | 'b')
	ENCODING_UNICODE        Encoding = (('u' << 24) | ('n' << 16) | ('i' << 8) | 'c')
	ENCODING_SJIS           Encoding = (('s' << 24) | ('j' << 16) | ('i' << 8) | 's')
	ENCODING_GB2312         Encoding = (('g' << 24) | ('b' << 16) | (' ' << 8) | ' ')
	ENCODING_BIG5           Encoding = (('b' << 24) | ('i' << 16) | ('g' << 8) | '5')
	ENCODING_WANSUNG        Encoding = (('w' << 24) | ('a' << 16) | ('n' << 8) | 's')
	ENCODING_JOHAB          Encoding = (('j' << 24) | ('o' << 16) | ('h' << 8) | 'a')
	ENCODING_MS_SJIS                 = ENCODING_SJIS
	ENCODING_MS_GB2312               = ENCODING_GB2312
	ENCODING_MS_BIG5                 = ENCODING_BIG5
	ENCODING_MS_WANSUNG              = ENCODING_WANSUNG
	ENCODING_MS_JOHAB                = ENCODING_JOHAB
	ENCODING_ADOBE_STANDARD Encoding = (('A' << 24) | ('D' << 16) | ('O' << 8) | 'B')
	ENCODING_ADOBE_EXPERT   Encoding = (('A' << 24) | ('D' << 16) | ('B' << 8) | 'E')
	ENCODING_ADOBE_CUSTOM   Encoding = (('A' << 24) | ('D' << 16) | ('B' << 8) | 'C')
	ENCODING_ADOBE_LATIN_1  Encoding = (('l' << 24) | ('a' << 16) | ('t' << 8) | '1')
	ENCODING_OLD_LATIN_2    Encoding = (('l' << 24) | ('a' << 16) | ('t' << 8) | '2')
	ENCODING_APPLE_ROMAN    Encoding = (('a' << 24) | ('r' << 16) | ('m' << 8) | 'n')
)

type Enum

type Enum int

type Error

type Error int

type F26Dot6

type F26Dot6 Long

type Face

type Face struct {
	NumFaces           Long
	FaceIndex          Long
	FaceFlags          Long
	StyleFlags         Long
	NumGlyphs          Long
	FamilyName         *String
	StyleName          *String
	NumFixedSizes      int
	AvailableSizes     *BitmapSize
	NumCharmaps        int
	Charmaps           **CharMap
	Generic            Generic
	Bbox               BBox
	UnitsPer_EM        uint16
	Ascender           int16
	Descender          int16
	Height             int16
	MaxAdvanceWidth    int16
	MaxAdvanceHeight   int16
	UnderlinePosition  int16
	UnderlineThickness int16
	Glyph              *GlyphSlot
	Size               *Size
	Charmap            *CharMap
	Driver             *Driver
	Memory             *Memory
	Stream             *Stream
	SizesList          List
	Autohint           Generic
	Extensions         *Void
	Internal           *FaceInternal
}

func (*Face) AttachFile

func (f *Face) AttachFile(filepathname string) Error

func (*Face) AttachStream

func (f *Face) AttachStream(parameters *OpenArgs) Error

func (*Face) CheckTrueTypePatents

func (f *Face) CheckTrueTypePatents() Bool

func (*Face) ClassicKernFree

func (f *Face) ClassicKernFree(table *byte)

func (*Face) ClassicKernValidate

func (f *Face) ClassicKernValidate(validation_flags uint, ckernTable **byte) Error

func (*Face) DoneFace

func (f *Face) DoneFace() Error

func (*Face) GetAdvance

func (f *Face) GetAdvance(gindex uint, loadFlags Int32, padvance *Fixed) Error

func (*Face) GetAdvances

func (f *Face) GetAdvances(start, count uint, loadFlags Int32, padvances *Fixed) Error

func (*Face) GetBDFCharsetID

func (f *Face) GetBDFCharsetID(acharsetEncoding, acharset_registry **T.Char) Error

func (*Face) GetBDFProperty

func (f *Face) GetBDFProperty(propName string, aproperty *BDFProperty) Error

func (*Face) GetCIDFromGlyphIndex

func (f *Face) GetCIDFromGlyphIndex(glyphIndex uint, cid *uint) Error

func (*Face) GetCIDIsInternallyCIDKeyed

func (f *Face) GetCIDIsInternallyCIDKeyed(isCid *Bool) Error

func (*Face) GetCIDRegistryOrderingSupplement

func (f *Face) GetCIDRegistryOrderingSupplement(registry, ordering **T.Char, supplement *int) Error

func (*Face) GetCharIndex

func (f *Face) GetCharIndex(charcode ULong) uint

func (*Face) GetCharVariantIndex

func (f *Face) GetCharVariantIndex(charcode, variantSelector ULong) uint

func (*Face) GetCharVariantIsDefault

func (f *Face) GetCharVariantIsDefault(charcode, variantSelector ULong) int

func (*Face) GetCharsOfVariant

func (f *Face) GetCharsOfVariant(variantSelector ULong) *UInt32

func (*Face) GetFSTypeFlags

func (f *Face) GetFSTypeFlags() uint16

func (*Face) GetFirstChar

func (f *Face) GetFirstChar(agindex *uint) ULong

func (*Face) GetGasp

func (f *Face) GetGasp(ppem uint) int

func (*Face) GetGlyphName

func (f *Face) GetGlyphName(glyphIndex uint, buffer *Void, bufferMax uint) Error

func (*Face) GetKerning

func (f *Face) GetKerning(leftGlyph, rightGlyph, kernMode uint, akerning *Vector) Error

func (*Face) GetMMVar

func (f *Face) GetMMVar(amaster **MMVar) Error

func (*Face) GetMultiMaster

func (f *Face) GetMultiMaster(amaster *MultiMaster) Error

func (*Face) GetNameIndex

func (f *Face) GetNameIndex(glyphName *String) uint

func (*Face) GetNextChar

func (f *Face) GetNextChar(charCode ULong, agindex *uint) ULong

func (*Face) GetPFRAdvance

func (f *Face) GetPFRAdvance(gindex uint, aadvance *Pos) Error

func (*Face) GetPFRKerning

func (f *Face) GetPFRKerning(left, right uint, avector *Vector) Error

func (*Face) GetPFRMetrics

func (f *Face) GetPFRMetrics(aoutline_resolution, ametrics_resolution *uint, ametrics_x_scale, ametrics_y_scale *Fixed) Error

func (*Face) GetPSFontInfo

func (f *Face) GetPSFontInfo(afontInfo *PSFontInfo) Error

func (*Face) GetPSFontPrivate

func (f *Face) GetPSFontPrivate(afontPrivate *PSPrivate) Error

func (*Face) GetPostscriptName

func (f *Face) GetPostscriptName() string

func (*Face) GetSfntName

func (f *Face) GetSfntName(idx uint, aname *SfntName) Error

func (*Face) GetSfntNameCount

func (f *Face) GetSfntNameCount() uint

func (*Face) GetSfntTable

func (f *Face) GetSfntTable(tag SfntTag) *T.Void

func (*Face) GetTrackKerning

func (f *Face) GetTrackKerning(pointSize Fixed, degree int, akerning *Fixed) Error

func (*Face) GetVariantSelectors

func (f *Face) GetVariantSelectors() *UInt32

func (*Face) GetVariantsOfChar

func (f *Face) GetVariantsOfChar(charcode ULong) *UInt32

func (*Face) GetWinFNTHeader

func (f *Face) GetWinFNTHeader(aheader *WinFNTHeaderRec) Error

func (*Face) GetX11FontFormat

func (f *Face) GetX11FontFormat() string

func (*Face) HasPSGlyphNames

func (f *Face) HasPSGlyphNames() int

func (*Face) LoadChar

func (f *Face) LoadChar(charCode ULong, loadFlags Int32) Error

func (*Face) LoadGlyph

func (f *Face) LoadGlyph(glyphIndex, loadFlags Int32) Error

func (*Face) LoadSfntTable

func (f *Face) LoadSfntTable(tag ULong, offset Long, buffer *byte, length *ULong) Error

func (*Face) NewSize

func (f *Face) NewSize(size **Size) Error

func (*Face) OpenTypeFree

func (f *Face) OpenTypeFree(table *byte)

func (*Face) OpenTypeValidate

func (f *Face) OpenTypeValidate(validation_flags uint, BASETable, GDEF_table, GPOS_table, GSUBTable, JSTF_table **byte) Error

func (*Face) ReferenceFace

func (f *Face) ReferenceFace() Error

func (*Face) RequestSize

func (f *Face) RequestSize(req *SizeRequest) Error

func (*Face) SelectCharmap

func (f *Face) SelectCharmap(encoding Encoding) Error

func (*Face) SelectSize

func (f *Face) SelectSize(strikeIndex int) Error

func (*Face) SetCharSize

func (f *Face) SetCharSize(charWidth, charHeight F26Dot6, horzResolution, vertResolution uint) Error

func (*Face) SetCharmap

func (f *Face) SetCharmap(charmap *CharMap) Error

func (*Face) SetMMBlendCoordinates

func (f *Face) SetMMBlendCoordinates(numCoords uint, coords *Fixed) Error

func (*Face) SetMMDesignCoordinates

func (f *Face) SetMMDesignCoordinates(numCoords uint, coords *Long) Error

func (*Face) SetPixelSizes

func (f *Face) SetPixelSizes(pixelWidth, pixelHeight uint) Error

func (*Face) SetTransform

func (f *Face) SetTransform(matrix *Matrix, delta *Vector)

func (*Face) SetUnpatentedHinting

func (f *Face) SetUnpatentedHinting(value Bool) Bool

func (*Face) SetVarBlendCoordinates

func (f *Face) SetVarBlendCoordinates(numCoords uint, coords *Fixed) Error

func (*Face) SetVarDesignCoordinates

func (f *Face) SetVarDesignCoordinates(numCoords uint, coords *Fixed) Error

func (*Face) SfntTableInfo

func (f *Face) SfntTableInfo(tableIndex uint, tag, length *ULong) Error

func (*Face) TrueTypeGXFree

func (f *Face) TrueTypeGXFree(table *byte)

func (*Face) TrueTypeGXValidate

func (f *Face) TrueTypeGXValidate(validationFlags uint, tables [VALIDATE_GX_LENGTH]*byte, tableLength uint) Error

type FaceID

type FaceID *struct{}

type FaceInternal

type FaceInternal struct{}

type FaceRequester

type FaceRequester func(faceId FaceID, library **Library,
	requestData *Void, aface **Face) Error

type Fixed

type Fixed Long

type FreeFunc

type FreeFunc func(memory *Memory, block *Void)

type Generic

type Generic struct {
	Data      *Void
	Finalizer GenericFinalizer
}

type GenericFinalizer

type GenericFinalizer func(Object *Void)

type Glyph

type Glyph struct {
	Library *Library
	Clazz   *GlyphClass
	Format  GlyphFormat
	Advance Vector
}

func (*Glyph) Copy

func (g *Glyph) Copy(target **Glyph) Error

func (*Glyph) Done

func (g *Glyph) Done()

func (*Glyph) GetCBox

func (g *Glyph) GetCBox(bboxMode uint, acbox *BBox)

func (*Glyph) Transform

func (g *Glyph) Transform(matrix *Matrix, delta *Vector) Error

type GlyphClass

type GlyphClass struct {
	GlyphSize      Long
	GlyphFormat    GlyphFormat
	GlyphInit      GlyphInit
	GlyphDone      GlyphDone
	GlyphCopy      GlyphCopyFunc
	GlyphTransform GlyphTransformFunc
	GlyphBbox      GlyphGetBBox
	GlyphPrepare   GlyphPrepare
}

type GlyphCopyFunc

type GlyphCopyFunc func(source, target *Glyph) Error

type GlyphDone

type GlyphDone func(glyph *Glyph)

type GlyphFormat

type GlyphFormat uint32 // TODO(t): enum/Size?
const (
	GLYPH_FORMAT_NONE      GlyphFormat = ((0 << 24) | (0 << 16) | (0 << 8) | 0)
	GLYPH_FORMAT_COMPOSITE GlyphFormat = (('c' << 24) | ('o' << 16) | ('m' << 8) | 'p')
	GLYPH_FORMAT_BITMAP    GlyphFormat = (('b' << 24) | ('i' << 16) | ('t' << 8) | 's')
	GLYPH_FORMAT_OUTLINE   GlyphFormat = (('o' << 24) | ('u' << 16) | ('t' << 8) | 'l')
	GLYPH_FORMAT_PLOTTER   GlyphFormat = (('p' << 24) | ('l' << 16) | ('o' << 8) | 't')
)

type GlyphGetBBox

type GlyphGetBBox func(glyph *Glyph, abbox *BBox)

type GlyphInit

type GlyphInit func(glyph *Glyph, slot *GlyphSlot) Error

type GlyphMetrics

type GlyphMetrics struct {
	Width        Pos
	Height       Pos
	HoriBearingX Pos
	HoriBearingY Pos
	HoriAdvance  Pos
	VertBearingX Pos
	VertBearingY Pos
	VertAdvance  Pos
}

type GlyphPrepare

type GlyphPrepare func(glyph *Glyph, slot *GlyphSlot) Error

type GlyphSlot

type GlyphSlot struct {
	Library           *Library
	Face              *Face
	Next              *GlyphSlot
	Reserved          uint
	Generic           Generic
	Metrics           GlyphMetrics
	LinearHoriAdvance Fixed
	LinearVertAdvance Fixed
	Advance           Vector
	Format            GlyphFormat
	Bitmap            Bitmap
	BitmapLeft        int
	BitmapTop         int
	Outline           Outline
	NumSubglyphs      uint
	Subglyphs         *SubGlyph
	ControlData       *Void
	ControlLen        Long
	LsbDelta          Pos
	RsbDelta          Pos
	Other             *Void
	Internal          *SlotInternal
}

func (*GlyphSlot) Embolden

func (g *GlyphSlot) Embolden()

func (*GlyphSlot) Get

func (g *GlyphSlot) Get(aglyph **Glyph) Error

func (*GlyphSlot) Info

func (g *GlyphSlot) Info(subIndex uint, index *int, flags *uint, arg1, arg2 *int, transform *Matrix) Error

func (*GlyphSlot) Oblique

func (g *GlyphSlot) Oblique()

func (*GlyphSlot) OwnBitmap

func (g *GlyphSlot) OwnBitmap() Error

func (*GlyphSlot) RenderGlyph

func (s *GlyphSlot) RenderGlyph(renderMode RenderMode) Error

type GlyphTransformFunc

type GlyphTransformFunc func(
	glyph *Glyph, matrix *Matrix, delta *Vector)

type ImageCache

type ImageCache struct{}

func (*ImageCache) Lookup

func (i *ImageCache) Lookup(t *ImageType, gindex uint, aglyph **Glyph, anode **Node) Error

func (*ImageCache) LookupScaler

func (i *ImageCache) LookupScaler(scaler *Scaler, loadFlags ULong, gindex uint, aglyph **Glyph, anode **Node) Error

type ImageType

type ImageType struct {
	FaceId FaceID
	Width  int
	Height int
	Flags  Int32
}

type Int32

type Int32 int // ANOMALLY int != int32

type LcdFilter

type LcdFilter Enum
const (
	LCD_FILTER_DEFAULT LcdFilter = 1 << iota
	LCD_FILTER_LIGHT

	LCD_FILTER_LEGACY
	LCD_FILTER_MAX            = LCD_FILTER_LEGACY + 1
	LCD_FILTER_NONE LcdFilter = 0
)

type Library

type Library struct{}

func (*Library) AddDefaultModules

func (l *Library) AddDefaultModules()

func (*Library) AddModule

func (l *Library) AddModule(clazz *ModuleClass) Error

func (*Library) DoneFreeType

func (l *Library) DoneFreeType() Error

func (*Library) DoneLibrary

func (l *Library) DoneLibrary() Error

func (*Library) ManagerNew

func (l *Library) ManagerNew(maxFaces, maxSizes uint, maxBytes ULong, requester FaceRequester, reqData *Void, amanager **Manager) Error

func (*Library) Module

func (l *Library) Module(moduleName string) *Module

func (*Library) NewFace

func (l *Library) NewFace(filepathname string, faceIndex Long, aface **Face) Error

func (*Library) NewMemoryFace

func (l *Library) NewMemoryFace(fileBase *byte, fileSize, faceIndex Long, aface **Face) Error

func (*Library) OpenFace

func (l *Library) OpenFace(args *OpenArgs, faceIndex Long, aface **Face) Error

func (*Library) OutlineNew

func (l *Library) OutlineNew(numPoints uint, numContours int, anoutline **Outline) Error

func (*Library) ReferenceLibrary

func (l *Library) ReferenceLibrary() Error

func (*Library) RemoveModule

func (l *Library) RemoveModule(module *Module) Error

func (*Library) Renderer

func (l *Library) Renderer(format GlyphFormat) *Renderer

func (*Library) SetDebugHook

func (l *Library) SetDebugHook(hookIndex uint, debugHook DebugHookFunc)

func (*Library) SetLcdFilter

func (l *Library) SetLcdFilter(filter LcdFilter) Error

func (*Library) SetLcdFilterWeights

func (l *Library) SetLcdFilterWeights(weights *T.UnsignedChar) Error

func (*Library) SetRenderer

func (l *Library) SetRenderer(renderer *Renderer, numParams uint, parameters *Parameter) Error

func (*Library) StrokerNew

func (l *Library) StrokerNew(astroker **Stroker) Error

func (*Library) TrueTypeEngineType

func (l *Library) TrueTypeEngineType() TrueTypeEngineType

func (*Library) Version

func (l *Library) Version(amajor, aminor, apatch *int)

type List

type List struct{ Head, Tail *ListNode }

func (*List) Add

func (l *List) Add(node *ListNode)

func (*List) Finalize

func (l *List) Finalize(destroy ListDestructor, memory *Memory, user *T.Void)

func (*List) Find

func (l *List) Find(data *T.Void) *ListNode

func (*List) Insert

func (l *List) Insert(node *ListNode)

func (*List) Iterate

func (l *List) Iterate(iterator ListIterator, user *T.Void) Error

func (*List) Remove

func (l *List) Remove(node *ListNode)

func (*List) Up

func (l *List) Up(node *ListNode)

type ListDestructor

type ListDestructor func(memory *Memory, data, user *Void)

type ListIterator

type ListIterator func(node *ListNode, user *Void) Error

type ListNode

type ListNode struct {
	Prev, Next *ListNode
	Data       *Void
}

type Long

type Long int32 //TODO(t): signed long SIZE ?

type MMAxis

type MMAxis struct {
	Name    *String
	Minimum Long
	Maximum Long
}

type MMVar

type MMVar struct {
	NumAxis        uint
	NumDesigns     uint
	NumNamedstyles uint
	Axis           *VarAxis
	Namedstyle     *VarNamedStyle
}

type Manager

type Manager struct{}

func (*Manager) CMapCacheNew

func (m *Manager) CMapCacheNew(acache **CMapCache) Error

func (*Manager) Done

func (m *Manager) Done()

func (*Manager) ImageCacheNew

func (m *Manager) ImageCacheNew(acache **ImageCache) Error

func (*Manager) LookupFace

func (m *Manager) LookupFace(faceId FaceID, aface **Face) Error

func (*Manager) LookupSize

func (m *Manager) LookupSize(scaler *Scaler, asize **Size) Error

func (*Manager) RemoveFaceID

func (m *Manager) RemoveFaceID(faceId FaceID)

func (*Manager) Reset

func (m *Manager) Reset()

func (*Manager) SBitCacheNew

func (m *Manager) SBitCacheNew(acache **SBitCache) Error

type Matrix

type Matrix struct{ XX, XY, YX, YY Fixed }

func (*Matrix) Invert

func (m *Matrix) Invert() Error

func (*Matrix) Multiply

func (m *Matrix) Multiply(m2 *Matrix)

type Memory

type Memory struct {
	User    *Void
	Alloc   AllocFunc
	Free    FreeFunc
	Realloc ReallocFunc
}

func (*Memory) NewLibrary

func (m *Memory) NewLibrary(alibrary **Library) Error

func (*Memory) OutlineNewInternal

func (m *Memory) OutlineNewInternal(numPoints uint, numContours int, anoutline **Outline) Error

type Module

type Module struct{}

type ModuleClass

type ModuleClass struct {
	ModuleFlags     ULong
	ModuleSize      Long
	ModuleName      *String
	ModuleVersion   Fixed
	ModuleRequires  Fixed
	ModuleInterface *Void
	ModuleInit      ModuleConstructor
	ModuleDone      ModuleDestructor
	GetInterface    ModuleRequester
}

type ModuleConstructor

type ModuleConstructor func(module *Module) Error

type ModuleDestructor

type ModuleDestructor func(module *Module)

type ModuleInterface

type ModuleInterface struct{}

type ModuleRequester

type ModuleRequester func(
	module *Module, name string) *ModuleInterface

type MultiMaster

type MultiMaster struct {
	NumAxis    uint
	NumDesigns uint
	Axis       [T1_MAX_MM_AXIS]MMAxis
}

type Node

type Node struct{}

func (*Node) Unref

func (n *Node) Unref(manager *Manager)

type OpenArgs

type OpenArgs struct {
	Flags      uint
	MemoryBase *byte
	MemorySize Long
	Pathname   *String
	Stream     Stream
	Driver     *Module
	NumParams  int
	Params     *Parameter
}

type Orientation

type Orientation Enum
const (
	ORIENTATION_TRUETYPE Orientation = iota
	ORIENTATION_POSTSCRIPT
	ORIENTATION_NONE
	ORIENTATION_FILL_RIGHT = ORIENTATION_TRUETYPE
	ORIENTATION_FILL_LEFT  = ORIENTATION_POSTSCRIPT
)

type Outline

type Outline struct {
	NContours int16
	NPoints   int16
	Points    *Vector
	Tags      *Char
	Contours  *int16
	Flags     int
}

func (*Outline) Check

func (o *Outline) Check() Error

func (*Outline) Copy

func (o *Outline) Copy(target *Outline) Error

func (*Outline) Decompose

func (o *Outline) Decompose(funcInterface *OutlineFuncs, user *T.Void) Error

func (*Outline) Done

func (o *Outline) Done(library *Library) Error

func (*Outline) DoneInternal

func (o *Outline) DoneInternal(memory *Memory) Error

func (*Outline) Embolden

func (o *Outline) Embolden(strength Pos) Error

func (*Outline) GetBBox

func (o *Outline) GetBBox(abbox *BBox) Error

func (*Outline) GetBitmap

func (o *Outline) GetBitmap(library *Library, abitmap *Bitmap) Error

func (*Outline) GetCBox

func (o *Outline) GetCBox(acbox *BBox)

func (*Outline) GetInsideBorder

func (o *Outline) GetInsideBorder() StrokerBorder

func (*Outline) GetOrientation

func (o *Outline) GetOrientation() Orientation

func (*Outline) GetOutsideBorder

func (o *Outline) GetOutsideBorder() StrokerBorder

func (*Outline) Render

func (o *Outline) Render(library *Library, params *RasterParams) Error

func (*Outline) Reverse

func (o *Outline) Reverse()

func (*Outline) Transform

func (o *Outline) Transform(matrix *Matrix)

func (*Outline) Translate

func (o *Outline) Translate(xOffset, yOffset Pos)

type OutlineConicTo

type OutlineConicTo func(
	control, to *Vector, user *Void) int

type OutlineCubicTo

type OutlineCubicTo func(
	control1, control2 *Vector,
	to *Vector, user *Void) int

type OutlineFuncs

type OutlineFuncs struct {
	MoveTo  OutlineMoveTo
	LineTo  OutlineLineTo
	ConicTo OutlineConicTo
	CubicTo OutlineCubicTo
	Shift   int
	Delta   Pos
}

type OutlineLineTo

type OutlineLineTo func(to *Vector, user *Void) int

type OutlineMoveTo

type OutlineMoveTo func(to *Vector, user *Void) int

type PSFontInfo

type PSFontInfo struct {
	Version            *String
	Notice             *String
	FullName           *String
	FamilyName         *String
	Weight             *String
	ItalicAngle        Long
	IsFixedPitch       Bool
	UnderlinePosition  int16
	UnderlineThickness uint16
}

type PSPrivate

type PSPrivate struct {
	UniqueId            int
	LenIV               int
	NumBlueValues       byte
	NumOtherBlues       byte
	NumFamilyBlues      byte
	NumFamilyOtherBlues byte
	BlueValues          [14]int16
	OtherBlues          [10]int16
	FamilyBlues         [14]int16
	FamilyOtherBlues    [10]int16
	BlueScale           Fixed
	BlueShift           int
	BlueFuzz            int
	StandardWidth       [1]uint16
	StandardHeight      [1]uint16
	NumSnapWidths       byte
	NumSnapHeights      byte
	ForceBold           Bool
	RoundStemUp         Bool
	SnapWidths          [13]int16
	SnapHeights         [13]int16
	ExpansionFactor     Fixed
	LanguageGroup       Long
	Password            Long
	MinFeature          [2]int16
}

type Parameter

type Parameter struct {
	Tag  ULong
	Data *Void
}

type Pos

type Pos Long

type RasterBitSet

type RasterBitSet func(y, x int, user *Void)

type RasterBitTest

type RasterBitTest func(y, x int, user *Void) int

type RasterParams

type RasterParams struct {
	Target     *Bitmap
	Source     *Void
	Flags      int
	GraySpans  SpanFunc
	BlackSpans SpanFunc
	BitTest    RasterBitTest
	BitSet     RasterBitSet
	User       *Void
	ClipBox    BBox
}

type ReallocFunc

type ReallocFunc func(
	memory *Memory, curSize, newSize Long, block *Void) *Void

type RenderMode

type RenderMode Enum
const (
	RENDER_MODE_NORMAL RenderMode = iota
	RENDER_MODE_LIGHT
	RENDER_MODE_MONO
	RENDER_MODE_LCD
	RENDER_MODE_LCD_V
	RENDER_MODE_MAX
)

type Renderer

type Renderer struct{}

type SBit

type SBit struct {
	Width    byte
	Height   byte
	Left     Char
	Top      Char
	Format   byte
	MaxGrays byte
	Pitch    int16
	Xadvance Char
	Yadvance Char
	Buffer   *byte
}

type SBitCache

type SBitCache struct{}

func (*SBitCache) Lookup

func (s *SBitCache) Lookup(t *ImageType, gindex uint, sbit **SBit, anode **Node) Error

func (*SBitCache) LookupScaler

func (s *SBitCache) LookupScaler(scaler *Scaler, loadFlags ULong, gindex uint, sbit **SBit, anode **Node) Error

type Scaler

type Scaler struct {
	FaceId FaceID
	Width  uint
	Height uint
	Pixel  int
	XRes   uint
	YRes   uint
}

type SfntName

type SfntName struct {
	PlatformId uint16
	EncodingId uint16
	LanguageId uint16
	NameId     uint16
	String     *byte //STRING?
	StringLen  uint
}

type SfntTag

type SfntTag Enum
const (
	Ft_sfnt_head SfntTag = iota
	Ft_sfnt_maxp
	Ft_sfnt_os2
	Ft_sfnt_hhea
	Ft_sfnt_vhea
	Ft_sfnt_post
	Ft_sfnt_pclt
	Sfnt_max
)

type Size

type Size struct {
	Face     *Face
	Generic  Generic
	Metrics  SizeMetrics
	Internal *SizeInternal
}

func (*Size) Activate

func (s *Size) Activate() Error

func (*Size) Done

func (s *Size) Done() Error

type SizeInternal

type SizeInternal struct{}

type SizeMetrics

type SizeMetrics struct {
	XPpem      uint16
	YPpem      uint16
	XScale     Fixed
	YScale     Fixed
	Ascender   Pos
	Descender  Pos
	Height     Pos
	MaxAdvance Pos
}

type SizeRequest

type SizeRequest struct {
	Type           SizeRequestType
	Width          Long
	Height         Long
	HoriResolution uint
	VertResolution uint
}

type SizeRequestType

type SizeRequestType Enum
const (
	SIZE_REQUEST_TYPE_NOMINAL SizeRequestType = iota
	SIZE_REQUEST_TYPE_REAL_DIM
	SIZE_REQUEST_TYPE_BBOX
	SIZE_REQUEST_TYPE_CELL
	SIZE_REQUEST_TYPE_SCALES
	SIZE_REQUEST_TYPE_MAX
)

type SlotInternal

type SlotInternal struct{}

type Span

type Span struct {
	X        int16
	Len      uint16
	Coverage uint8
}

type SpanFunc

type SpanFunc func(y, count int, spans *Span, user *Void)

type Stream

type Stream struct{}

func (*Stream) OpenGzip

func (s *Stream) OpenGzip(source *Stream) Error

func (*Stream) OpenLZW

func (s *Stream) OpenLZW(source *Stream) Error

type String

type String int8

type Stroker

type Stroker struct{}

func (*Stroker) BeginSubPath

func (s *Stroker) BeginSubPath(to *Vector, open Bool) Error

func (*Stroker) ConicTo

func (s *Stroker) ConicTo(control, to *Vector) Error

func (*Stroker) CubicTo

func (s *Stroker) CubicTo(control1, control2, to *Vector) Error

func (*Stroker) Done

func (s *Stroker) Done()

func (*Stroker) EndSubPath

func (s *Stroker) EndSubPath() Error

func (*Stroker) Export

func (s *Stroker) Export(outline *Outline)

func (*Stroker) ExportBorder

func (s *Stroker) ExportBorder(border StrokerBorder, outline *Outline)

func (*Stroker) GetBorderCounts

func (s *Stroker) GetBorderCounts(border StrokerBorder, anumPoints, anum_contours *uint) Error

func (*Stroker) GetCounts

func (s *Stroker) GetCounts(anumPoints, anum_contours *uint) Error

func (*Stroker) LineTo

func (s *Stroker) LineTo(to *Vector) Error

func (*Stroker) ParseOutline

func (s *Stroker) ParseOutline(outline *Outline, opened Bool) Error

func (*Stroker) Rewind

func (s *Stroker) Rewind()

func (*Stroker) Set

func (s *Stroker) Set(radius Fixed, lineCap StrokerLineCap, lineJoin StrokerLineJoin, miterLimit Fixed)

type StrokerBorder

type StrokerBorder Enum
const (
	STROKER_BORDER_LEFT StrokerBorder = iota
	STROKER_BORDER_RIGHT
)

type StrokerLineCap

type StrokerLineCap Enum
const (
	STROKER_LINECAP_BUTT StrokerLineCap = iota
	STROKER_LINECAP_ROUND
	STROKER_LINECAP_SQUARE
)

type StrokerLineJoin

type StrokerLineJoin Enum
const (
	STROKER_LINEJOIN_ROUND StrokerLineJoin = iota
	STROKER_LINEJOIN_BEVEL
	STROKER_LINEJOIN_MITER
)

type SubGlyph

type SubGlyph struct{}

type TrueTypeEngineType

type TrueTypeEngineType Enum
const (
	TRUETYPE_ENGINE_TYPE_NONE TrueTypeEngineType = iota
	TRUETYPE_ENGINE_TYPE_UNPATENTED
	TRUETYPE_ENGINE_TYPE_PATENTED
)

type UInt32

type UInt32 uint // ANOMALLY unsigned int != uint32

type ULong

type ULong uint32 //unsigned long SIZE ?

type VarAxis

type VarAxis struct {
	Name    *String
	Minimum Fixed
	Def     Fixed
	Maximum Fixed
	Tag     ULong
	Strid   uint
}

type VarNamedStyle

type VarNamedStyle struct {
	Coords *Fixed
	Strid  uint
}

type Vector

type Vector struct {
	X Pos
	Y Pos
}

func (*Vector) FromPolar

func (v *Vector) FromPolar(length Fixed, angle Angle)

func (*Vector) Length

func (v *Vector) Length() Fixed

func (*Vector) Polarize

func (v *Vector) Polarize(length *Fixed, angle *Angle)

func (*Vector) Rotate

func (v *Vector) Rotate(angle Angle)

func (*Vector) Transform

func (v *Vector) Transform(matrix *Matrix)

func (*Vector) Unit

func (v *Vector) Unit(angle Angle)

type Void

type Void struct{}

type WinFNTHeaderRec

type WinFNTHeaderRec struct {
	Version              uint16
	FileSize             ULong
	Copyright            [60]byte
	FileType             uint16
	NominalPointSize     uint16
	VerticalResolution   uint16
	HorizontalResolution uint16
	Ascent               uint16
	InternalLeading      uint16
	ExternalLeading      uint16
	Italic               byte
	Underline            byte
	StrikeOut            byte
	Weight               uint16
	Charset              byte
	PixelWidth           uint16
	PixelHeight          uint16
	PitchAndFamily       byte
	AvgWidth             uint16
	MaxWidth             uint16
	FirstChar            byte
	LastChar             byte
	DefaultChar          byte
	BreakChar            byte
	BytesPerRow          uint16
	DeviceOffset         ULong
	FaceNameOffset       ULong
	BitsPointer          ULong
	BitsOffset           ULong
	Reserved             byte
	Flags                ULong
	ASpace               uint16
	BSpace               uint16
	CSpace               uint16
	ColorTableOffset     uint16
	Reserved1            [4]ULong
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL