fontsxsl-foantenna-house

Why won't Antenna House Formatter 6.2 on Windows 10 x64 recognize my Helvetica fonts?


On Windows 10, whether using the Antenna House 6.2 GUI or via command line through oXygen 23, Antenna House is not acknowledging my Helvetica fonts.

(confirmation that they are installed)

enter image description here

(Antenna House font-config.xml)

<?xml version="1.0" encoding="UTF-8" ?>
<!-- DOCTYPE font-config SYSTEM "font-config.dtd" -->
<font-config
    otf-metrics-mode="typographic"
    name-processing-mode="windows-name">
  <!-- add your font folder here -->
  <font-folder path="C:\Windows\Fonts"/>
</font-config>

(reference within XSL)

<fo:block font-family="Helvetica" ...

(error from Antenna House as shown within oXygen 23)

enter image description here


Solution

  • The usual advice for Windows is to not use a font-config.xml file because AH Formatter on Windows searches C:\Windows\Fonts by default. See https://www.antenna.co.jp/AHF/help/v70e/ahf-font.html#font-configration-file

    Windows 10 also has per-user font directories. Are you sure that your font did not end up in your per-user directory? AH Formatter V6.2 predates both Windows 10 and the support for per-user directories in later AH Formatter versions. In this case you would need to have your own font-config.xml file to get AH Formatter to also search the per-user directory.

    If you preview the font on Windows, is the 'Font name:' field just 'Helvetica' or is it something like 'HelveticaRegular'? You should base the font-family value on the name in the file.

    I am assuming that you are using the font-config.xml file in the default location or you are using the correct environment variable to tell AH Formatter where to find another font-config.xml file, but you might want to check to be sure.