![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,413
Karma: 13369310
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS T3, Kobo Glo, Kindle Touch, iPad, Samsung SB 2 tablet
|
Embedded fonts, Calibre, and choice of fonts
So far as I can tell, correct me if I'm wrong, if an ePub file has embedded fonts or has been produced using Calibre then the user can't change font family, and sometimes can't toggle between left aligned and justified text.
And most people who embed fonts seem to prefer serif fonts. I on the other hand prefer sans serif fonts and justified text. So although the ebook may look good to the person who has prepared it my ability to choose what I want has been taken away. Is it possible to embed fonts or make a book with Calibre but still allow me to choose what I want without going into someone else's CSS? If that is possible I'd really appreciate it if people would do that. Regards, Alex Last edited by AlexBell; 05-27-2010 at 04:39 AM. Reason: Fixed typo |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
I think you will need to tinker with the CSS. You *could* try to replace the font files in the epub with the files you want and name them the same. Otherwise you need to adjust the CSS. Personally when I change fonts, I use a different CSS which I include in the general CSS. That way editing is easier.
Personally I use the tweak_epub program to edit only parts of an epub. I find it ease to use. It is small but very useful. Last edited by Toxaris; 05-26-2010 at 04:51 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,542
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
I'm still waiting for the day when ebook readers allow user-specific CSS files. So, even if a book has hard-coded justification and a particular font, the user can override the CSS and use his own font instead, just like web browsers do. You can prepare yourself for that day, and put such global settings in the "body {}" rule, making it easy to override.
|
![]() |
![]() |
![]() |
#4 |
What Title ?
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,325
Karma: 1856232
Join Date: Jan 2009
Location: Bavaria Germany
Device: Sony Experia Z Ultra
|
I know that it is not available on all platforms, but CoolReader 3 does just that. CR3 has configuration settings that allow the user to ignore the EPUB CSS and substitute their own CSS.
|
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,413
Karma: 13369310
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS T3, Kobo Glo, Kindle Touch, iPad, Samsung SB 2 tablet
|
Thanks for all the comments. I guess what I'm really asking is that those people who like to embed fonts consider having a part of their CSS does not embed the font, and which is commented out. I could then go in with my HTML editor, remove the comments, and comment out the embedded text. I've seen some style sheets which are really hard to follow.
And thanks for the mention of tweak_epub and CoolReader3. I'll definitely check them out. Regards, Alex |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,542
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
I try to include the code that deals with embedded fonts in a separate CSS file that is then included with @import in the main file, so you can just comment it out to have the "normal" settings without embedded fonts (but I don't use embedded fonts for the main text, anyway). Have a look at "The Prince and the Pauper", uploaded here, and see if you like that
![]() |
![]() |
![]() |
![]() |
#7 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Quote:
|
|
![]() |
![]() |
![]() |
#8 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,413
Karma: 13369310
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS T3, Kobo Glo, Kindle Touch, iPad, Samsung SB 2 tablet
|
Quote:
Regards, Alex |
|
![]() |
![]() |
![]() |
#9 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,413
Karma: 13369310
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS T3, Kobo Glo, Kindle Touch, iPad, Samsung SB 2 tablet
|
Quote:
Regards, Alex |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with embedded fonts | James_Wilde | ePub | 25 | 09-24-2010 04:07 PM |
iPad Embedded Fonts | JSWolf | Apple Devices | 24 | 04-26-2010 02:41 PM |
ePub embedded fonts | JSWolf | Ectaco jetBook | 9 | 09-14-2009 08:43 PM |
Using embedded fonts with italics only | sherman | Calibre | 2 | 06-27-2009 04:32 AM |
ePub + Embedded Fonts | Cygfrydd | ePub | 11 | 03-02-2009 05:56 PM |