View Single Post
Old 11-20-2009, 09:53 AM   #37
=X=
Wizard
=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.
 
=X='s Avatar
 
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
Quote:
Originally Posted by djgreedo View Post
Does anybody know how to embed fonts in the output from Bookcreator?

I'm creating a book that requires a number of non-standard characters with accents from several different languages. The output (I've created epub and LRF) doesn't use the fonts that I used in the Word document.

The HTML output seems to have all the correct accented letters, but when it is converted to the other formats some (not all) of the accented characters are not displayed correctly, so I imagine something needs to be added during the conversion from HTML to EPUB/LRF.

I know it's possible to change the device fonts, but I don't want to do that.
I've also tried zipping the HTML and adding it to Calibre and then converting that to EPUB/LRF with no change in the output results.

Any ideas?
I don't believe calibre supports embedding fonts with ePUB but I do know you can embed fonts in LRF.

To embedd fonts in BookCreator you need to add the following options in the "Additional Param" tab in the "Param" text box

Code:
   --serif-family=SERIF_FAMILY
                        The serif family of fonts to embed

    --sans-family=SANS_FAMILY
                        The sans-serif family of fonts to embed

    --mono-family=MONO_FAMILY
                        The monospace family of fonts to embed
In the param you would have to add the switches like so

Code:
   --serif-family="SERIF_FAMILY"    --sans-family="SANS_FAMILY"
with spaces between commands and the font name in quotes.

=X=
=X= is offline   Reply With Quote