11-21-2011, 07:37 AM | #1 |
Groupie
Posts: 155
Karma: 112134
Join Date: May 2009
Location: Kuala Lumpur
Device: iPad, K3, K4, T1
|
Changing from original font
I'm aware there are some limitations when it comes to changing the font; performance may be poorer and bold/italics etc. may not always work. The manual also says something about content with embedded fonts may not change. From that, I take it they believe it'll work most of the time but no guarantees.
In my case though I very rarely succeed in actually changing the font at all. Of fifteen different books I tried yesterday, I was only able to change the font in three of them. For the other twelve, no matter which font I chose, the font just won't change from the original. Is this something that is peculiar to me? Or do I not quite understand what "embedded fonts" mean, perhaps. All the fifteen files have a font-family (sometimes more than one) defined in the EPUB stylesheet but since three work and twelve don't, I suspect I'm looking at the wrong thing. Guidance appreciated. |
11-21-2011, 02:15 PM | #2 |
Connoisseur
Posts: 79
Karma: 40957
Join Date: Aug 2011
Location: Paris, France
Device: Kobo Mini
|
You can open any EPUB file (even with DRMs, they are zip files with a different extension) with 7-Zip or WinRar, edit all the css files (normally not DRM encrypted), searching for font-family attributes. You just have to remove these up to the following ; (included) or } (NOT INCLUDED) character and save each modified file back into the archive.
Think to edit a copy of the books. However, some books can have style embedded in the same files as the book's text and if they are DRM encrypted, you can't change those without removing the DRMs first. Last edited by seabee; 11-22-2011 at 08:33 AM. |
Advert | |
|
11-21-2011, 04:40 PM | #3 |
Junior Member
Posts: 3
Karma: 496
Join Date: Oct 2011
Location: Poland
Device: Sony PRS-T1
|
I also have noticed this issue with my new PRS-T1. Accidentally a new version (0.8.27) of Calibre has just been released with a new feature of "removing specified style information (CSS) from the document during conversion". I'm going to see if it helps at the earliest opportunity.
|
11-21-2011, 07:58 PM | #4 | |
Guru
Posts: 888
Karma: 2140364
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Kobo Aura ONE, Marvin 3
|
Quote:
|
|
11-21-2011, 09:04 PM | #5 | |
Groupie
Posts: 155
Karma: 112134
Join Date: May 2009
Location: Kuala Lumpur
Device: iPad, K3, K4, T1
|
Quote:
It also appears the vast majority of EPUB files do have a font-family defined. Which SONY must be aware of. Yet, we have the ability to change fonts within through the reader, suggesting it's something that would work more often than not. If not every time. I'm a bit hesitant to go through my entire library and remove the font-family without understanding the problem better. |
|
Advert | |
|
11-22-2011, 08:21 AM | #6 | |
Connoisseur
Posts: 79
Karma: 40957
Join Date: Aug 2011
Location: Paris, France
Device: Kobo Mini
|
Quote:
However, I agree that an option to override font-family defined in EPUB would be really useful. Just do the changes on copies of your books. The only real problem is that if some of your EPUBs require a specific font for special characters (not available in west-european charsets) and are embedding this font, changing the font-familly will make them unreadable. |
|
11-22-2011, 08:32 AM | #7 | |
Connoisseur
Posts: 79
Karma: 40957
Join Date: Aug 2011
Location: Paris, France
Device: Kobo Mini
|
Quote:
I tried that myself in many EPUB (public domain without DRM), no problem at all and I can select my favorite font. It's only a problem if you don't know how to edit and write-back a simple text file inside a ZIP archive. |
|
11-22-2011, 08:45 AM | #8 | |
Guru
Posts: 888
Karma: 2140364
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Kobo Aura ONE, Marvin 3
|
Quote:
It is pretty easy to follow the rules once you know about them. |
|
11-22-2011, 08:54 AM | #9 | |
Guru
Posts: 888
Karma: 2140364
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Kobo Aura ONE, Marvin 3
|
Quote:
Modern web browsers seem to use the fallback technique, and since epub readers are basically HTML rendering engines I'd be surprised if they worked radically differently. |
|
11-22-2011, 08:57 AM | #10 |
Zealot
Posts: 127
Karma: 744
Join Date: Oct 2011
Device: Sony PRS-T1
|
@seabee
Do you use embedded fonts for change the fonts in epubs? I have some trouble to use fonts (my own fonts) outside of epubs on the T1. |
11-22-2011, 02:24 PM | #11 | |
Connoisseur
Posts: 79
Karma: 40957
Join Date: Aug 2011
Location: Paris, France
Device: Kobo Mini
|
Quote:
|
|
11-23-2011, 01:18 AM | #12 |
Zealot
Posts: 127
Karma: 744
Join Date: Oct 2011
Device: Sony PRS-T1
|
Thanks.
Code:
@font-face { font-family: "Gentium Book"; font-weight: normal; font-style: normal; src: url(res:///Data/fonts/GenBkBasR.ttf) } The font isn't used so I think there is something wrong. Does anybody use this method on the T1? |
11-23-2011, 01:27 AM | #13 | |
Evangelist
Posts: 425
Karma: 77256
Join Date: Sep 2011
Device: none
|
The method I use on my T1 is:
Quote:
|
|
11-23-2011, 01:58 AM | #14 |
Zealot
Posts: 127
Karma: 744
Join Date: Oct 2011
Device: Sony PRS-T1
|
But then I have to include the fonts in each epub. That's what I want to avoid. I want my font on the T1 and use it in every epub. That's less work I think and also saves storage space.
|
11-23-2011, 05:49 AM | #15 | |
Grand Sorcerer
Posts: 6,167
Karma: 16228536
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
The only way which currently works on a T1 is to fully embed the fonts inside each epub. |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hacks how to return to the original font | lizayin | Amazon Kindle | 1 | 07-07-2011 07:25 PM |
Changing original font css in ePub | jlbfoot | Sony Reader | 4 | 12-28-2010 12:07 PM |
Troubleshooting Font size changing | Kumabjorn | Amazon Kindle | 1 | 07-23-2010 12:49 AM |
DR1000 Changing Font-Size | ThR | iRex | 6 | 06-21-2010 06:29 AM |
Book Conversion - Changing Original Texts | RWood | Sony Reader | 13 | 04-18-2007 01:28 PM |