<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <font face="Times New Roman">Maybe try this for the font-group
      element:<br>
      <br>
      font-group xml:base=<a class="moz-txt-link-rfc2396E" href="file:/C:/Windows/Fonts/">"file:/C:/Windows/Fonts/"</a> label="Windows
      TrueType" embed="true" subset="true"><br>
      <br>
      --Andy<br>
    </font><br>
    <div class="moz-cite-prefix">On 8/10/2021 6:17 AM, Jean-Paul Rehr
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CALcdGbxSkWgF5y=d01z8RcQDSd6Mg7E__q2_j-dT1Vu9-paoMg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Dear RenderX members,
        <div><br>
        </div>
        <div>In XEP I've relied on the default afm fonts until now, but
          they don't support Greek characters that I now need to output
          to PDF. I am trying to add a set of .ttf fonts. I've tried
          following the user guide (as well as similar instructions on a
          few sites), but XEP keeps returning: "[warning] could not find
          any font family matching "AlegreyaSans"; replaced by
          Helvetica"</div>
        <div><br>
        </div>
        <div>My configuration in XEP.xml looks like this (I've put the
          .ttf fonts in the same directory as the default .afm):</div>
        <div><br>
        </div>
        <div><font face="monospace"><fonts xml:base="fonts/"
            default-family="Helvetica"><br>
          </font></div>
        <div><font face="monospace">....</font></div>
        <div><font face="monospace"><font-group label="Windows
            TrueType" embed="true" subset="true"> <br>
                <font-family name="AlegreyaSans"><br>
                   <font><font-data
            ttf="alegreyasans-regular.ttf"/></font><br>
                   <font style="oblique"><font-data
            ttf="alegreyasans-italic.ttf"/></font><br>
                   <font weight="bold"><font-data
            ttf="alegreyasans-bold.ttf"/></font><br>
                   <font weight="bold"
            style="oblique"><font-data
            ttf="alegreyasans-bolditalic.ttf"/></font><br>
                </font-family><br>
          </font></div>
        <div><font face="monospace"></font-group></font></div>
        <div><font face="monospace">...</font></div>
        <div><font face="monospace"></fonts></font></div>
        <div><br>
        </div>
        <div>And in the fo file the reference is:</div>
        <div><br>
        </div>
        <div><font face="monospace"><fo:flow
            flow-name="xsl-region-body" <b>font-family="AlegreyaSans" </b>font-weight="normal"
            font-size="10pt" space-before="10pt" space-after="10pt"></font><br>
        </div>
        <div><br>
        </div>
        <div>Am I missing a configuration somewhere?</div>
        <div><br>
        </div>
        <div>Many thanks in advance,</div>
        <div>JPR</div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
(*) To unsubscribe, please visit <a class="moz-txt-link-freetext" href="http://lists.renderx.com/mailman/options/xep-support">http://lists.renderx.com/mailman/options/xep-support</a>
(*) By using the Service, you expressly agree to these Terms of Service <a class="moz-txt-link-freetext" href="http://w">http://w</a>
ww.renderx.com/terms-of-service.html</pre>
    </blockquote>
    <br>
  </body>
</html>