10-13-2008, 05:11 AM | #1 |
Connoisseur
Posts: 63
Karma: 2600
Join Date: Oct 2008
Device: PRS-505
|
ePub with external font
Inspired by thawk from hi-pda forum, I found we could actually link *any* font from an epub file.
Just put the following script: @font-face { font-family: "Freestyle Script"; src:url(res:///Data/FONT/FREESCPT.TTF); } in the CSS and put your font at FONT/FREESCPT.TTF of internal storage. And actually it supports *any* unicode locale. (Fonts on MS is also possible.) So no more font embedding. There's no 'Formatting' for ePub and it turns much faster than PDFs. |
10-13-2008, 07:53 AM | #2 | |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
|
|
Advert | |
|
10-14-2008, 09:45 AM | #3 |
Interested Bystander
Posts: 3,726
Karma: 19728152
Join Date: Jun 2008
Device: Note 4, Kobo One
|
Can't get it working
Has anyone got this working?
I've converted a plain text file using any2epb and editted the content\resources\index_0.css file to add: @font-face { font-family: "Monotype Corsiva"; src:url(res:///DATA/FONT/MTCORSVA.TTF); } I've created DATA\FONT and FONT in the root of the internal memory and copied the font file into both. But when I recopy and open the book there is no change from the original version. I know the css file is being used, as if I add: body { font-size: 24; } Then the text size changes. I've tried several different fonts. Any ideas what I'm doing wrong? Last edited by murraypaul; 10-14-2008 at 10:17 AM. |
10-14-2008, 12:06 PM | #4 |
Reticulator of Tharn
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
|
Capitalization is relevant[*]. The Reader-internal path is "Data", with just the initial 'D' capitalized. Then created just 'FONT' in the Reader-internal memory and put your font-file there.
[*] But only up through the 'Data' part. It's complicated. |
10-15-2008, 06:36 AM | #5 | |
Interested Bystander
Posts: 3,726
Karma: 19728152
Join Date: Jun 2008
Device: Note 4, Kobo One
|
Quote:
This is pretty impressive, it seems like it might be slightly slower paging forward several pages in a go than LRF or and ePub without a font specified, but it is hard create a fair comparison because there is now a different amount of text on the page. I hadn't realised how much faster ePub was to open and change text size than LRF either, not having to recalculate the number of pages makes a huge difference, from 10 seconds to open to 1, from 22 seconds to change font size to around 6. |
|
Advert | |
|
10-15-2008, 07:09 AM | #6 | |
The Introvert
Posts: 8,307
Karma: 1000077497
Join Date: Jan 2007
Location: United Kingdom
Device: Sony Reader PRS-650 & 505 & 500
|
Quote:
You have to use eBook Library software to upload LRF files to your reader. Then change of text size takes 1 second. Open any LRF book takes 1-2 seconds as well, if you use eBook Library software to upload the files. |
|
10-15-2008, 09:31 AM | #7 | |
Interested Bystander
Posts: 3,726
Karma: 19728152
Join Date: Jun 2008
Device: Note 4, Kobo One
|
Quote:
|
|
10-15-2008, 10:54 AM | #8 | |
Interested Bystander
Posts: 3,726
Karma: 19728152
Join Date: Jun 2008
Device: Note 4, Kobo One
|
Quote:
|
|
10-15-2008, 12:30 PM | #9 | |
curmudgeon
Posts: 1,487
Karma: 5748190
Join Date: Jun 2006
Location: Redwood City, CA USA
Device: Kobo Aura HD, (ex)nook, (ex)PRS-700, (ex)PRS-500
|
Quote:
Seriously, your 'proper' is utterly unavailable to me. I refuse to install Windows on my Mac just to run Sony's eBook Library software. Xenophon |
|
10-16-2008, 10:48 AM | #10 | ||
The Introvert
Posts: 8,307
Karma: 1000077497
Join Date: Jan 2007
Location: United Kingdom
Device: Sony Reader PRS-650 & 505 & 500
|
Quote:
Quote:
My point is that lrf is as fast or faster than epub. If you or anyone else refuse to use sony software, it is not Sony reader or LRF fault. They operate just fine. If for some reason it takes so long to open lrf vs. epub it is a user error. |
||
10-16-2008, 10:59 AM | #11 | |
Feedbooks.com Co-Founder
Posts: 2,263
Karma: 145123
Join Date: Nov 2006
Location: Paris, France
Device: Sony PRS-t-1/350/300/500/505/600/700, Nexus S, iPad
|
Quote:
And if you're not using Windows, it's not "refusing to use sony software": you don't have much of a choice. |
|
10-16-2008, 11:04 AM | #12 | |
The Introvert
Posts: 8,307
Karma: 1000077497
Join Date: Jan 2007
Location: United Kingdom
Device: Sony Reader PRS-650 & 505 & 500
|
Quote:
We are not talking about customizing ebook to every whim of any user out there. We are talking about a given gadget with given specifications and features. As long as you use one as you should, it has no speed issues. re: 2 Just because someone doesn't use Windows, it doesn't make LRF any slower/faster. It is a personal choice. |
|
10-16-2008, 11:24 AM | #13 |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
|
10-16-2008, 11:32 AM | #14 | |
The Introvert
Posts: 8,307
Karma: 1000077497
Join Date: Jan 2007
Location: United Kingdom
Device: Sony Reader PRS-650 & 505 & 500
|
Quote:
When you know that you cannot use it as a manufacturer advices you to do and you still buy it, then it is your responsibility to avoid problems and if something doesn't work as it should it is again your personal error/problem/issue. When you buy Sony Reader you accept that it will work as they promise only if you use eBook Library or else you might encounter problems and you are doing it on your own risk. |
|
10-16-2008, 11:47 AM | #15 |
The Introvert
Posts: 8,307
Karma: 1000077497
Join Date: Jan 2007
Location: United Kingdom
Device: Sony Reader PRS-650 & 505 & 500
|
I believe it is similar to:
When you pass job interview and accept terms and conditions and being empyed to do the job, you cannot come to your boss in a few days and say: my salary is too low and I don't like doing this particular bit. He will tell you that you agreed of your own volition to do the job and perform up to certain standards and to be paid a specific salary. If you agreed that you have to start your job at 6 am and you signed the contract, you cannot demand alter it and start at 10 am. Sony Reader is designed in such a way that you can use LRF file with certain fonts and if they are uploaded with eBook Library the paginating is done by the powerful software+pc vs. small and weak reader When you are trying to do something different and get issues with LRF speed, it is not LRF's fault. It is your fault that you do not follow the agreement you have made when you bought the gadget including special software as you were well aware you should do when you paid the money. If you agreed to pay money for a gadget with optimal performance under Windows OS, you cannot now say epub is a lot faster than LRF because it is not. P.S. btw., it is nothing personal. And I do not work for Sony I am only saying that epub is no faster than LRF |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ePub Font Subsetting | Cygfrydd | ePub | 2 | 08-17-2010 08:53 AM |
Anybody knows if Kobo can use external font? | Flyingpig | Kobo Reader | 3 | 07-18-2010 10:45 PM |
Is it possible to an external font to be used? | Semp | Kobo Reader | 1 | 05-03-2010 12:44 PM |
PRS-600 Default EPUB font? | jamadams | Sony Reader | 5 | 04-06-2010 11:07 PM |
External EPUB viewer | astrodad | Calibre | 5 | 12-19-2008 07:49 AM |