|
|
#1 |
|
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: May 2012
Location: Belgium
Device: Sony prs t1
|
How to remove embedded fonts?
I'm completely new to the html and css so if somebody could help me I will be very happy. I have some ebooks which not let me change the font on my ereader. I think it is because there is some embedded fonts. I suppose there must be a way to change something on the stylsheet, etc. on Sigil to allow me to read those books with the font I like on the reader. I will like to know what is the coding difference between the books who have embedded fonts (so you can't change the font on the reader as you like) and the other who let this choice possible? I mean where on the css code and what exactly. P.S. I don't really understand the utility of embedded fonts on the ebooks as when I'm reading them on my Prs-t1 choosing the font "original" the fonts are always the same (I mean not the one who is embedded to the code) on all books?
|
|
|
|
|
|
#2 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,713
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Quote:
).Not all readers support font embedding. Does that mean that all books should not use them? YOU can choose to remove the font files (in Fonts) which would simply leave a technically, 'broken' EPUB. Removing the @font declarations from styles (AND the named font, from the font-family: (priority) list in the styles section or CSS should take care of the rest. Flightcrew should tell you if you missed all but the styles part. BTW The Calibre: Modify EPUB plugin will do this http://www.mobileread.com/forums/sho...d.php?t=154371 if you use Calibre.
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
Enthusiast
|
|
|
|
#3 | |||
|
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: May 2012
Location: Belgium
Device: Sony prs t1
|
Hi theducks, thank you very much for your answer.
Quote:
Quote:
Buy the way some of the ebooks don't have font files and other don't have any font-familly anywhere on the CSS. ![]() Quote:
The only way I find to remove embedded fonts at the moment is to do a epub > epub conversion. If you have a little of time one day I will be so happy if you could tell what is making that it is impossible to change the font on a ebook. I mean what is the formula, phrase? Maybe than I could find it on the CSS. Because I suppose one thing is to say I want the book use X font and an other thing is to say I want the book use ONLY the X fonts. I don't know if I'm clear with my poor english! |
|||
|
|
|
|
|
#4 |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,713
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Let us be sure of the terms:
Font is the way a character Looks (includes the Bold, slant variants) Font size is how big/little Failure of the reader to resize: 1) font size is specified in absolute dimensions in the Style 2) What you see is a picture of words (you can't copy/change any word) 3) the reader software has limitatations There are threads discussing the T1 and using System Local fonts ![]() The solutions are all T1 centric, and make a book into non-inter-changeable device EPUB book .
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
#5 |
|
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: May 2012
Location: Belgium
Device: Sony prs t1
|
I think my english will not be sufficient to talk about this problem in a detailed way.
![]() But when you are saying "The solutions are all T1 centric" is that means the other devices don't have this problem (the impossibility to change the font-family)? I think I will continue with the solution I found (the conversion) unless I learn one day the CSS coding. Even though I have not been able to understand all your advises (the CSS language is far too technical for my comprehension), thank you very much for taking time to respond to my questions.
|
|
|
|
|
|
#6 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,105
Karma: 927511
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
|
If done correctly, removal of embedded fonts is not that difficult and is, as theducks already specified, a three-step.
1. removal of the fonts in the ePUB (with Sigil this is in the Fonts folder) 2. Removal of all @font-face references in the stylesheets (could be internal stylesheet, that means in the XHTML files!) 3. Remove references in styles (search for font-family). If this does not work, there might be interal stylesheets. If you see a lot of @font-face in the XHTML documents, the source is probably a Word document which has not been cleaned up sufficiently. That is a lot more work. Embedded fonts have their uses. The fonts on the reader usually don't contain a full character set. That means that not every character can be displayed. An embedded font can help there. Also, for certain headers, notes, signs and so on it can have added value. A base font is usually not that useful, unless it is about the characters mentioned earlier. Font-embedding on the Sony's can be done in two ways. One way is embedding the font in the ePUB and that will, if done correctly, work on almost all readers. The other method is by placing fonts on the reader in a specified directory and make a change in the stylesheet pointing to those fonts. These ePUB's will only work on that reader without issues.
__________________
Creator and maintainer of the e-Book Tools Word add-in. Creator and maintainer of the Clean HTML macro for MS Word. |
|
|
|
|
|
#7 | |
|
Mobile Reader Geek
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,218
Karma: 13801376
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad
|
Quote:
__________________
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| embedded fonts | Wally S | Workshop | 15 | 01-21-2012 03:57 PM |
| Embedded fonts | dicknskip | Sigil | 27 | 12-01-2011 09:24 AM |
| Embedded fonts? | Greenmantle | Kobo Reader | 66 | 07-27-2011 08:20 PM |
| Embedded fonts, Calibre, and choice of fonts | AlexBell | ePub | 8 | 05-30-2010 06:00 AM |
| iPad Embedded Fonts | JSWolf | Apple Devices | 24 | 04-26-2010 02:41 PM |