06-07-2011, 10:13 PM | #31 |
Chasing Butterflies
Posts: 3,132
Karma: 5074169
Join Date: Mar 2011
Location: American Southwest
Device: Uses batteries.
|
Also, to compare and contrast, this PD book that JS Wolf provided and that I stripped of fonts via Calibre DOES work.
Maybe someone can help me understand why this one doesn't have the bolding problems but the Twain one (and everything else in my library) does. Thanks! (And sorry to be so much trouble!) |
06-07-2011, 11:03 PM | #32 |
Resident Curmudgeon
Posts: 74,017
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I have figured it out and it took me forever. I was dealing with the same issue tonight and I just kind of stubled on it and from what I've found, you'd never have figured it out.
Get a copy of Notepad++. This is needed to fix things. Now, plug in your 950 to your computer. Load every CSS from your 950 into Notepad++ and for each tab go to the encoding menu and select Encode in UTF-8 without BOM. Then save them all and try your eBooks again. If that does not work for all but it does for some, then it could be the CSS inside the ePub that needs an encoding change. The CSS I was working with looked fine. It's just the encoding that wasn't fine and ADE didn't like it. Last edited by JSWolf; 06-07-2011 at 11:10 PM. |
Advert | |
|
06-08-2011, 12:50 AM | #33 |
Groupie
Posts: 182
Karma: 203167
Join Date: Apr 2011
Device: Sony Reader Prs 950, iPad
|
Ok, this is really weird. I downloaded the noembedded Agatha Christie epub and the Mark Twain epub. For the Mark Twain epub, the font change to Charis took place. (I'm using Charis and Charis css too). But in the Agatha Christie book, the font was the original Sony default font. No font change took place. Can anyone tell me how to get the font change to take place with the Agatha Christie epub?
@anamardoll, to make things easy to trace, reset the style. Delete the file style.css in the directory READER/database/systems/PRSPlus/epub. Then do what JSWolf suggests regarding re-saving all the CSS files using Notepad++. After that, unplug the Reader and turn off the reader and turn it back on. This should make all the epubs use the default Sony font. Turn on the reader and open the Agatha Christie and Mark Twain epubs to make sure that's the case. Then select the Charis css in the PRS+ menu and open a THIRD book (any one) and then open the Mark Twain epub. Are you still getting bold Charis for the Mark Twain epub? Last edited by sonyreaderfan; 06-08-2011 at 06:59 AM. |
06-08-2011, 06:11 AM | #34 | |
Groupie
Posts: 182
Karma: 203167
Join Date: Apr 2011
Device: Sony Reader Prs 950, iPad
|
Quote:
What would really help is pictures with fonts on XL setting. The easiest way to tell the difference between two fonts is the y's. Looking that the y in the picture, the 'tail' looks too thin to be Charis. |
|
06-08-2011, 06:53 AM | #35 | |
Groupie
Posts: 182
Karma: 203167
Join Date: Apr 2011
Device: Sony Reader Prs 950, iPad
|
Quote:
When I looked at the non-embed Agatha Christie file, I'm getting default Sony Reader font. Last edited by sonyreaderfan; 06-08-2011 at 06:55 AM. |
|
Advert | |
|
06-08-2011, 07:36 AM | #36 | |
Chasing Butterflies
Posts: 3,132
Karma: 5074169
Join Date: Mar 2011
Location: American Southwest
Device: Uses batteries.
|
Quote:
You are a genius! You're right, I wouldn't have thought to mess with the encoding -- and funny enough, even though I copied all my CSS files off of each other, some of them had UTF-8 encoding and some had ANSI encoding. I wonder how that happened.... Thank you, thank you, THANK YOU SO VERY MUCH. Thank you!!!!!! |
|
06-08-2011, 09:19 AM | #37 | |
Resident Curmudgeon
Posts: 74,017
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
06-08-2011, 09:26 AM | #38 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
Still, if your solution works for anamardoll, all well and good |
|
06-08-2011, 10:02 AM | #39 | |
Resident Curmudgeon
Posts: 74,017
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
06-08-2011, 10:31 AM | #40 | |
Chasing Butterflies
Posts: 3,132
Karma: 5074169
Join Date: Mar 2011
Location: American Southwest
Device: Uses batteries.
|
Quote:
When I went through Notepad++, I noticed that the ONE css of mine that had ANSI encoding worked fine -- that was Fontina in this case. Since EVERYTHING ELSE I had was broken and bolded, I thought that the Fontina one was a fluke of the font style. (Like, maybe the bold Fontina was identical to the regular Fontina.) So it's probable, based on these data points, that ANSI encoding works and UTF-8 without BOM works, but UTF-8 be itself does not. Thank you ALL for all your help in this. |
|
06-08-2011, 05:49 PM | #41 | |
Resident Curmudgeon
Posts: 74,017
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
06-08-2011, 05:55 PM | #42 | |
Chasing Butterflies
Posts: 3,132
Karma: 5074169
Join Date: Mar 2011
Location: American Southwest
Device: Uses batteries.
|
Quote:
I'm sure I don't have any programs that would have told me the encoding of the CSS files, seeing as how I was writing them in MS Notepad. |
|
06-08-2011, 07:26 PM | #43 |
Resident Curmudgeon
Posts: 74,017
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I've long dropped Notepad as it doesn't do much and it's a lousy ePub editor. Notepad++ is so much nicer. And I can do search/replace on all the loaded tabs. So that makes cleaning messy code that much easier. Without Notepad++, I'd never have found the encoding problem that was causing the fonts to be wonky.
|
06-10-2011, 11:24 AM | #44 |
Resident Curmudgeon
Posts: 74,017
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I figured out part of the problem. And now that I know the problem, I can easily fix it.
Part of the problem is that the tools used to strip the DRM from ePub outputs the CSS in UTF-8 and that's the problem. The original CSS (in the book I had the problem with) is in ANSI yet after the DRM is removed, it's written out as UTF-8. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Choosing the right font for PRS-300 | sabredog | Calibre | 1 | 08-03-2010 07:03 AM |
Font on PRS-600? | dorino | Sony Reader | 1 | 06-18-2010 12:45 PM |
PRS-500 and font scaling | dorkydood | Sony Reader | 1 | 04-10-2010 08:39 PM |
PRS-600 Font size help | snaver | ePub | 3 | 01-26-2010 06:19 PM |
How do I change the font in a Prs-300 | yoyos_vstar | Sony Reader | 13 | 01-01-2010 05:44 PM |