11-04-2010, 09:42 AM | #61 |
Enthusiast
Posts: 31
Karma: 20
Join Date: Oct 2010
Location: London, UK
Device: Sony PRS-650
|
Hey - some success! I've been able to get Droid working following Sherman's kind advice. Hooray!
Now I'd like to see if it's possible to a) try this with other fonts + see if it's possible to shift the base font size to something a little bigger so that I can use the Sony SMALL option as the default (rather than Medium) at the moment, with Droid, Medium's a bit big and Small's a bit small... For the reference of others I give below the full userStyle.css that I'm now using. I'm thinking that there must be a command that I could put in the final "body" command alongside the line-height: 1.2em but I've got no idea about the command language. In terms of a reference to start building my own ability to do this, will guides for Dreamweaver CSS codes help? Thanks again to the community - I appreciate the effort that's gone into all this ========= @font-face { font-family: DroidSerif; font-weight: normal; font-style: normal; src: url(res:///Data/epub/FONT/droid/DroidSerif-Regular.ttf); } @font-face { font-family: DroidSerif; font-weight: bold; font-style: normal; src: url(res:///Data/epub/FONT/droid/DroidSerif-Bold.ttf); } @font-face { font-family: DroidSerif; font-weight: normal; font-style: italic; src: url(res:///Data/epub/FONT/droid/DroidSerif-Italic.ttf); } @font-face { font-family: DroidSerif; font-weight: bold; font-style: italic; src: url(res:///Data/epub/FONT/droid/DroidSerif-BoldItalic.ttf); } @font-face { font-family: "sans-serif1"; src:url(res:///opt/sony/ebook/FONT/tt0003m_.ttf); } h1 { font-family: sans-serif1, sans-serif; } body { font-family: DroidSerif; line-height: 1.2em } |
11-04-2010, 11:31 AM | #62 | |
2B || !2B
Posts: 851
Karma: 194010
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
Quote:
But I suggest you have a look on pages 88ff of the PRS650.PDF manual, how to set Date and Time, even with a not russified firmware. Spoiler:
For the hacks just go to the about screen and use the buttons, the options should just toggle thru. Last edited by Mark Nord; 11-04-2010 at 11:57 AM. Reason: Added Picture |
|
Advert | |
|
11-04-2010, 01:24 PM | #63 |
Enthusiast
Posts: 31
Karma: 20
Join Date: Oct 2010
Location: London, UK
Device: Sony PRS-650
|
And you'd be completely justified
It's all down to expectations I think - when I tapped on the setting buttons all I noticed was the screen flashing as I wasn't expecting the settings themselves to toggle through. Thanks for the heads up! Still working out the font side of things - Trying to see how to improve word spacing with Droid Serif at the moment - really ugly as I've currently got it, so I've gone back to the Sony font . I'll keep on hunting through the manual / FAQs etc - but hope it's ok to come back and ask questions too - maybe my newbie Odyssey will be helpful for others who are only just starting to climb this particular learning curve. Best Chris |
11-04-2010, 04:07 PM | #64 |
Enthusiast
Posts: 31
Karma: 20
Join Date: Oct 2010
Location: London, UK
Device: Sony PRS-650
|
Success! Now using Adobe Garamond Pro successfully.
The final userStyle.css that I'm working with is given below. With an M setting in the PRS-650 this gives me a page that I feel really comfortable with (though I liked Calibri too). As I've saved the alternative versions of the userStyle.css with meaningful names it will be OK to adjust these for a change. THANKS ladies and gentlemen! Chris @font-face { font-family: adobegaramondpro; font-weight: normal; font-style: normal; src: url(res:///Data/epub/FONT/adobegaramondpro/AGaramondPro-Regular.otf); } @font-face { font-family: adobegaramondpro; font-weight: bold; font-style: normal; src: url(res:///Data/epub/FONT/adobegaramondpro/AGaramondPro-Bold.otf); } @font-face { font-family: adobegaramondpro; font-weight: normal; font-style: italic; src: url(res:///Data/epub/FONT/adobegaramondpro/AGaramondPro-Italic.otf); } @font-face { font-family: adobegaramondpro; font-weight: bold; font-style: italic; src: url(res:///Data/epub/FONT/adobegaramondpro/AGaramondPro-BoldItalic.otf); } @font-face { font-family: "sans-serif1"; src:url(res:///opt/sony/ebook/FONT/tt0003m_.ttf); } h1 { font-family: sans-serif1, sans-serif; } body { font-family: adobegaramondpro; line-height: 1.2em } |
11-04-2010, 04:43 PM | #65 |
Wizard
Posts: 1,717
Karma: 3790058
Join Date: Oct 2010
Location: NYC
Device: Kindle Paperwhite, Sony 650
|
I have been following this thread (very interested but too chicken to do it myself) and I was *just* going to suggest a font actually used in professional publishing, such as Minion, Palatino, or Garamond! I'd love to see a screen shot of a page with Garamond in place.
Once you have done the "flash" you don't have to do it again? It always refers to the latest version of userstyle.css? Or do you have to flash the firmware every time you change fonts? |
Advert | |
|
11-04-2010, 04:58 PM | #66 |
Guru
Posts: 856
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
Hmm, my mistake, I used serif1 as the name, not DroidSerif, although it shouldn't have made amy difference.
But anyway, here's my stylesheet: Code:
@font-face { font-family: serif1; font-weight: normal; font-style: normal; src: url(res:///Data/epub/FONT/droid/DroidSerif-Regular.ttf); } @font-face { font-family: serif1; font-weight: bold; font-style: normal; src: url(res:///Data/epub/FONT/droid/DroidSerif-Bold.ttf); } @font-face { font-family: serif1; font-weight: normal; font-style: italic; src: url(res:///Data/epub/FONT/droid/DroidSerif-Italic.ttf); } @font-face { font-family: serif1; font-weight: bold; font-style: italic; src: url(res:///Data/epub/FONT/droid/DroidSerif-BoldItalic.ttf); } @font-face { font-family: "sans-serif1"; src:url(res:///opt/sony/ebook/FONT/tt0003m_.ttf); } body { font-family: serif1; line-height: 1.2em; } h1 { font-family: sans-serif1, sans-serif; } |
11-04-2010, 08:39 PM | #67 |
Addict
Posts: 230
Karma: 1500000
Join Date: May 2007
Location: San Vito de Coto Brus, Costa Rica
Device: Sony PRS-500, 505, 600, 350, T1 Amazon Kindle PW1, PW2, Voyage
|
My userstyle.css is as follows:
@font-face { font-family: -ua-default; font-weight: normal; font-style: normal; src: url(res:///Data/epub/FONT/cambria/cambria.ttf); } @font-face { font-family: -ua-default; font-weight: bold; font-style: normal; src: url(res:///Data/epub/FONT/cambria/cambriab.ttf); } @font-face { font-family: -ua-default; font-weight: normal; font-style: italic; src: url(res:///Data/epub/FONT/cambria/cambriai.ttf); } @font-face { font-family: -ua-default; font-weight: bold; font-style: italic; src: url(res:///Data/epub/FONT/cambria/cambriaz.ttf); } @font-face { font-family: "sans-serif1"; src:url(res:///opt/sony/ebook/FONT/tt0003m_.ttf); } h1 { font-family: sans-serif1, sans-serif; } It works perfectly. If there are any mistakes in the file, the reader will use the default font. |
11-04-2010, 09:23 PM | #68 |
Guru
Posts: 856
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
@chris_tribble
I used line-height: 1.2em because Droid is a very tall font, and that gives a bit of separation between lines. You can use any value you like (and it doesn't even have to be in em -- % is another good metric to use here). A line-height of 1em would be "single spacing", and is the default. A line-height of 2em would be "double spacing" (or close to it) etc. To add extra spacing between characters, you may like to add letter-spacing: <value>, where value can be given in em, points (pt), pixels (px) etc. Feel free to experiment... |
11-04-2010, 09:53 PM | #69 |
Zealot
Posts: 119
Karma: 46
Join Date: Jan 2010
Device: Kindle PW
|
guys have you tried changing default font size in Calibre?
Thats supposed to be the easier way.. when converting books, go to 'Look and Feel' tab and change the size there. CSS can be tweaked with as well on this page. I am still playing with it, some books i managed to change the font on, some not. |
11-05-2010, 04:30 AM | #70 | ||
Enthusiast
Posts: 31
Karma: 20
Join Date: Oct 2010
Location: London, UK
Device: Sony PRS-650
|
Quote:
Quote:
1/ Attach the Reader to your computer with the USB cable - wait until it becames available as a device on your computer (I'm working with a Windows 7 64 bit PC) 2/ Rename the current userStyle.css to something that makes sense (as below) 3/ Edit the userStyle.css file with the new font names as per the instructions above and save as userStyle.css (I use NotePad for this) When you disconnect the Reader from the computer, the reader re-starts and imposes the new font on all books you open. Once you've got the syntax of the .css file right it seems to be very straightforward. As I'm learning which font works best for me I'm saving each new version of the userStyle.css with a new name. I currently have the following list of possible fonts: userStyle.css (the version currently in use) userStyle.css.orig (the original .css file from the Russification flash Alternative userStyle files. userStyle.css.droid userStyle.css.calibri userStyle.css.adobegaramondpro userStyle.css.palatino Hope this helps. C: Last edited by chris_tribble; 11-05-2010 at 04:56 AM. |
||
11-05-2010, 05:42 AM | #71 | |
Member
Posts: 16
Karma: 172
Join Date: Oct 2010
Device: prs-650
|
Quote:
body { font-family: DroidSerif; line-height: 1.2em; font-size: 125%; } or whatever percentage you want to increase your base size by... or I believe that you can do this directly in pts, like 12pt (play around with it til you get the size you want). This will increase your Medium size by the same amount though, I dont think there is a way to specify a specific size for the xs, s, m, l, xl, and xxl. |
|
11-05-2010, 06:11 AM | #72 |
Enthusiast
Posts: 31
Karma: 20
Join Date: Oct 2010
Location: London, UK
Device: Sony PRS-650
|
Koadic - brilliant - this works a treat. I've now added the last line (remembering to finish with the semi-colon!) and it now means that any book opens with a font that I find comfortably sized. Screen shots at S size setting for Calibri and AdobeGaramondPro given below. I'm sticking with the serifed font for the moment - but I also like the look of the Calibri...
Many many thanks to the kind people in the community who've provided these resources and who have helped my get the PRS-650 working like I want it to. Chris |
11-05-2010, 10:56 AM | #73 |
Zennist
Posts: 1,022
Karma: 47809468
Join Date: Jul 2010
Device: iPod Touch, Sony PRS-350, Nook HD+ & HD
|
Ahh, so this is where the geniuses hang out!
Seriously, I never noticed this sub-forum till Chris linked to it on a thread on the parent forum. So thank you Chris. And thanks to porkupan for his work on the new firmware. Chris, I also want to increase the size of the font when a book first opens. Where exactly did you put the new font size instructions? In the userstyle.css where you specified the new font? Also, thanks for the suggestion of using Garamond Pro. I am trying that out now with my old standby, Georgia. Can someone let me know how I take a screenshot with the new firmware. Figured out almost everything but that. |
11-05-2010, 11:22 AM | #74 |
Enthusiast
Posts: 31
Karma: 20
Join Date: Oct 2010
Location: London, UK
Device: Sony PRS-650
|
Pat - the others are the geniuses!
My current userStyle.css is given below. The font size command is right down the bottom. re screen shots - I've been doing this with a digital camera. Save the images from the camera as a JPEG and resize to no bigger than 800x800 pixels. To include in the posting, start a reply, then click on "go advanced". Once you're there, scroll down and you'll see a "manage attachments" button. Click on this, browse for your image, select, and then click on upload. Hope this helps. Best C: ============= @font-face { font-family: adobegaramondpro; font-weight: normal; font-style: normal; src: url(res:///Data/epub/FONT/adobegaramondpro/AGaramondPro-Regular.otf); } @font-face { font-family: adobegaramondpro; font-weight: bold; font-style: normal; src: url(res:///Data/epub/FONT/adobegaramondpro/AGaramondPro-Bold.otf); } @font-face { font-family: adobegaramondpro; font-weight: normal; font-style: italic; src: url(res:///Data/epub/FONT/adobegaramondpro/AGaramondPro-Italic.otf); } @font-face { font-family: adobegaramondpro; font-weight: bold; font-style: italic; src: url(res:///Data/epub/FONT/adobegaramondpro/AGaramondPro-BoldItalic.otf); } @font-face { font-family: "sans-serif1"; src:url(res:///opt/sony/ebook/FONT/tt0003m_.ttf); } h1 { font-family: sans-serif1, sans-serif; } body { font-family: adobegaramondpro; line-height: 1.2em; font-size: 125%; } |
11-05-2010, 12:08 PM | #75 |
Zennist
Posts: 1,022
Karma: 47809468
Join Date: Jul 2010
Device: iPod Touch, Sony PRS-350, Nook HD+ & HD
|
Chris, thanks for the clarification regarding the font size and where to put it.
As for the screenshots, I know how to take those with a camera and embed images in forum posts already. I was talking about the ability to take screenshots internally, in the reader. It's an added feature with the new Boroda firmware. But how to use it??? |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Possibility of re-flashing stock firmware for Hanvon N516 | wonghyf | OpenInkpot | 22 | 05-14-2010 07:37 AM |
Clock without flashing? | just_jeepin | Sony Reader Dev Corner | 5 | 11-23-2009 09:38 AM |
Safest way to get unicode font work without flashing firmware | DairyKnight | Kindle Developer's Corner | 2 | 09-12-2009 05:05 AM |
Flashing Sony's official GERMAN Firmware on PRS-505? | Applied_Micro | Sony Reader Dev Corner | 3 | 03-17-2009 04:23 AM |
PRS-500 Flashing the Reader via SD/MS | scotty1024 | Sony Reader Dev Corner | 29 | 04-09-2007 07:31 AM |