AntennaHouse / pdf5-ml

Antenna House PDF5-ML DITA-OT Plug-in
23 stars 9 forks source link

Missing Font Family Noto CJK SC #199

Closed dcwise closed 3 years ago

dcwise commented 3 years ago

with zh-CN_style.xml, the customer implemented the following:

    <variable name="General_Serif_Font">Noto Sans SC</variable>
    <variable name="General_Sans_Serif_Font">Noto Sans CJK SC</variable>
    <variable name="General_Monospace_Font">Noto Sans CJK SC</variable>

during PDF build, AH 7 complained about:

Missing Font Family Noto CJK SC Missing Font Family Noto SC

to resolve the issue above, what is the right solution?

ToshihikoMakita commented 3 years ago

Specify right font-family name as shown below. This will solve your problem.

noto-sans_New

noto-sans-word_New

dcwise commented 3 years ago

This did not resolve the issue, unfortunately, which keeps complaining about Missing Font Family Noto Sans CJK SC Light, even the font resides in the Windows Fonts directory. image

dcwise commented 3 years ago

As shown below, even when the necessary font resides, AHF keeps complaining about Missing Font Family: image

ToshihikoMakita commented 3 years ago

Please attach your XSL-FO file that reproduce your problem.

dcwise commented 3 years ago

EpicElfug.FO.txt

ToshihikoMakita commented 3 years ago

Windows font system sometimes store the font file to user specific folder other than C:\Windows\Fonts. Current AH Formatter (V7.1) handles these fonts. However V6.5 may not have this function. Here is Formatting result via AH Formatter V7.1. It is recommended to use the latest AH Formatter to solve this problem. As shown below no font problem is reported in V7.1.

2021-04-26-2

dcwise commented 3 years ago

Replacing the AHF prior edition with the latest AHF does do the trick, thank you very much!

dcwise commented 3 years ago

<!DOCTYPE concept PUBLIC "-//ANTENNA HOUSE//DTD DITA Concept//EN" "concept.dtd"> without this DTD, the plugin simply fails to render a front cover and back cover. please can you look into this problem?

ToshihikoMakita commented 3 years ago

What DTD are you using??

ToshihikoMakita commented 3 years ago

Closed. No reply!