C# 클래스 PdfSharp.Fonts.OpenType.OpenTypeDescriptor

The OpenType font descriptor.
상속: PdfSharp.Fonts.OpenType.FontDescriptor
파일 보기 프로젝트 열기: DavidS/MigraDoc 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 algorithm.

GlyphIndexToPdfWidth ( int glyphIndex ) : int

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

GlyphIndexToWidth ( int glyphIndex ) : int

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

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

비공개 메소드들

메소드 설명
DesignUnitsToPdf ( double value ) : int
OpenTypeDescriptor ( PdfSharp.Drawing.XFont font ) : System
OpenTypeDescriptor ( byte fontData ) : System
OpenTypeDescriptor ( 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 algorithm.
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

GlyphIndexToWidth() 공개 메소드

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

Initialize() 공개 메소드

public Initialize ( ) : void
리턴 void

OpenTypeDescriptor() 공개 메소드

public OpenTypeDescriptor ( PdfSharp.Drawing.XFont font, PdfSharp.Drawing.XPdfFontOptions options ) : System
font PdfSharp.Drawing.XFont
options PdfSharp.Drawing.XPdfFontOptions
리턴 System

PdfWidthFromCharCode() 공개 메소드

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

Test() 공개 정적인 메소드

public static Test ( ) : void
리턴 void

프로퍼티 상세

widths 공개적으로 프로퍼티

public int[] widths
리턴 int[]