C# 클래스 PdfSharp.Fonts.TrueType.TrueTypeDescriptor

The TrueType font desriptor.
상속: FontDescriptor
파일 보기 프로젝트 열기: GNOME/pdfmod 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
widths int[]

공개 메소드들

메소드 설명
CharCodeToGlyphIndex ( char value ) : int

Maps a unicode to the index of the corresponding glyph. See OpenType spec "cmap - Character To Glyph Index Mapping Table / Format 4: Segment mapping to delta values" for details about this a little bit strange looking algorythm.

GlyphIndexToPdfWidth ( int glyphIndex ) : int

Converts the width of a glyph identified by its index to PDF design units.

Initialize ( ) : void
PdfWidthFromCharCode ( char ch ) : int
Test ( ) : void
TrueTypeDescriptor ( PdfSharp.Drawing.XFont font, PdfSharp.Drawing.XPdfFontOptions options, PdfSharp.Drawing.XPrivateFontCollection privateFontCollection ) : System

비공개 메소드들

메소드 설명
DesignUnitsToPdf ( double value ) : int
TrueTypeDescriptor ( PdfSharp.Drawing.XFont font, PdfSharp.Drawing.XPrivateFontCollection privateFontCollection ) : System
TrueTypeDescriptor ( string idName, byte fontData ) : System

메소드 상세

CharCodeToGlyphIndex() 공개 메소드

Maps a unicode to the index of the corresponding glyph. See OpenType spec "cmap - Character To Glyph Index Mapping Table / Format 4: Segment mapping to delta values" for details about this a little bit strange looking algorythm.
public CharCodeToGlyphIndex ( char value ) : int
value char
리턴 int

GlyphIndexToPdfWidth() 공개 메소드

Converts the width of a glyph identified by its index to PDF design units.
public GlyphIndexToPdfWidth ( int glyphIndex ) : int
glyphIndex int
리턴 int

Initialize() 공개 메소드

public Initialize ( ) : void
리턴 void

PdfWidthFromCharCode() 공개 메소드

public PdfWidthFromCharCode ( char ch ) : int
ch char
리턴 int

Test() 공개 정적인 메소드

public static Test ( ) : void
리턴 void

TrueTypeDescriptor() 공개 메소드

public TrueTypeDescriptor ( PdfSharp.Drawing.XFont font, PdfSharp.Drawing.XPdfFontOptions options, PdfSharp.Drawing.XPrivateFontCollection privateFontCollection ) : System
font PdfSharp.Drawing.XFont
options PdfSharp.Drawing.XPdfFontOptions
privateFontCollection PdfSharp.Drawing.XPrivateFontCollection
리턴 System

프로퍼티 상세

widths 공개적으로 프로퍼티

public int[] widths
리턴 int[]