Skip to main content
Participant
November 18, 2021
Question

ePub fixed-layout Font problem

  • November 18, 2021
  • 1 reply
  • 972 views

Hello

 

I have substituted Minon pro and Times New Roman for TIMES

 

However a new error appears:

 

CSS-007 /OEBPS/css/idGeneratedStyles.css

Font-face reference "OEBPS/font/Times-Roman.ttc" refers to non-standard font type "application/x-font-ttf".

 

How should I fix it?

Which free license font do you recommend to me?

 

Probably I should start from scratch, but I'd like to fix all errors previously.

 

Thanks all!

This topic has been closed for replies.

1 reply

rayek.elfin
Legend
November 18, 2021

That font file that you used is a TTC font file, which is a collection of true type font files. Those are NOT supported in an epub.

Your best bet is to use OTF font files only when creating an epub and embedding fonts. True type fonts may work as well, but from experience I have better results by sticking to OTF fonts only.

 

The epub 3 specs tell us to either use OTF or WOFF font files with css:

http://idpf.org/epub/301/spec/epub-contentdocs.html#sec-css-fonts

 

Participant
November 19, 2021

Thank you very much Rayek.