View Single Post
Old 03-15-2021, 02:14 AM   #1
kaldan
Junior Member
kaldan began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2020
Device: none
Unable to embed font while using ebook-convert cli

I am trying to embed a font while converting a html file to .epub. For that, I am using this command:
font_family = "Monlam Uni Ouchan2"
f'ebook-convert {out_html_fn} {out_epub_fn} --extra-css=./template.css --embed-font-family="{font_family}" '

i am getting this:
Flattening CSS and remapping font sizes...
Embedding font: Monlam Uni OuChan2
Property: Unknown Property name. [1:48: panose-1]
Source base font size is 15.00000pt

My output epub is showing expected font while i opened it in calibre ebook reader. But when i open it in my ipad using ibook, it is not showing the expected font. please help me!!
kaldan is offline   Reply With Quote