フォント TrueType 構造解析 新しいページはコチラ

提供: yonewiki
移動: 案内, 検索
(LTSH)
(LTSH)
1,758行: 1,758行:
  
 
[[メディア:IMPACT TAG LTSH TebleInfo.txt|IMPACT_TAG_LTSH_TebleInfo.txt]]
 
[[メディア:IMPACT TAG LTSH TebleInfo.txt|IMPACT_TAG_LTSH_TebleInfo.txt]]
 +
 +
 
 +
 +
==== VDMX ====
 +
 VDMXはOS/2テーブルのusWinAscentとusWinDescentの値から任意のサイズのフォントにおける最大の黒色部分高さを決定します。スケーリングによる高さと丸み帯び量による高さとで異なるフォント高さになるため、yMaxやyMinから飛び出ることがないように定義されます。アスペクト比ごとにグループ化したときの総数だけratRange構造体を保有する可変量と総数だけテーブル開始位置からの記載ポジションを設定する可変量を保有しています。ratRange構造体が4バイトなので、大きな配列になります。
 +
 +
<table style = "width: 100 ; text-align: left; border-collapse: collapse; border-spacing: 0; ">
 +
<tr style = " background: #778ca3; border-right: solid 1px #778ca3; color: #ffffff; ">
 +
  <th style = "width: 200px; ">型</th>
 +
  <th style = "width: 200px; ">Name</th>
 +
  <th>説明</th>
 +
</tr>
 +
<tr>
 +
  <td>unsigned short</td>
 +
  <td>UsVersion</td>
 +
  <td>テーブルバージョン番号 0 or 1</td>
 +
</tr>
 +
<tr style = "background-color = #eeeeee;">
 +
  <td>unsigned short</td>
 +
  <td><span style = "background:linear-gradient(transparent 75%, #ff9393 75%); font-weight:bold; ">UsNumRecs</span></td>
 +
  <td>VDMXグループ数</td>
 +
</tr>
 +
<tr>
 +
  <td>unsigned short</td>
 +
  <td>UsNumRatios</td>
 +
  <td>アスペクト比ごとのグループ数</td>
 +
</tr>
 +
<tr style = "background-color = #eeeeee;">
 +
  <td>ratioRange構造体</td>
 +
  <td><span style = "background:linear-gradient(transparent 75%, #ff9393 75%); font-weight:bold; ">ratRange[UsNumRatio]</span></td>
 +
  <td>numRatioの数の配列のratRage構造体</td>
 +
</tr>
 +
<tr>
 +
  <td>unsigned int</td>
 +
  <td>vdmxGroupOffsets[num]</td>
 +
  <td>numRatioの数の配列のテーブル先頭からのアドレス位置</td>
 +
</tr>
 +
</table>
 +
 +
■ratRagne構造体
 +
<table style = "width: 100 ; text-align: left; border-collapse: collapse; border-spacing: 0; ">
 +
<tr style = " background: #778ca3; border-right: solid 1px #778ca3; color: #ffffff; ">
 +
  <th style = "width: 200px; ">型</th>
 +
  <th style = "width: 200px; ">Name</th>
 +
  <th>説明</th>
 +
</tr>
 +
<tr>
 +
  <td>unsigned char</td>
 +
  <td>bCharSet</td>
 +
  <td>文字セット</td>
 +
</tr>
 +
<tr style = "background-color = #eeeeee;">
 +
  <td>unsigned char</td>
 +
  <td>xRatio</td>
 +
  <td>x-Ratioのために使う値</td>
 +
</tr>
 +
<tr>
 +
  <td>unsigned char</td>
 +
  <td>yStartRatio</td>
 +
  <td>y-Ratioの開始値</td>
 +
</tr>
 +
<tr style = "background-color = #eeeeee;">
 +
  <td>unsigned char</td>
 +
  <td>yEndRatio</td>
 +
  <td>y-Ratioの終了値</td>
 +
</tr>
 +
</table>
  
 
== '''関連記事''' ==
 
== '''関連記事''' ==

2022年9月3日 (土) 00:00時点における版



個人用ツール
名前空間

変種
操作
案内
ツールボックス