<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Tom — Seeking to test the results of your project to convert the
      AMS/CM fonts in Type 1 format to OpenType/CFF using Adobe's AFDKO,
      I downloaded the contents of your Github repository
      (<a class="moz-txt-link-freetext" href="https://github.com/tkacvins/CM_OTF/archive/refs/heads/master.zip">https://github.com/tkacvins/CM_OTF/archive/refs/heads/master.zip</a>),
      expanded the contents thereof and installed (under Windows) just
      "cmr10.otf".  I then asked XeTeX to process the following :</p>
    <p>
      <blockquote type="cite"><tt>% !TeX Program=XeTeX</tt>
        <p style="-qt-paragraph-type:empty; margin-top:0px;
          margin-bottom:0px; margin-left:0px; margin-right:0px;
          -qt-block-indent:0; text-indent:0px; line-height:100%;"><tt><br>
          </tt></p>
        <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
          margin-right:0px; -qt-block-indent:0; text-indent:0px;
          line-height:100%;"><tt>\font \cmr = "cmr10"</tt></p>
        <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
          margin-right:0px; -qt-block-indent:0; text-indent:0px;
          line-height:100%;"><tt>\cmr</tt></p>
        <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
          margin-right:0px; -qt-block-indent:0; text-indent:0px;
          line-height:100%;"><tt>The quick brown fox jumps right over
            the laxy dog's back.</tt></p>
        <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
          margin-right:0px; -qt-block-indent:0; text-indent:0px;
          line-height:100%;"><tt>\end</tt></p>
      </blockquote>
    </p>
    <p>The TeXworks PDF previewer indicated that the resulting text
      scaled perfectly, so clearly the OTF file was being used (or so I
      thought).  I then amended the code to read :</p>
    <p> </p>
    <blockquote type="cite"><tt>% !TeX Program=XeTeX</tt>
      <p style="-qt-paragraph-type:empty; margin-top:0px;
        margin-bottom:0px; margin-left:0px; margin-right:0px;
        -qt-block-indent:0; text-indent:0px; line-height:100%;"><tt><br>
        </tt></p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
        margin-right:0px; -qt-block-indent:0; text-indent:0px;
        line-height:100%;"><tt>\font \cmr = "cmr9"</tt></p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
        margin-right:0px; -qt-block-indent:0; text-indent:0px;
        line-height:100%;"><tt>\cmr</tt></p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
        margin-right:0px; -qt-block-indent:0; text-indent:0px;
        line-height:100%;"><tt>The quick brown fox jumps right over the
          laxy dog's back.</tt></p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
        margin-right:0px; -qt-block-indent:0; text-indent:0px;
        line-height:100%;"><tt>\end</tt></p>
    </blockquote>
    <p>and found, to my complete surprise, that the text in cmr9 also
      scaled perfectly.  So my question is, "where is XeTeX finding a
      scaleable version of cmr9, when the only OTF file that I have
      installed from your suite is cmr10 ?".  "Start / Control Panel /
      Fonts" reveals that only "CMR 10 Regular" (of your font set) is
      installed, and a search under "C:\TeX\Live\2021" finds only :</p>
    <p>
      <blockquote type="cite">cmr9.afm<br>
        cmr9.mf<br>
        cmr9.pfb<br>
        cmr9.pfm<br>
        cmr9.t3<br>
        cmr9.tfm</blockquote>
    </p>
    <p>Is it possible that XeTeX is using the PFB version and ignoring
      the string quotes around "cmr9" that should force it to use a
      system font, and if so, must I write (<i>e.g.,</i>) <tt>\font
        \cmr = "[cmr10.otf]"</tt> to force XeTeX to use <i>only</i>
      your OTF versions and to report "Font not found" if the relevant
      font(s) is/are not installed ?  TeX Live and XeTeX lists cc'd for
      comment.</p>
    <p>-- <br>
      <i>Philip Taylor</i><br>
    </p>
    <p><br>
    </p>
    <blockquote type="cite"
cite="mid:CAG_eJLf4PUZH8BqX7_aMyx-em4LOggSyGqBmSM7s8bEB=RCNOA@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_quote">
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex">
            <div dir="ltr">
              <div class="gmail_quote">
                <blockquote class="gmail_quote" style="margin:0px 0px
                  0px 0.8ex;border-left:1px solid
                  rgb(204,204,204);padding-left:1ex">
                  <div dir="ltr"><br>
                    <div>
                      <div><br>
                      </div>
                      <div>The public repository is here</div>
                      <div><br>
                      </div>
                      <div><a href="https://github.com/tkacvins/CM_OTF"
                          target="_blank" moz-do-not-send="true">https://github.com/tkacvins/CM_OTF</a><br>
                      </div>
                      <div><br>
                      </div>
                      <div>Feel free to add to it.  I can add
                        contributors as necessary.</div>
                      <div><br>
                      </div>
                      <div>What is needed is testing, in particular if
                        the fonts are OK with the existing TFM files.</div>
                      <div>I am not quite sure how to get the TeX Live
                        tools to use OpenType fonts.  In addition,</div>
                      <div>there are some options/input files missing
                        from my initial creation of the fonts that will</div>
                      <div>be addressed later as I figure them out.</div>
                      <div><br>
                      </div>
                      <div>Enjoy!  And please feel free to open issues
                        (as necessary) on github and give feedback</div>
                      <div>as to whether I did anything bone headed.</div>
                    </div>
                  </div>
                </blockquote>
                <div><br>
                </div>
                <div>Ooops, the license needs to be taken care of.  The
                  AMS license says all derivative works</div>
                <div>need to have the AMS license/copyright removed.  I
                  am hoping that the AMS approves</div>
                <div>the distribution of the OTF flavors of their fonts
                  with their copyright.  Thoughts?</div>
              </div>
            </div>
          </blockquote>
          <div><br>
          </div>
          <div>Another thing that needs to be taken care of is Unicode
            mappings in the OTF. </div>
          <div>makeotf is botching it when making the cmap table in the
            OTF fonts because</div>
          <div>of the custom encodings of the amsfonts.  Things are not
            mapping properly.</div>
          <div>There is a way around this using an optional file for
            makeotf that handles the</div>
          <div>glyph to code mapping, but I have had some problems even
            with that.  Still</div>
          <div>trying to work it out with the AFDKO folks.</div>
          <div><br>
          </div>
        </div>
      </div>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>