![]() |
#1 |
Junior Member
![]() 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 |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() 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 ? |
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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!
|
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() 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. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 | 4 | 02-15-2009 03:32 AM |