|
m17n ライブラリ 1.8.20
|
グリフに関する情報の型. [詳解]
#include <m17n-flt.h>
フィールド | |
| int | c |
| unsigned int | code |
| int | from |
| int | to |
| int | xadv |
| int | yadv |
| int | ascent |
| int | xoff |
| unsigned | encoded: 1 |
| unsigned | measured: 1 |
| unsigned | adjusted: 1 |
| unsigned | internal: 30 |
グリフに関する情報の型.
型 MFLTGlyph は、グリフに関する情報を格納する構造体である。関数 mflt_find() と mflt_run() を呼ぶ前にはメンバー <c> と <encoded> を適切に設定しておかねばならず、もし <encoded> を 1 とした場合は <code> も設定しておかねばならない。
| int MFLTGlyph::c |
グリフの (Unicode における) 文字コード。
| 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::xoff |
グリフ位置決めの際の水平・垂直調整値を、 26.6 fractional pixel format で表現したもの。
| unsigned MFLTGlyph::encoded |
メンバー <code> に既にグリフ ID がセットされているか否かを示すフラグ。
| unsigned MFLTGlyph::measured |
メンバー <xadv> から <rbearing> までの各メトリックが既に計算済か否かを示すフラグ。
| unsigned MFLTGlyph::adjusted |
グリフのメトリックが調整済みか否か、 すなわち以下のうち1つ以上が成立していることを示すフラグ。 <xadv> が標準の値と異なる、 <yadv> が標準の値と異なる、 <xoff> がゼロでない、 <yoff> がゼロでない。
| unsigned MFLTGlyph::internal |
m17n-lib 内部作業用。