Unit msefontconfig

Description

 

Overview

Classes, Interfaces, Objects and Records

Name Description
Record TFcMatrix  
Record TFcLangSet  
Record TFcStrList  
Record TFcCharset  
Record TFcPattern  
Record TFcValue  
Record TFcObjectSet  
Record TFcConfig  
Record TFcFontSet  

Functions and Procedures

procedure FcMatrixInit(var m: TFcMatrix);
procedure initializefontconfig(const sonames: array of filenamety);
procedure releasefontconfig;

Types

TFcChar8 = byte;
PFcChar8 = ˆTFcChar8;
TFcChar16 = word;
PFcChar16 = ˆTFcChar16;
TFcChar32 = dword;
PFcChar32 = ˆTFcChar32;
TFcBool = longbool;
PFcBool = ˆTFcBool;
TFcEndian = (...);
TFcResult = (...);
PFcResult = ˆTFcResult;
TFcType = (...);
TFcMatchKind = (...);
PFcMatrix = ˆTFcMatrix;
PFcLangSet = ˆTFcLangset;
PFcStrList = ˆTFcStrList;
PFcCharset = ˆTFcCharset;
PPFcCharset = ˆPFcCharset;
PFcPattern = ˆTFcPattern;
PPFcPattern = ˆPFcPattern;
pfcpatternpoaty = array[0..0] of PFcPattern;
PFcObjectSet = ˆTFcObjectSet;
PFcConfig = ˆTFcConfig;
PFcFontSet = ˆTFcFontSet;

Constants

fontconfiglib: array[0..1] of filenamety = ('libfontconfig.so.1','libfontconfig.so');
FC_FAMILY = 'family';
FC_STYLE = 'style';
FC_SLANT = 'slant';
FC_WEIGHT = 'weight';
FC_SIZE = 'size';
FC_ASPECT = 'aspect';
FC_PIXEL_SIZE = 'pixelsize';
FC_SPACING = 'spacing';
FC_FOUNDRY = 'foundry';
FC_ANTIALIAS = 'antialias';
FC_HINTING = 'hinting';
FC_VERTICAL_LAYOUT = 'verticallayout';
FC_AUTOHINT = 'autohint';
FC_GLOBAL_ADVANCE = 'globaladvance';
FC_FILE = 'file';
FC_INDEX = 'index';
FC_FT_FACE = 'ftface';
FC_RASTERIZER = 'rasterizer';
FC_OUTLINE = 'outline';
FC_SCALABLE = 'scalable';
FC_SCALE = 'scale';
FC_DPI = 'dpi';
FC_RGBA = 'rgba';
FC_MINSPACE = 'minspace';
FC_SOURCE = 'source';
FC_CHARSET = 'charset';
FC_LANG = 'lang';
FC_FONTVERSION = 'fontversion';
FC_MATRIX = 'matrix';
FC_CHAR_WIDTH = 'charwidth';
FC_WEIGHT_BOLD = 200;
FC_SLANT_ITALIC = 100;
FC_PROPORTIONAL = 0;
FC_MONO = 100;

Variables

FcInit: function: tfcbool; cdecl;
FcFini: procedure; cdecl;
FcConfigCreate: function: PFcConfig; cdecl;
FcConfigParseAndLoad: function(config: PFcConfig; afile: pchar; complain: TFcBool): TFcBool; cdecl;
FcConfigGetCurrent: function: PFcConfig; cdecl;
FcConfigBuildFonts: function(config: PFcConfig): TFcBool; cdecl;
FcConfigGetConfigFiles: function(config: PFcConfig): PFcStrList; cdecl;
FcConfigGetFontDirs: function(config: PFcConfig): PFcStrList; cdecl;
FcConfigFilename: function(name: pchar): pchar; cdecl;
FcPatternDestroy: procedure(p:PFcPattern); cdecl;
FcFontSetDestroy: procedure(s:PFcFontSet); cdecl;
FcObjectSetCreate: function: PFcObjectSet; cdecl;
FcObjectSetAdd: function(os: PFcObjectSet; aobject:Pchar):TFcBool; cdecl;
FcObjectSetDestroy: procedure(os: PFcObjectSet); cdecl;
FcFontList: function(config: PFcConfig; p:PFcPattern; os:PFcObjectSet): PFcFontSet; cdecl;
FcCharSetCreate: function: PFcCharSet; cdecl;
FcCharSetDestroy: procedure(fcs:PFcCharSet); cdecl;
FcCharSetAddChar: function(fcs:PFcCharSet; ucs4:TFcChar32):TFcBool; cdecl;
FcPatternAdd: function(p:PFcPattern; aobject:Pchar; value:TFcValue; append:TFcBool):TFcBool; cdecl;
FcPatternCreate: function: PFcPattern; cdecl;
FcConfigSubstitute: function(config:PFcConfig; p:PFcPattern; kind:TFcMatchKind):TFcBool; cdecl;
FcDefaultSubstitute: procedure(pattern:PFcPattern); cdecl;
FcFontSort: function(config:PFcConfig; p:PFcPattern; trim:TFcBool; csp:PPFcCharSet; result:PFcResult): PFcFontSet; cdecl;
FcCharSetHasChar: function(fcs:PFcCharSet; ucs4:TFcChar32):TFcBool; cdecl;
FcPatternDuplicate: function(p:PFcPattern): PFcPattern; cdecl;
FcPatternGetCharSet: function(p:PFcPattern; aobject:Pchar; n:longint; c:PPFcCharSet):TFcResult; cdecl;
FcFontRenderPrepare: function(config:PFcConfig; pat:PFcPattern; font:PFcPattern): PFcPattern; cdecl;
FcFontMatch: function(config: PFcConfig; p: PFcPattern; result: PFcResult): PFcPattern; cdecl;
FcMatrixRotate: procedure(m:PFcMatrix; c:cdouble; s:cdouble); cdecl;
FcMatrixScale: procedure(m:PFcMatrix; sx:cdouble; sy:cdouble); cdecl;
FcPatternAddInteger: function(p:PFcPattern; aobject:Pchar; i:longint):TFcBool; cdecl;
FcPatternAddDouble: function(p:PFcPattern; aobject:Pchar; d:cdouble):TFcBool; cdecl;
FcPatternAddString: function(p:PFcPattern; aobject:Pchar; s: pansichar):TFcBool; cdecl;
FcPatternAddMatrix: function(p:PFcPattern; aobject:Pchar; s:PFcMatrix):TFcBool; cdecl;
FcPatternAddCharSet: function(p:PFcPattern; aobject:Pchar; c:PFcCharSet):TFcBool; cdecl;
FcPatternAddBool: function(p:PFcPattern; aobject:Pchar; b:TFcBool):TFcBool; cdecl;
FcPatternAddLangSet: function(p:PFcPattern; aobject:Pchar; ls:PFcLangSet):TFcBool; cdecl;
FcPatternGetString: function(p: PFcPattern; aobject: Pchar; n: integer; s: ppchar): tfcresult; cdecl;
FcPatternGetInteger: function(p: PFcPattern; aobject: Pchar; n: integer; i: pinteger): tfcresult; cdecl;
FcPatternGetDouble: function(p: PFcPattern; aobject: Pchar; n: integer; i: pcdouble): tfcresult; cdecl;
FcNameParse: function(name: pchar): PFcPattern; cdecl;
FcStrListNext: function(list: PFcStrList): pchar; cdecl;
FcStrListDone: procedure(list: PFcStrList); cdecl;

Description

Functions and Procedures

procedure FcMatrixInit(var m: TFcMatrix);
 
procedure initializefontconfig(const sonames: array of filenamety);
 
procedure releasefontconfig;
 

Types

TFcChar8 = byte;
 
PFcChar8 = ˆTFcChar8;
 
TFcChar16 = word;
 
PFcChar16 = ˆTFcChar16;
 
TFcChar32 = dword;
 
PFcChar32 = ˆTFcChar32;
 
TFcBool = longbool;
 
PFcBool = ˆTFcBool;
 
TFcEndian = (...);
 
Values
  • FcEndianBig
  • FcEndianLittle
TFcResult = (...);
 
Values
  • FcResultMatch
  • FcResultNoMatch
  • FcResultTypeMismatch
  • FcResultNoId
PFcResult = ˆTFcResult;
 
TFcType = (...);
 
Values
  • FcTypeVoid
  • FcTypeInteger
  • FcTypeDouble
  • FcTypeString
  • FcTypeBool
  • FcTypeMatrix
  • FcTypeCharSet
  • FcTypeFTFace
  • FcTypeLangSet
TFcMatchKind = (...);
 
Values
  • FcMatchPattern
  • FcMatchFont
PFcMatrix = ˆTFcMatrix;
 
PFcLangSet = ˆTFcLangset;
 
PFcStrList = ˆTFcStrList;
 
PFcCharset = ˆTFcCharset;
 
PPFcCharset = ˆPFcCharset;
 
PFcPattern = ˆTFcPattern;
 
PPFcPattern = ˆPFcPattern;
 
pfcpatternpoaty = array[0..0] of PFcPattern;
 
PFcObjectSet = ˆTFcObjectSet;
 
PFcConfig = ˆTFcConfig;
 
PFcFontSet = ˆTFcFontSet;
 

Constants

fontconfiglib: array[0..1] of filenamety = ('libfontconfig.so.1','libfontconfig.so');
 
FC_FAMILY = 'family';
 
FC_STYLE = 'style';
 
FC_SLANT = 'slant';
 
FC_WEIGHT = 'weight';
 
FC_SIZE = 'size';
 
FC_ASPECT = 'aspect';
 
FC_PIXEL_SIZE = 'pixelsize';
 
FC_SPACING = 'spacing';
 
FC_FOUNDRY = 'foundry';
 
FC_ANTIALIAS = 'antialias';
 
FC_HINTING = 'hinting';
 
FC_VERTICAL_LAYOUT = 'verticallayout';
 
FC_AUTOHINT = 'autohint';
 
FC_GLOBAL_ADVANCE = 'globaladvance';
 
FC_FILE = 'file';
 
FC_INDEX = 'index';
 
FC_FT_FACE = 'ftface';
 
FC_RASTERIZER = 'rasterizer';
 
FC_OUTLINE = 'outline';
 
FC_SCALABLE = 'scalable';
 
FC_SCALE = 'scale';
 
FC_DPI = 'dpi';
 
FC_RGBA = 'rgba';
 
FC_MINSPACE = 'minspace';
 
FC_SOURCE = 'source';
 
FC_CHARSET = 'charset';
 
FC_LANG = 'lang';
 
FC_FONTVERSION = 'fontversion';
 
FC_MATRIX = 'matrix';
 
FC_CHAR_WIDTH = 'charwidth';
 
FC_WEIGHT_BOLD = 200;
 
FC_SLANT_ITALIC = 100;
 
FC_PROPORTIONAL = 0;
 
FC_MONO = 100;
 

Variables

FcInit: function: tfcbool; cdecl;
 
FcFini: procedure; cdecl;
 
FcConfigCreate: function: PFcConfig; cdecl;
 
FcConfigParseAndLoad: function(config: PFcConfig; afile: pchar; complain: TFcBool): TFcBool; cdecl;
 
FcConfigGetCurrent: function: PFcConfig; cdecl;
 
FcConfigBuildFonts: function(config: PFcConfig): TFcBool; cdecl;
 
FcConfigGetConfigFiles: function(config: PFcConfig): PFcStrList; cdecl;
 
FcConfigGetFontDirs: function(config: PFcConfig): PFcStrList; cdecl;
 
FcConfigFilename: function(name: pchar): pchar; cdecl;
 
FcPatternDestroy: procedure(p:PFcPattern); cdecl;
 
FcFontSetDestroy: procedure(s:PFcFontSet); cdecl;
 
FcObjectSetCreate: function: PFcObjectSet; cdecl;
 
FcObjectSetAdd: function(os: PFcObjectSet; aobject:Pchar):TFcBool; cdecl;
 
FcObjectSetDestroy: procedure(os: PFcObjectSet); cdecl;
 
FcFontList: function(config: PFcConfig; p:PFcPattern; os:PFcObjectSet): PFcFontSet; cdecl;
 
FcCharSetCreate: function: PFcCharSet; cdecl;
 
FcCharSetDestroy: procedure(fcs:PFcCharSet); cdecl;
 
FcCharSetAddChar: function(fcs:PFcCharSet; ucs4:TFcChar32):TFcBool; cdecl;
 
FcPatternAdd: function(p:PFcPattern; aobject:Pchar; value:TFcValue; append:TFcBool):TFcBool; cdecl;
 
FcPatternCreate: function: PFcPattern; cdecl;
 
FcConfigSubstitute: function(config:PFcConfig; p:PFcPattern; kind:TFcMatchKind):TFcBool; cdecl;
 
FcDefaultSubstitute: procedure(pattern:PFcPattern); cdecl;
 
FcFontSort: function(config:PFcConfig; p:PFcPattern; trim:TFcBool; csp:PPFcCharSet; result:PFcResult): PFcFontSet; cdecl;
 
FcCharSetHasChar: function(fcs:PFcCharSet; ucs4:TFcChar32):TFcBool; cdecl;
 
FcPatternDuplicate: function(p:PFcPattern): PFcPattern; cdecl;
 
FcPatternGetCharSet: function(p:PFcPattern; aobject:Pchar; n:longint; c:PPFcCharSet):TFcResult; cdecl;
 
FcFontRenderPrepare: function(config:PFcConfig; pat:PFcPattern; font:PFcPattern): PFcPattern; cdecl;
 
FcFontMatch: function(config: PFcConfig; p: PFcPattern; result: PFcResult): PFcPattern; cdecl;
 
FcMatrixRotate: procedure(m:PFcMatrix; c:cdouble; s:cdouble); cdecl;
 
FcMatrixScale: procedure(m:PFcMatrix; sx:cdouble; sy:cdouble); cdecl;
 
FcPatternAddInteger: function(p:PFcPattern; aobject:Pchar; i:longint):TFcBool; cdecl;
 
FcPatternAddDouble: function(p:PFcPattern; aobject:Pchar; d:cdouble):TFcBool; cdecl;
 
FcPatternAddString: function(p:PFcPattern; aobject:Pchar; s: pansichar):TFcBool; cdecl;
 
FcPatternAddMatrix: function(p:PFcPattern; aobject:Pchar; s:PFcMatrix):TFcBool; cdecl;
 
FcPatternAddCharSet: function(p:PFcPattern; aobject:Pchar; c:PFcCharSet):TFcBool; cdecl;
 
FcPatternAddBool: function(p:PFcPattern; aobject:Pchar; b:TFcBool):TFcBool; cdecl;
 
FcPatternAddLangSet: function(p:PFcPattern; aobject:Pchar; ls:PFcLangSet):TFcBool; cdecl;
 
FcPatternGetString: function(p: PFcPattern; aobject: Pchar; n: integer; s: ppchar): tfcresult; cdecl;
 
FcPatternGetInteger: function(p: PFcPattern; aobject: Pchar; n: integer; i: pinteger): tfcresult; cdecl;
 
FcPatternGetDouble: function(p: PFcPattern; aobject: Pchar; n: integer; i: pcdouble): tfcresult; cdecl;
 
FcNameParse: function(name: pchar): PFcPattern; cdecl;
 
FcStrListNext: function(list: PFcStrList): pchar; cdecl;
 
FcStrListDone: procedure(list: PFcStrList); cdecl;
 

Generated by PasDoc 0.16.0.