Thread
:
How to embed fonts in ePub after Calibre
View Single Post
02-14-2010, 08:46 PM
#
25
kovidgoyal
creator of calibre
Posts: 44,001
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@PT: You can find the font file path like this
Code:
font_dir = P('fonts/liberation')
This is guaranteed to work on all platforms. It will give you the platform dependent location of the directory containing the liberation fonts.
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS