らんだむな記憶

blogというものを体験してみようか!的なー

EBDT(2)

source-han-sans/SourceHanSansJP-Regular.otf at release · adobe-fonts/source-han-sans · GitHubをダウンロードしてきて、以下のようなXMLでビットマップを埋め込んでみた・・・がツールでは見えるもののメモ帳とかで反映されない・・・。

<?xml version="1.0" encoding="UTF-8"?>
<ttFont sfntVersion="\x00\x01\x00\x00" ttLibVersion="3.40">

  <EBLC>
    <header version="2.0"/>
    <strike index="0">
      <bitmapSizeTable>
        <sbitLineMetrics direction="hori">
          <ascender value="6"/>
          <descender value="-2"/>
          <widthMax value="8"/>
          <caretSlopeNumerator value="1"/>
          <caretSlopeDenominator value="0"/>
          <caretOffset value="0"/>
          <minOriginSB value="0"/>
          <minAdvanceSB value="0"/>
          <maxBeforeBL value="6"/>
          <minAfterBL value="-2"/>
          <pad1 value="0"/>
          <pad2 value="0"/>
        </sbitLineMetrics>
        <sbitLineMetrics direction="vert">
          <ascender value="6"/>
          <descender value="-2"/>
          <widthMax value="8"/>
          <caretSlopeNumerator value="0"/>
          <caretSlopeDenominator value="1"/>
          <caretOffset value="0"/>
          <minOriginSB value="0"/>
          <minAdvanceSB value="0"/>
          <maxBeforeBL value="-8"/>
          <minAfterBL value="0"/>
          <pad1 value="0"/>
          <pad2 value="0"/>
        </sbitLineMetrics>
        <colorRef value="0"/>
        <startGlyphIndex value="1205"/>
        <endGlyphIndex value="1205"/>
        <ppemX value="8"/>
        <ppemY value="8"/>
        <bitDepth value="1"/>
        <flags value="1"/>
      </bitmapSizeTable>
      <!-- GlyphIds are written but not read. The firstGlyphIndex and
           lastGlyphIndex values will be recalculated by the compiler. -->
      <eblc_index_sub_table_5 imageFormat="5" firstGlyphIndex="1205" lastGlyphIndex="1205">
        <imageSize value="8"/>
        <BigGlyphMetrics>
          <height value="8"/>
          <width value="8"/>
          <horiBearingX value="0"/>
          <horiBearingY value="6"/>
          <horiAdvance value="8"/>
          <vertBearingX value="-4"/>
          <vertBearingY value="0"/>
          <vertAdvance value="8"/>
        </BigGlyphMetrics>
        <glyphLoc id="1205" name="cid01461"/>
      </eblc_index_sub_table_5>
    </strike>
  </EBLC>

  <EBDT>
    <header version="2.0"/>
    <strikedata index="0">
      <ebdt_bitmap_format_5 name="cid01461">
        <rawimagedata>
          00666600 3c422418
        </rawimagedata>
      </ebdt_bitmap_format_5>
    </strikedata>
  </EBDT>

</ttFont>