のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

ttxコマンド

D:\Users\m_fujii\Desktop>ttx -y 0 -t GSUB angsana.ttc
Dumping "angsana.ttc" to "angsana.ttx"...
Dumping 'GSUB' table...
<?xml version="1.0" encoding="UTF-8"?>
<ttFont sfntVersion="\x00\x01\x00\x00" ttLibVersion="2.5">

  <GSUB>
    <Version value="1.0"/>
    <ScriptList>
      <!-- ScriptCount=1 -->
      <ScriptRecord index="0">
        <ScriptTag value="thai"/>
        <Script>
          <DefaultLangSys>
            <ReqFeatureIndex value="65535"/>
            <!-- FeatureCount=1 -->
            <FeatureIndex index="0" value="0"/>
          </DefaultLangSys>
          <!-- LangSysCount=0 -->
        </Script>
      </ScriptRecord>
    </ScriptList>
    <FeatureList>
      <!-- FeatureCount=1 -->
      <FeatureRecord index="0">
        <FeatureTag value="ccmp"/>
        <Feature>
          <!-- LookupCount=4 -->
          <LookupListIndex index="0" value="0"/>
          <LookupListIndex index="1" value="1"/>
          <LookupListIndex index="2" value="2"/>
          <LookupListIndex index="3" value="3"/>
        </Feature>
      </FeatureRecord>
    </FeatureList>
    <LookupList>
      <!-- LookupCount=6 -->
      <Lookup index="0">
        <!-- LookupType=6 -->
        <LookupFlag value="256"/>
        <!-- SubTableCount=1 -->
        <ChainContextSubst index="0" Format="3">
          <!-- BacktrackGlyphCount=0 -->
          <!-- InputGlyphCount=1 -->
          <InputCoverage index="0">
            <Glyph value="uni0E0D"/>
            <Glyph value="uni0E10"/>
          </InputCoverage>
          <!-- LookAheadGlyphCount=1 -->
          <LookAheadCoverage index="0">
            <Glyph value="uni0E38"/>
            <Glyph value="uni0E39"/>
            <Glyph value="uni0E3A"/>
          </LookAheadCoverage>
          <!-- SubstCount=1 -->
          <SubstLookupRecord index="0">
            <SequenceIndex value="0"/>
            <LookupListIndex value="4"/>
          </SubstLookupRecord>
        </ChainContextSubst>
      </Lookup>
      <Lookup index="1">
        <!-- LookupType=2 -->
        <LookupFlag value="0"/>
        <!-- SubTableCount=1 -->
        <MultipleSubst index="0" Format="1">
          <Coverage>
            <Glyph value="uni0E33"/>
          </Coverage>
          <!-- SequenceCount=1 -->
          <Sequence index="0">
            <!-- GlyphCount=2 -->
            <Substitute index="0" value="uni0E4D"/>
            <Substitute index="1" value="uni0E32"/>
          </Sequence>
        </MultipleSubst>
      </Lookup>
      <Lookup index="2">
        <!-- LookupType=6 -->
        <LookupFlag value="512"/>
        <!-- SubTableCount=1 -->
        <ChainContextSubst index="0" Format="3">
          <!-- BacktrackGlyphCount=1 -->
          <BacktrackCoverage index="0">
            <Glyph value="uni0E48"/>
            <Glyph value="uni0E49"/>
            <Glyph value="uni0E4A"/>
            <Glyph value="uni0E4B"/>
            <Glyph value="uni0E4C"/>
            <Glyph value="uni0E31"/>
            <Glyph value="uni0E34"/>
            <Glyph value="uni0E35"/>
            <Glyph value="uni0E36"/>
            <Glyph value="uni0E37"/>
            <Glyph value="uni0E47"/>
            <Glyph value="glyph00201"/>
            <Glyph value="glyph00202"/>
            <Glyph value="glyph00203"/>
            <Glyph value="glyph00204"/>
            <Glyph value="glyph00205"/>
            <Glyph value="uni0E4D"/>
            <Glyph value="uni0E4E"/>
            <Glyph value="glyph00354"/>
            <Glyph value="glyph00360"/>
            <Glyph value="glyph00361"/>
          </BacktrackCoverage>
          <!-- InputGlyphCount=1 -->
          <InputCoverage index="0">
            <Glyph value="uni0E48"/>
            <Glyph value="uni0E49"/>
            <Glyph value="uni0E4A"/>
            <Glyph value="uni0E4B"/>
            <Glyph value="uni0E4C"/>
            <Glyph value="uni0E47"/>
            <Glyph value="uni0E4D"/>
            <Glyph value="uni0E4E"/>
          </InputCoverage>
          <!-- LookAheadGlyphCount=0 -->
          <!-- SubstCount=1 -->
          <SubstLookupRecord index="0">
            <SequenceIndex value="0"/>
            <LookupListIndex value="5"/>
          </SubstLookupRecord>
        </ChainContextSubst>
      </Lookup>
      <Lookup index="3">
        <!-- LookupType=1 -->
        <LookupFlag value="0"/>
        <!-- SubTableCount=1 -->
        <SingleSubst index="0">
          <Substitution in="eight" out="glyph00352"/>
          <Substitution in="five" out="glyph00349"/>
          <Substitution in="four" out="glyph00348"/>
          <Substitution in="nine" out="glyph00353"/>
          <Substitution in="one" out="glyph00345"/>
          <Substitution in="seven" out="glyph00351"/>
          <Substitution in="six" out="glyph00350"/>
          <Substitution in="three" out="glyph00347"/>
          <Substitution in="two" out="glyph00346"/>
          <Substitution in="zero" out="glyph00344"/>
        </SingleSubst>
      </Lookup>
      <Lookup index="4">
        <!-- LookupType=1 -->
        <LookupFlag value="256"/>
        <!-- SubTableCount=1 -->
        <SingleSubst index="0">
          <Substitution in="uni0E0D" out="glyph00115"/>
          <Substitution in="uni0E10" out="glyph00099"/>
        </SingleSubst>
      </Lookup>
      <Lookup index="5">
        <!-- LookupType=1 -->
        <LookupFlag value="512"/>
        <!-- SubTableCount=1 -->
        <SingleSubst index="0">
          <Substitution in="uni0E47" out="glyph00354"/>
          <Substitution in="uni0E48" out="glyph00201"/>
          <Substitution in="uni0E49" out="glyph00202"/>
          <Substitution in="uni0E4A" out="glyph00203"/>
          <Substitution in="uni0E4B" out="glyph00204"/>
          <Substitution in="uni0E4C" out="glyph00205"/>
          <Substitution in="uni0E4D" out="glyph00360"/>
          <Substitution in="uni0E4E" out="glyph00361"/>
        </SingleSubst>
      </Lookup>
    </LookupList>
  </GSUB>

</ttFont>