![]() |
#31 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 96
Karma: 20572
Join Date: Sep 2010
Device: None
|
Do some fonts simply not work with the reader? I've been trying several, and for a couple, the reader seems to just revert to the default. Maybe it was a typo, but I checked things carefully.
|
![]() |
![]() |
![]() |
#32 |
350 Hoarder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,574
Karma: 8281267
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
|
The font names in your customized css info must be identical to the font filenames exactly. If there's any spaces in the font name, you must have quotes around the path. There was actually a font I used that wouldn't work without quotes at all, even though there were no spaces in the file name, so try it regardless.
If all that is correct and the font still isn't changing, some epubs have a specified font called for in their css file. Those will not change the font from a reader css file. If you use Calibre, the way I check those epubs and change if necessary is to right click the book in question, select "Tweak ePub", then "Explode ePub". Open up the stylesheet.css file and see if there's a specific font family called for anywhere in the file. If there is, delete those referenced lines, save the file, rebuild the epub and upload it again to your reader and try it. |
![]() |
![]() |
Advert | |
|
![]() |
#33 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 96
Karma: 20572
Join Date: Sep 2010
Device: None
|
Thanks, Ripplinger. I don't have any typos, and there are no spaces in the filenames. I tried quotes anyway, as you suggested, but they didn't do anything. I may have put them in the wrong place, though. I changed
src: url(res:///Data/epub/FONT/path/FONT-REGULAR.OTF); to src: "url(res:///Data/epub/FONT/path/FONT-REGULAR.OTF)"; Most fonts worked, but a couple didn't (Arno and Palatino). I used the same ePub to test out the fonts. Maybe the ones that seemed not to work are so similar to the default font that I can't tell that they're active, although I checked carefully. |
![]() |
![]() |
![]() |
#34 |
350 Hoarder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,574
Karma: 8281267
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
|
Make sure the caps are also exactly the same. A font file named Font-Regular.otf will not work if the path name is FONT-REGULAR.OTF.
Are you switching books to force the font to load? Opening the same book with a changed css file won't show any change. How are you changing the fonts, through PRS+ Settings, under Book Viewer Settings and then User EPUB Style (CSS File)? Or trying to change an individual epub by converting with custom css info? For PRS+ custom files, my path for the css files is \database\system\PRSPlus\epub. The path for the font files is \fonts. A typical css file is below that changes the font only, no special spacing or anything else. Can you upload the 2 fonts somewhere that don't seem to work and one of us can try to see if they work for them to help pinpoint the issue? Code:
@font-face { font-family: "LexiaDaMa"; font-weight: normal; font-style: normal; src: url(res:///Data/fonts/LexiaDaMa.otf); } @font-face { font-family: "LexiaDaMa"; font-weight: bold; font-style: normal; src: url(res:///Data/fonts/LexiaDaMa-Bold.otf); } @font-face { font-family: "LexiaDaMa"; font-weight: normal; font-style: italic; src: url(res:///Data/fonts/LexiaDaMa-Italic.otf); } @font-face { font-family: "LexiaDaMa"; font-weight: bold; font-style: italic; src: url(res:///Data/fonts/LexiaDaMa-BoldItalic.otf); } body { font-family: "LexiaDaMa"; } Last edited by Ripplinger; 05-29-2011 at 11:04 AM. |
![]() |
![]() |
![]() |
#35 | ||
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 96
Karma: 20572
Join Date: Sep 2010
Device: None
|
Quote:
My understanding is PRS+ works similarly, except it may use a different name and location for the stylesheet. Does PRS+ allow you to switch the stylesheet in use on the fly? That would allow you to switch fonts, font sizes, and other formatting without ever connecting to a computer, if you had several premade stylesheets on your device. I'm pretty sure the procedure I'm using to test the fonts is right (since most of the fonts I tried clearly worked), and I've been careful about capitalization. I probably won't use these fonts anyway, but I've sent you a PM with a link to the fonts in case you want to try them. More on topic, I kind of like the Officina serif font. It's almost cartoonish, so I wouldn't want to use it all the time, but it's pretty legible. Edited to add: Quote:
html { font-family: -ua-default !important; } I guess if you were using this, you'd change -ua-default to LexiaDaMa. Last edited by barium; 05-29-2011 at 04:43 PM. |
||
![]() |
![]() |
Advert | |
|
![]() |
#36 |
350 Hoarder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,574
Karma: 8281267
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
|
I've used Boroda's CFW in the past when PRS+ required it, but now PRS+ stands on its own and is self-installing and is really very nice. You can have as many custom stylesheets as you want for various fonts and can change them on the fly from Settings > PRS+ Settings > Book Viewer Settings > User EPUB Style (CSS Files), and then you have your list of files you've installed (I've included a screenshot of my list as an example, being able to take screenshots like this are part of PRS+). Simply select which one you want to use from the list. You just have to swap books by opening a different one, then go back to the one you had before to force the font change.
And both Arno and Palatino worked for me. I only used 4 from each font pack for normal and bold in regular and italic, and have screenshots of each plus default in small font. The font style differences are much more noticeable in medium font size though. The fonts I used were ARNOPRO-REGULAR.OTF, ARNOPRO-BOLD.OTF, ARNOPRO-ITALIC.OTF, ARNOPRO-BOLDITALIC.OTF, and PALATINOLTSTD-MEDIUM.OTF, PALATINOLTSTD-BOLD.OTF, PALATINOLTSTD-MEDIUMITALIC.OTF, PALATINOLTSTD-BOLDITALIC.OTF. I didn't rename them at all and they worked fine. And I'll have to try adding !important to the css files and see if that really will overwrite those epubs that specify their own font. I always find those most annoying since I prefer LexiaDaMa still (including a sample of that font too just for comparison). Edit: Btw, my reader viewing settings are at 127/-125, I didn't think to change that back to default before taking the screenshots, so they probably look more saturated than you're used to. Last edited by Ripplinger; 05-29-2011 at 06:05 PM. |
![]() |
![]() |
![]() |
#37 | ||
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 96
Karma: 20572
Join Date: Sep 2010
Device: None
|
Quote:
Quote:
BTW, the fonts in the Arno and default screenshots you posted look identical to me, but Palatino is clearly different. Edit: I uploaded the wrong css file originally. The corrected one replaces embedded fonts for my ebooks. Last edited by barium; 05-29-2011 at 09:25 PM. |
||
![]() |
![]() |
![]() |
#38 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,157
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
There is a difference in the Arno and default fonts. The default do not have true bold or true italics and while the bold is easy enough to simulate, the italic is not and doesn't look all that good. So Arno will have a proper italics.
|
![]() |
![]() |
![]() |
#39 |
350 Hoarder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,574
Karma: 8281267
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
|
You're right about Arno and Default after examining them closer and not between other fonts. I did more checking with the Sony default against Arno using the Windows font viewer for Arno, and while they do look pretty similar, there are certain letters, like the "j" that are distinctively different and it looks like the Arno font isn't loading for some reason. I tried renaming the files, using files from my Windows directory that I know work in applications on my PC, and couldn't get Arno to load on the reader for some reason. Really odd, never ran into that before.
I'll give your css a try and see if it'll overwrite the epubs with embedded fonts, thanks. And glad you gave PRS+ a try and like it, I thought you'd like the ability to swap fonts so easily. Edit: I was able to override all embedded fonts (all that I've tested it on at least so far) by adding just the following to my .css files. I haven't needed all the spacing entries so far, but saved your complete file in case I ever run into instances where it is needed. Thanks for the info about using !important. Code:
html { font-family: LexiaDaMa !important; } .mainBody { font-family: LexiaDaMa !important; } .calibre { font-family: LexiaDaMa !important; } Last edited by Ripplinger; 05-30-2011 at 02:01 PM. |
![]() |
![]() |
![]() |
#40 |
My Kingdom for Karma
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 430
Karma: 7125
Join Date: Jul 2009
Location: Las Vegas
Device: Sony 350, 650, 950, Nook Color
|
Does PRS+ work with the 900? I see versions listed for the 600, 650 and 950, but no 900. I'm so happy with the results on my 950, I want to apply it to my daughter's 900.
|
![]() |
![]() |
![]() |
#41 |
Gadgetic Young Man
![]() ![]() ![]() ![]() Posts: 58
Karma: 300
Join Date: Nov 2010
Location: Toronto, Ontario, Canada
Device: BlackBerry Z30, Sony PRS-650, Samsung Galaxy Note 10.1
|
Just finished testing 11 different fonts on my PRS-650 to find the one that works well with my eyes. The fonts in question are Charis SIL, Droid, Fontin (OpenType), Fontin (TrueType), Gentium Basic, Gentium Book Basic, Gentium Plus, Liberation, Libertine (OpenType), Libertine (TrueType) and NimbusMod (by delphin). The first image is of the default font and all of the screenshots were taken with the brightness and contrast set to -60 and 60 respectively.
Better yet, just check out the album here: https://www.mobileread.com/forums/album.php?albumid=675 I found that Droid, Gentium Plus, Lexia DaMa and NimbusMod worked very well for me when compared to the default font. Edit: And I just failed at posting pictures from my album. ![]() Last edited by Soul_Est; 06-21-2011 at 06:46 PM. |
![]() |
![]() |
![]() |
#42 | |
The Introvert
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,307
Karma: 1000077497
Join Date: Jan 2007
Location: United Kingdom
Device: Sony Reader PRS-650 & 505 & 500
|
Quote:
|
|
![]() |
![]() |
![]() |
#43 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 303
Karma: 1033852
Join Date: Jun 2011
Device: Sony PRS-350,Sony PRS-950,Pocketbook 360+,B&N Nook Simple Touch Reader
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Solved - setting font size for optimum reading | PodPeople | Ectaco jetBook | 3 | 05-05-2011 03:01 PM |
Which Readers have Night Reading Font | nhnonna | General Discussions | 17 | 02-27-2011 02:45 PM |
Good font for reading | jesjimher | HanLin eBook | 12 | 08-02-2010 10:57 AM |
Can I Change Text File Reading Font? | ibishop | Sony Reader Dev Corner | 1 | 08-15-2008 04:19 PM |
PRS-500 Can I Change Text File Reading Font? | ibishop | Sony Reader Dev Corner | 1 | 08-15-2008 02:41 PM |