C# Class TesseractTrainer.App_Code.Font

ファイルを表示 Open project: Early-Modern-OCR/FrankenPlus

Public Properties

Property Type Description
Bold int
Fixed int
Fraktur int
Glyphs System.Collections.Generic.List
ID string
Italic int
LangID string
LineHeight int
Name string
Serif int

Public Methods

Method Description
AddEmptyGlyph ( string Unicode ) : string
AddGlyph ( string Unicode, string ImagePath ) : void
Delete ( ) : void
FindGlyph ( string Unicode ) : int
FixGlyphChar ( string Char ) : string
Font ( ) : System
Font ( string ID, bool LoadGlyphs, bool LoadImages ) : System
IngestImages ( string LangName, string FontName, string BaseName, string XMLFile, string PathToImages, bool UseSubList ) : void
RefreshGlyphs ( bool LoadImages ) : void
Save ( bool IncludeChildren ) : void
ToString ( ) : string

Method Details

AddEmptyGlyph() public method

public AddEmptyGlyph ( string Unicode ) : string
Unicode string
return string

AddGlyph() public method

public AddGlyph ( string Unicode, string ImagePath ) : void
Unicode string
ImagePath string
return void

Delete() public method

public Delete ( ) : void
return void

FindGlyph() public method

public FindGlyph ( string Unicode ) : int
Unicode string
return int

FixGlyphChar() public method

public FixGlyphChar ( string Char ) : string
Char string
return string

Font() public method

public Font ( ) : System
return System

Font() public method

public Font ( string ID, bool LoadGlyphs, bool LoadImages ) : System
ID string
LoadGlyphs bool
LoadImages bool
return System

IngestImages() public method

public IngestImages ( string LangName, string FontName, string BaseName, string XMLFile, string PathToImages, bool UseSubList ) : void
LangName string
FontName string
BaseName string
XMLFile string
PathToImages string
UseSubList bool
return void

RefreshGlyphs() public method

public RefreshGlyphs ( bool LoadImages ) : void
LoadImages bool
return void

Save() public method

public Save ( bool IncludeChildren ) : void
IncludeChildren bool
return void

ToString() public method

public ToString ( ) : string
return string

Property Details

Bold public_oe property

public int Bold
return int

Fixed public_oe property

public int Fixed
return int

Fraktur public_oe property

public int Fraktur
return int

Glyphs public_oe property

public List,System.Collections.Generic Glyphs
return System.Collections.Generic.List

ID public_oe property

public string ID
return string

Italic public_oe property

public int Italic
return int

LangID public_oe property

public string LangID
return string

LineHeight public_oe property

public int LineHeight
return int

Name public_oe property

public string Name
return string

Serif public_oe property

public int Serif
return int