Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-15-2012, 08:01 AM   #1
ivanbayross
Junior Member
ivanbayross began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2012
Device: Amazon Kindle Fire
Font issues with Calibre

I have been struggling with this issue for some time without success.

I need some help.

My source file is well formatted HTML.

My Style rules are in a file named template_css.css

No matter what style rules I write in my CSS file when Calibre coverts the HTML source to a MOBI output, apparently "Times New Roman" is the font used.

I've embedded my font ( Arial ) in the CSS file using:
@font-face {
font-family: "Arial";
font-weight: normal;
font-style: normal;
src: url(../Library/Fonts/arial.ttf);
}

I've verified that there is a folder named Library which contains a folder named Fonts, which holds the file arial.ttf in it.

When Calibre runs its - pre process - I can see that arial.ttf has been added to the zip file.

Yet when Calibre converts the HTML / CSS source to MOBI format and I check this on a Kindle application on:
My PC
My iPad

The only font I can see is "Times New Roman".

I'm totally foxed.

Any help will be appreciated.

Ivan Bayross
ivanbayross is offline   Reply With Quote
Old 10-15-2012, 12:34 PM   #2
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 2,967
Karma: 1280000
Join Date: Sep 2010
Device: Kobo aura HD, Kobo Arc, Kindle Fire HDX 8.9 , Kindle for PC
is Ariel a public domain font ? - google says not - so that is probably your problem.
you can't embed a protected font & expect it to work on an e-reader.
It works on your PC only because microsoft allows it to.

Last edited by cybmole; 10-15-2012 at 12:37 PM.
cybmole is offline   Reply With Quote
Old 10-16-2012, 04:03 AM   #3
ivanbayross
Junior Member
ivanbayross began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2012
Device: Amazon Kindle Fire
Hi cybmole,

Never ever thought of this as a problem.

Will search for public domain fonts ( free to use ) and will try that in Sigil / Calibre.

Any suggestions for public domain Serif font names that can be used on an e-reader without issues ?
ivanbayross is offline   Reply With Quote
Old 10-16-2012, 04:10 AM   #4
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 2,967
Karma: 1280000
Join Date: Sep 2010
Device: Kobo aura HD, Kobo Arc, Kindle Fire HDX 8.9 , Kindle for PC
I've read that it can be an issue - try the sigil forum if you don't get an answer here - lots of e-reader font experts over there!
cybmole is offline   Reply With Quote
Old 10-16-2012, 05:28 AM   #5
ivanbayross
Junior Member
ivanbayross began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2012
Device: Amazon Kindle Fire
Okay this time I made sure that I used a Public domain, no copyright issues, TTF font.

Embedded this in the CSS file, checked that HTML file was displayed correctly in five different Browsers. It did. Hence, I believe that the CSS code is correct.

Then I used this HTML file as an input to Calibre.

When I check the .zip file created by Calibre, just before conversion to MOBI format, I can - See - font has been embedded.

When I check the MOBI output produced Calibre has - apparently - delivered the same old Times New Roman font in the MOBI file output.

I'm reading the MOBI file output in:
Firefox using a FF plugin.
In a Windows Vista - Kindle reader App.
In a iPad - Kindle reader App.

Same old Time New Roman font.

I'm not trying to do anything very fancy. I just want a Sans Serif font to be used in the MOBI file as I think a Sans Serif font is easier to read on a 7inch or 10inch screen.

Any help will be appreciated.
ivanbayross is offline   Reply With Quote
Old 10-16-2012, 05:35 AM   #6
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,094
Karma: 780247
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
I am not sure that Calibre embeds any fonts, so you are constrained by what the reading device has. Rather than specify a specific font (or as well) you could specify the font type (e.g. Sans Serif) so that the reader device can do a better job of handling the fallback case of not having the required font available.
itimpi is offline   Reply With Quote
Old 10-16-2012, 09:19 AM   #7
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,329
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
MOBI has no supprt for embedded fonts, you need to convert to azw3
kovidgoyal is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Font Issues Between Mobi and ePub GeckoFriend Conversion 4 04-16-2012 05:31 PM
PRS-T1 Font display issues (bold letters) martingUSA Sony Reader 3 12-07-2011 05:53 PM
Does NookColor have font-sizing issues? L.J. Sellers Nook Color & Nook Tablet 12 06-02-2011 05:45 PM
Font issues with new Kobo wifi . PookaLady Kobo Reader 6 03-09-2011 10:59 AM
DOC to PDF conversion - font size issues icebattle PDF 4 02-15-2009 04:32 AM


All times are GMT -4. The time now is 02:59 PM.


MobileRead.com is a privately owned, operated and funded community.