It appears that the user cannot specific custom fonts for the various logical fonts that appear in font-mappings.xml
It would be nice to provide the ability to inject custom font families into this. The user could add one or more comma-separated font families for Sans, Sans-serif, and Monospaced, and these would be added to the beginning of the font-mappings for each.
As an aside, I tried putting in a font-mappings.xml myself and adding it to the catalog.xml, but it doesn't seem to get picked up. The catalog.xml that was generated for me was empty so I added this (with company replaced with the actual name):
Is there something additional that needs to be done to get catalog.xml to get picked up?
EDIT: Removing this line from the integrator.xml that was generated fixed the problem so the font-mappings.xml (or the catalog--not sure what the issue was here) gets picked up.
It appears that the user cannot specific custom fonts for the various logical fonts that appear in font-mappings.xml
It would be nice to provide the ability to inject custom font families into this. The user could add one or more comma-separated font families for Sans, Sans-serif, and Monospaced, and these would be added to the beginning of the font-mappings for each.
As an aside, I tried putting in a font-mappings.xml myself and adding it to the
catalog.xml
, but it doesn't seem to get picked up. Thecatalog.xml
that was generated for me was empty so I added this (with company replaced with the actual name):Is there something additional that needs to be done to get catalog.xml to get picked up?
EDIT: Removing this line from the integrator.xml that was generated fixed the problem so the font-mappings.xml (or the catalog--not sure what the issue was here) gets picked up.