Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-15-2012, 07: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, 11:34 AM   #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: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
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 11:37 AM.
cybmole is offline   Reply With Quote
Advert
Old 10-16-2012, 03: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, 03: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: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
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, 04: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
Advert
Old 10-16-2012, 04: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,553
Karma: 950151
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, 08: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: 45,176
Karma: 27110894
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


Forum Jump

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


All times are GMT -4. The time now is 08:20 AM.


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