Main Page   Modules   Data Structures   Globals   Appendix  

構造体 MFLTGlyph
[FLT API]

グリフに関する情報の型. [詳細]


変数

int c
unsigned int code
int from
int to
int xadv
int yadv
int ascent
int descent
int lbearing
int rbearing
int xoff
int yoff
unsigned encoded: 1
unsigned measured: 1
unsigned adjusted: 1


説明

MFLTGlyph は、グリフに関する情報を格納する構造体である。

構造体

int MFLTGlyph::c

グリフの (Unicode における) 文字コード。関数 mflt_find()mflt_run() を呼び出す前セットすべき唯一のメンバーである。

unsigned int MFLTGlyph::code

フォント内におけるそのグリフの ID。

int MFLTGlyph::from

MFLTGlyphString の中で、このグリフによって置き換えられる部分の先頭のインデクス。

int MFLTGlyph::to

MFLTGlyphString の中で、このグリフによって置き換えられる部分の末尾のインデクス。

int MFLTGlyph::xadv

横書き時の送り幅を 26.6 fractional pixel format で表現したもの。

int MFLTGlyph::yadv

縦書き時の送り高を 26.6 fractional pixel format で表現したもの。

int MFLTGlyph::ascent

このグリフのインクメトリックを 26.6 fractional pixel format で表現したもの。

int MFLTGlyph::descent

int MFLTGlyph::lbearing

int MFLTGlyph::rbearing

int MFLTGlyph::xoff

グリフ位置決めの際の水平・垂直調整値を、 26.6 fractional pixel format で表現したもの。

int MFLTGlyph::yoff

unsigned MFLTGlyph::encoded

メンバー に既にグリフ ID がセットされているか否かを示すフラグ。

unsigned MFLTGlyph::measured

メンバー <xadv> から <rbearing> までの各メトリックが既に計算済か否かを示すフラグ。

unsigned MFLTGlyph::adjusted

グリフのメトリックが調整済みか否か、 すなわち以下のうち1つ以上が成立していることを示すフラグ。 <xadv> が標準の値と異なる、 <yadv> が標準の値と異なる、 <xoff> がゼロでない、 <yoff> がゼロでない。


このページの先頭

Main Page   Modules   Data Structures   Globals   Appendix  

mulemark