![]() |
#1 |
Bookworm
![]() Posts: 104
Karma: 26
Join Date: Sep 2009
Location: Central Georgia, USA
Device: PRS-600, Nook STR
|
Georgia fonts on PRS-600
I need help. My reader displays all my converted ePub books in what looks like Times New Roman. I’d like them to be in Georgia font.
I’m starting with a RTF source file which is set to and displays in Georgia, in MS Word. I save the file as HTM, filtered. Add it to Calibre, where it shows as a ZIP file, and then do the RTF to EPUB conversion So far I’ve tried to apply bits and pieces of guidance from the Calibre user manual and various MR posts about changing fonts with no success. Here’s what I’ve done so far: Created a folder (fonts) in the root of my PRS-600 directory. In my case it is M:\fonts. Copied the Georgia ttf font files to said folder. Added some script to the Preferences/Conversions/Look & Feel/Extra CSS pane, see below. Performed the conversion (ZIP to EPUB) I had expected the CSS addins to force the reader to display the books in Georgia font. I have SIGIL, and can see the CSS code I added, but all I get is Times New Roman. I’m fairly sure my lack of knowledge of HTML is a big part of the problem. What am I missing and/or doing wrong. BTW. The Calibre viewer shows the fonts as intended, but the reader does not. Extra CSS code: @font-face { font-family: "Georgia"; font-weight: normal; font-style: normal; src: url(res:///Data/fonts/georgia.ttf); } @font-face { font-family: "Georgia"; font-weight: bold; font-style: normal; src: url(res:///Data/fonts/georgiab.ttf); } @font-face { font-family: "Georgia"; font-weight: normal; font-style: italic; src: url(res:///Data/fonts/georgiai.ttf); } @font-face { font-family: "Georgia"; font-weight: bold; font-style: italic; src: url(res:///Data/fonts/georgiaz.ttf); } body { font-family: "Georgia", serif; } |
![]() |
![]() |
![]() |
#2 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 469
Karma: 600816
Join Date: Sep 2009
Device: Kobo Aura HD, Kobo Aura One
|
Check to see if the HTML generated by Word gives a more explicit font-family specification to individual tags like p, h*, etc. If so these will take precedence over the body specification.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,249
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Here's something to try (no guarantees)
In Extra CSS, change all the instances of Code:
@font-face {font-family: "Georgia"; ...
Code:
@font-face {font-family: serif; ...
Code:
body {font-family: "Georgia", serif; }
Code:
body {font-family: serif;}
|
![]() |
![]() |
![]() |
#4 |
Bookworm
![]() Posts: 104
Karma: 26
Join Date: Sep 2009
Location: Central Georgia, USA
Device: PRS-600, Nook STR
|
Thanks for the suggestions. I’ve tried both recommendations but so far nothing has changed the displayed font on my reader. I’ve decided that the problem must lie with the way PRS-600 renders the fonts in an ePub file, not with the content or format of the file.
I’ve been using a three line “Quick brown fox..,” test file with Times New Roman, Georgia, and Arial fonts. The Arial isn’t important to me – just threw it in for variety. I’ve changed the fonts at three stages of the production: RTF, HTM, and EPUB. In each test, the Calibre ePub viewer showed the correct font, but the PRS-600 showed all three lines in what appears to me to be Times New Roman. However, when I transfer the unconverted file in RTF format straight to the reader, it shows the Arial line correctly, and the other two as Times New Roman. (Calibre still shows all three lines correctly in the RTF version.) It looks like the reader might be displaying any serif font as Times New Roman, and sans serif fonts as Arial. Further testing of ePub files would be necessary to prove this is true in all cases. I don’t think the problem is with the ePub file. I just haven’t been able to get the reader to display a serif font as other than Times New Roman. Any other ideas on how to get around this? I’ve seen posts about putting other fonts on the 300, but, if I’m doing it right, it doesn’t work for my 600. Since this doesn’t seem to be a Calibre related problem, I’ll post it in the Sony Reader forum. |
![]() |
![]() |
![]() |
#5 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
Quote:
1. Convert your text into well formed HTML 2. Place Liberation Serif fonts into same folder where HTML resides 3. Add this to the HTML after the title tag : Code:
<style type="text/css"> @font-face { font-family: "Liberation Serif"; font-style: normal; font-weight: normal; src: url(LiberationSerif-Regular.ttf) } @font-face { font-family: "Liberation Serif"; font-style: normal; font-weight: bold; src: url(LiberationSerif-Bold.ttf) } @font-face { font-family: "Liberation Serif"; font-style: italic; font-weight: normal; src: url(LiberationSerif-Italic.ttf) } @font-face { font-family: "Liberation Serif"; font-style: italic; font-weight: bold; src: url(LiberationSerif-BoldItalic.ttf) } body {font-family: "Liberation Serif",serif} </style> 5. Convert to EPUB and you will end up with e-book with embedded fonts. Here is an example of e-book I generated using this procedure - Alice in wonderland |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Member
![]() Posts: 17
Karma: 10
Join Date: Dec 2010
Device: Kindle 3
|
Quote:
I tried converting ePub book to MOBI format in order to let my kindle support it, but since it was an Arabic book kindle showed squares and question marks instead of regular letters. |
|
![]() |
![]() |
![]() |
#7 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
No. Kindle does not support font embedding in mobi or azw format. You can only do that with PDF but than you can not use calibre for producing such pdf.
|
![]() |
![]() |
![]() |
#8 |
Member
![]() Posts: 17
Karma: 10
Join Date: Dec 2010
Device: Kindle 3
|
Well, that doesn't sound good for me.
Since you're expert in sony readers, would embedding Arabic fonts with epub format work? I'm thinking of returning my kindle and getting sony pocket edition reader. |
![]() |
![]() |
![]() |
#9 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
I had a bad experience with right-to-left language rendering on my PRS-505. A test is required here. Can you point me to some web page with text in arabic and I'll try to make an epub to see if it renders properly.
|
![]() |
![]() |
![]() |
#10 |
Member
![]() Posts: 17
Karma: 10
Join Date: Dec 2010
Device: Kindle 3
|
I mean I can direct to an Arabic books library full of ePub format.
Go to this website: http://www.ibooks.ae/ At the right hand side, you'll see some books and next to them the sign for a book and downward arrow (download link). Just click on it and it will download the book in Arabic epub format. |
![]() |
![]() |
![]() |
#12 |
Member
![]() Posts: 17
Karma: 10
Join Date: Dec 2010
Device: Kindle 3
|
BTW, thanks!
![]() |
![]() |
![]() |
![]() |
#13 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
I think you should try getting one of the Hanlin V3 clones. They support by default lots of languages and user can add custom fonts. That way you should be able to read books without modifying them.
See http://mybebook.com/ for one of those clones Information on changing the fonts on those devices can be found here https://wiki.mobileread.com/wiki/Hanlin_V3 |
![]() |
![]() |
![]() |
#14 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
Also based on this thread https://www.mobileread.com/forums/showthread.php?t=79709
No reader that is based on Adobe DE (almost all commercial devices with EPUB support) do not handle right-to-left languages properly. That is also my experience. I just created a sample epub with arabic text embedded font and it is incorrectly rendered in adobe de. I think the only viable options are: 1. Use only PDF format with embedded arabic fonts for any e-ink device (Sony, Kindle etc.) 2. Get a tablet device that has one of the EPUB readers that do support RTL languages properly. For example iPad with stanza or iBooks or any android or windows based tablet that has Firefox browser where you could install EPUBReader plugin. |
![]() |
![]() |
![]() |
#15 |
Member
![]() Posts: 17
Karma: 10
Join Date: Dec 2010
Device: Kindle 3
|
So, basically none of the popular companies e-readers can support Arabic (Sony, Kindle ...)
So does the Hanlin readers support Arabic ePub format? As you said, PDF is the only way out for my Kindle as for the moment. For the tablets, I tried the stanza and ibooks on my iphone for Arabic epub books, and they worked great, but I wanted an e-reader for their e-ink, anti-glare, and longer battery features. Thanks for the test drive on your reader ![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-600 Replace DEFAULT epub fonts! (PRS-600) | pepak | Sony Reader | 33 | 08-04-2023 02:31 PM |
PRS-600 Fonts on the PRS-600 | forkyfork | Sony Reader | 12 | 12-13-2010 02:54 AM |
PRS-600 fonts how to view Chinese ? pls help | this | Sony Reader Dev Corner | 1 | 09-29-2010 12:06 AM |
Hello from Singapore...PRS 600 with chinese fonts | bloodlamb | Introduce Yourself | 8 | 08-15-2010 10:58 AM |
PRS-600 Fonts on the PRS-600 | ghostyjack | Sony Reader | 4 | 11-05-2009 02:00 PM |