• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

ePub fixed-layout Font problem

Community Beginner ,
Nov 18, 2021 Nov 18, 2021

Copy link to clipboard

Copied

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!

TOPICS
EPUB , How to , Import and export , Publish online , Type

Views

621

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Nov 18, 2021 Nov 18, 2021

Copy link to clipboard

Copied

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

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 18, 2021 Nov 18, 2021

Copy link to clipboard

Copied

LATEST

Thank you very much Rayek.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines