変数 | |
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 で表現したもの。
このグリフのインクメトリックを 26.6 fractional pixel format で表現したもの。
int MFLTGlyph::xoff |
グリフ位置決めの際の水平・垂直調整値を、 26.6 fractional pixel format で表現したもの。
int MFLTGlyph::yoff |
unsigned MFLTGlyph::encoded |
メンバー <code> に既にグリフ ID がセットされているか否かを示すフラグ。
unsigned MFLTGlyph::measured |
メンバー <xadv> から <rbearing> までの各メトリックが既に計算済か否かを示すフラグ。
unsigned MFLTGlyph::adjusted |
グリフのメトリックが調整済みか否か、 すなわち以下のうち1つ以上が成立していることを示すフラグ。 <xadv> が標準の値と異なる、 <yadv> が標準の値と異なる、 <xoff> がゼロでない、 <yoff> がゼロでない。