11-29-2011, 07:02 PM | #31 | |
Resident Curmudgeon
Posts: 73,660
Karma: 127838196
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
11-29-2011, 07:25 PM | #32 |
Grand Sorcerer
Posts: 6,171
Karma: 16228536
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
I just tried it on my non-rooted PRST1.
The res:///ebook/fonts/xxx.otf location works great for getting the internal extra fonts (Amasis, PalatinoNova etc) to work correctly. One has to wonder how Sony were able to make such a pig's ear of the extra fonts feature. Including the standard 4 @font-face statements in the css file works a treat, e.g for Amasis: Code:
@font-face {font-family: serif; font-weight: normal; font-style: normal; src: url(res:///ebook/fonts/AmasisMTW1G.otf)} @font-face {font-family: serif; font-weight: normal; font-style: italic; src: url(res:///ebook/fonts/AmasisMTW1G-Italic.otf);} @font-face {font-family: serif; font-weight: bold; font-style: normal; src: url(res:///ebook/fonts/AmasisMTW1G-Bold.otf);} @font-face {font-family: serif; font-weight: bold; font-style: italic; src: url(res:///ebook/fonts/AmasisMTW1G-BoldItalic.otf);} Last edited by jackie_w; 11-29-2011 at 07:31 PM. Reason: added example |
Advert | |
|
11-29-2011, 09:54 PM | #33 |
E-reader Enthusiast
Posts: 4,871
Karma: 36507503
Join Date: Aug 2010
Location: Southwest, USA
Device: Kindle Oasis 3; Kobo Aura One; iPad Mini 5
|
Great detective work! Keep the progress going!
|
11-30-2011, 01:42 AM | #34 |
Zealot
Posts: 127
Karma: 744
Join Date: Oct 2011
Device: Sony PRS-T1
|
WOW that's a big advance!
Thanks a lot!!! |
11-30-2011, 02:03 AM | #35 |
ebooknut
Posts: 297
Karma: 688154
Join Date: Oct 2011
Device: Kindle Voyage & Oasis
|
|
Advert | |
|
11-30-2011, 06:48 AM | #36 |
Grand Sorcerer
Posts: 6,171
Karma: 16228536
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
|
11-30-2011, 06:54 AM | #37 |
Zealot
Posts: 127
Karma: 744
Join Date: Oct 2011
Device: Sony PRS-T1
|
I DO! to all forum members
|
11-30-2011, 11:28 AM | #38 |
ebooknut
Posts: 297
Karma: 688154
Join Date: Oct 2011
Device: Kindle Voyage & Oasis
|
Seabee, jackie_w and everyone else who shares findings! This forum is great!
Last edited by pssquirrel; 01-13-2012 at 02:42 AM. Reason: typo |
11-30-2011, 03:50 PM | #39 |
Resident Curmudgeon
Posts: 73,660
Karma: 127838196
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Now, my next question...
Can anyone without a rooted T1 put fonts in /system/fonts and access them from an ePub? |
11-30-2011, 05:12 PM | #40 | |
Connoisseur
Posts: 79
Karma: 40957
Join Date: Aug 2011
Location: Paris, France
Device: Kobo Mini
|
Quote:
|
|
11-30-2011, 05:31 PM | #41 | |
Resident Curmudgeon
Posts: 73,660
Karma: 127838196
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
12-01-2011, 01:20 AM | #42 |
Junior Member
Posts: 3
Karma: 10
Join Date: Dec 2011
Device: PRS-T1
|
Thank you seabee!! Now I can read chinese ePub files without embedding font and rooting my device!! What a great news!!
|
12-01-2011, 01:38 PM | #43 | |
Junior Member
Posts: 9
Karma: 37506
Join Date: May 2010
Device: prs-505, prs-T1
|
Quote:
|
|
12-01-2011, 03:06 PM | #44 | |
Connoisseur
Posts: 79
Karma: 40957
Join Date: Aug 2011
Location: Paris, France
Device: Kobo Mini
|
Quote:
src: url(res:////sdcard/comic.ttf); src: url(res:///mnt//sdcard/comic.ttf); src: url(res:///ebook/mnt/sdcard/comic.ttf); src: url(res:///ebook/sdcard/comic.ttf); src: url(res:///ebook/comic.ttf); |
|
12-01-2011, 09:14 PM | #45 |
Junior Member
Posts: 5
Karma: 10
Join Date: Nov 2009
Device: PDA
|
|
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 |