Mobileread
ePub custom Fonts on all Sonys
#11  Xenophon 02-03-2009, 10:55 PM


llasram's post gave me all the information I needed. It's really nice reading books in Adobe Garamond Pro, complete with real italics instead of the Sony Reader's crappy synthesized italics.

And, indeed, the CSS telling AdobeDE to actually use the fonts was exactly the part I was missing.


Xenophon
Reply 

#12  Beth loves books 02-14-2009, 10:59 PM
Does this only work for PDF's or does it also work to change fonts in sony content?
Reply 

#13  Xenophon 02-15-2009, 01:25 PM
I don't think it works for PDFs, and it certainly does not work for LRF or LRX files. But it works wonderfully well for EPUB files. Note that you have to be able to either edit the EPUB or create it yourself. I create mine using Calibre, starting from Microsoft Reader (.lit) files.

Xenophon
Reply 

#14  Beth loves books 02-16-2009, 05:26 AM
Thanks, I'm learning more about calibre every day and will give that a try for EPUB files.

What a bummer though about the LRF/LRX files. I figured as much.
Reply 

#15  deadringer 02-26-2009, 06:25 PM
It would be nice if someone wrote a windows program to change fonts for us dummies!!!
hint....hint. Since I'm totally lost about what your talking about.

John
Reply 

#16  zelda_pinwheel 03-07-2009, 11:14 AM
this method works on the 505 as well (tested by JSWolf) so i'm moving it to the epub forum where it seems more appropriate.
Reply 

#17  deadringer 03-10-2009, 05:56 PM
I can't seem to make this work. My epub files , which I make from .lit files using Calibre, never change fonts. I put the font files in a fonts dir which I made in the Sony Reader directory. Also in there are directories called sync,database,books etc. Is this the correct place?

Thanks

John
Reply 

#18  zelda_pinwheel 03-11-2009, 01:21 PM
since i've had a few questions about this procedure i decided to add some screen caps to make the process clearer to people who are less experienced. detailed instructions (including all the css code needed) are in post 9 of this thread (thanks llasram !!).

(click three times in a row on the image to see it at full size)
1. connect the 505 / 700, and open the folder
show attachment »

2. create a new folder called "fonts"
show attachment »

3. put the font files inside this folder
show attachment »

4. add the css rules indicating where the fonts are, and to use them
show attachment »

5. (very important) output in epub format.

TUTORIAL

Quote zelda_pinwheel
here is a step-by-step guide :
1. install calibre.
2. choose the font you want to use for your files. i use "Fontin" family (it has a regular, a bold, an italic, and a small-caps version).
3. create a new folder at the top level of your 700 called "fonts" (case is important : it can be called "Fonts", but you'll have to name it that way everywhere you refer to it).
4. put your chosen font files into that folder (there should be more than one, since usually there will be regular, italic, bold, and maybe some others. also, some font families come with serif and sans serif versions).
5. launch calibre, click on the little arrow next to "convert ebooks", then "set defaults for conversion".
6. on the left side of the dialogue box, click on "look & feel".
7. in the "override css" box in the bottom right quarter of the dialogue box, paste the script from the other thread, making sure to follow the renaming instructions. since i'm using Fontin, the script for me looks like this :
Code
@font-face { font-family: "Fontin"; font-weight: normal; font-style: normal; src: url(res:///Data/fonts/Fontin-Regular.ttf);
}
@font-face { font-family: "Fontin"; font-weight: bold; font-style: normal; src: url(res:///Data/fonts/Fontin-Bold.ttf);
}
@font-face { font-family: "Fontin"; font-weight: normal; font-style: italic; src: url(res:///Data/fonts/Fontin-Italic.ttf);
}
body { font-family: "Fontin", serif;
}
notice i named the "font-family" Fontin for clarity, and in the "source" line (src) i specified the exact name of each file, inside the "fonts" folder i created on my 700.

click ok to save these defaults.

all books you convert with calibre should now use the font of your choice.

HOW TO CREATE THE FONTS FOLDER :
connect your 700 to your computer using the usb cable. wait for it to be recognized. if you are using a pc, you should get a prompt asking you what you want windows to do with this new disk ; ask to view it in explorer (or something like that ; i'm translating from french, from memory here. but in windows XP, the icon for the choice you want is an open folder). you'll see a new file explorer window, with some folders already in it. i believe you should have "database" "digital editions" etc. on the side of that window, you'll have options, including "create new folder". click on that, and rename the folder "fonts".
Reply 

#19  zelda_pinwheel 03-11-2009, 01:30 PM
Quote deadringer
I can't seem to make this work. My epub files , which I make from .lit files using Calibre, never change fonts. I put the font files in a fonts dir which I made in the Sony Reader directory. Also in there are directories called sync,database,books etc. Is this the correct place?

Thanks

John
i thought it was working for you ? are you having trouble again ?
Reply 

#20  deadringer 03-12-2009, 12:49 AM
Hello Zelda

I couldn't get Fontin to work but I did just get georgia.ttf to work. I must have a typing error in the css or something. Thanks for all the help!

John
Reply 

 « First  « Prev Next »  Last »  (2/30)
Today's Posts | Search this Thread | Login | Register