12-01-2011, 09:39 PM | #46 | ||
Junior Member
Posts: 3
Karma: 10
Join Date: Dec 2011
Device: PRS-T1
|
Quote:
Quote:
|
||
12-02-2011, 04:10 AM | #47 |
Connoisseur
Posts: 79
Karma: 40957
Join Date: Aug 2011
Location: Paris, France
Device: Kobo Mini
|
Only SWNMTeb.ttc and DroidSansFallback.ttf are large enough font files to contain the many glyphs (more than ten thousand) of the CJK part of the whole Unicode charset. The Fallback in the name was another clue, but for some reason, Windows fails to open this font file (and only this one among those in the PRS-T1 /ebook/fonts folder).
However, the SWNMTeb.ttc font collection with two fonts (SYMinIWA-Th and SYNMinIWA-Th) contains Greek, Cyrillic, Japanese Hiragana/katakana, CJK ideograms (at least 62*200=12400 counted in Character Table)+symbols/punctuation and ideographic symbols. I don't know how to choose among the two fonts in the collection using @font-face in the css but both contains the same characters (I didn't see any difference between them when using Windows Character Table application, they look exactly the same to me). Last edited by seabee; 12-02-2011 at 04:12 AM. |
Advert | |
|
12-02-2011, 11:45 AM | #48 | |
Junior Member
Posts: 9
Karma: 37506
Join Date: May 2010
Device: prs-505, prs-T1
|
Quote:
|
|
12-02-2011, 03:00 PM | #49 | |
Enthusiast
Posts: 45
Karma: 13564
Join Date: Nov 2011
Device: Kindle Paperwhite; PRS-T1
|
Quote:
Code:
@font-face { font-family: "DroidSans", serif, sans-serif; src:url(res:///ebook/fonts/DroidSansFallback.ttf); } |
|
12-02-2011, 03:16 PM | #50 | |
Connoisseur
Posts: 79
Karma: 40957
Join Date: Aug 2011
Location: Paris, France
Device: Kobo Mini
|
Quote:
Listing all directories content with a "sudo ls -alFR / > dirlist.txt" shell command on a rooted PRS-T1 could possibly . |
|
Advert | |
|
12-02-2011, 03:16 PM | #51 |
Wizard
Posts: 1,176
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
|
If your epub has embedded fonts which are preventing your default fonts from being used, you can fix this by deleting the font files from the epub, without having to edit the css (which can be a bit fiddly). This trick works on older readers, and hopefully does too on the T1.
|
12-02-2011, 03:43 PM | #52 | |
Junior Member
Posts: 9
Karma: 37506
Join Date: May 2010
Device: prs-505, prs-T1
|
Quote:
/ebook, /mnt are both in the root. So I guess the sony reader just map the /mnt to some other place. |
|
12-02-2011, 04:10 PM | #53 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
|
|
12-02-2011, 04:18 PM | #54 | |
Connoisseur
Posts: 79
Karma: 40957
Join Date: Aug 2011
Location: Paris, France
Device: Kobo Mini
|
Quote:
Strange, it uses busybox to implement ls and I verified that busybox's ls support -alRF (or better -alARF) options... (I mounted the images I got from ebook_msc.exe in a Linux VM to try to investigate without rooting my PRS-T1). |
|
12-02-2011, 06:09 PM | #55 | |
Enthusiast
Posts: 45
Karma: 13564
Join Date: Nov 2011
Device: Kindle Paperwhite; PRS-T1
|
Quote:
Will test it out tonight. |
|
12-04-2011, 01:03 AM | #56 |
...
Posts: 226
Karma: 514506
Join Date: Sep 2011
Device: Sony PRS-T1
|
very nice work, cheers
|
12-05-2011, 04:24 PM | #57 | |
doofus
Posts: 2,520
Karma: 13036221
Join Date: Sep 2010
Device: Kobo Libra 2, Kindle Voyage
|
Quote:
Because if I have to alter every single ePub just to use the font I want, that is not an acceptable solution. And I'm pretty sure whatever default fonts it has, I won't like them. I'm very particular. Also, does the t1 accept a user CSS to override whatever CSS there may be in the book? If so, how extensive is CSS support? Does it do text-shadow? Thanks. |
|
12-08-2011, 04:53 AM | #58 |
Member
Posts: 17
Karma: 10
Join Date: Dec 2011
Device: Sony PRS-T1
|
After reading it a few time I still don't get it. My target: to have Chinese Characters displayed for EPUB.
What I did so far: I got a version of DroidSansFallback.ttf from the XDA website. I have a Chinese EPUB, where I opened the CSS and added: Code:
@font-face { font-family: "DroidSans", serif, sans-serif; src:url(res:///Sony_Reader/data/fonts/DroidSansFallback.ttf); } Where should I put the TTF? Seems my T1 has 2 partitions, READER and SETTING. SETTING is write protected. READER has 4 directories: Books / DCIM / download / Sony_Reader Where I am supposed to put the font file? |
12-08-2011, 06:50 AM | #59 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
Code:
src:url(res:///ebook/fonts/DroidSansFallback.ttf)
Code:
src:url(res:///Sony_Reader/data/fonts/DroidSansFallback.ttf)
|
|
12-08-2011, 07:21 AM | #60 |
Connoisseur
Posts: 71
Karma: 18140
Join Date: Jul 2011
Device: PRS-T1&KOBOTOUCH
|
An example that will work, root required
1.Rename any of your favorite fonts set(a fonts set contains four fonts, normally regular,bold,italic,bolditalic to "VerdanaW1G.otf, VerdanaW1G-Bold.otf, VerdanaW1G-BoldItalic.otf, VerdanaW1G-Italic.otf" (your fonts can be either "ttf" or "otf", but you must rename them as the name listed above) 2.Copy all the fonts in /ebook/fonts/ to /sdcard/fonts/, then copy your renamed fonts in step1 to /sdcard/fonts/, so the orginal VerdanaW1G fonts will be replaced. 3. in terminal, type: mount -o bind /sdcard/fonts/ /ebook/fonts/ 4. then in sony reader, select the font type "Vendana" Note: After you binded /sdcard/fonts/ to /ebook/fonts/, if connect to the PC via usb&data transfer mode, this mothod will not work untill you disconnect the usb. And, if you reboot your T1, the bind will also disappear, so I recommend to use GScript.apk to run this command easily once after the T1 was boot up. My question is, is there any shell to remove the bind? I typed umount /sdcard/fonts/, but get a word "failed", now I can only reboot to remove the bind. Last edited by xuyn2003; 12-08-2011 at 09:22 AM. |
|
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 |