![]() |
#16 |
Bookworm
![]() Posts: 104
Karma: 26
Join Date: Sep 2009
Location: Central Georgia, USA
Device: PRS-600, Nook STR
|
jackie_w
This is the original test file copied from Word: Times New Roman 12 pt. The quick brown fox jumped over the lazy dog’s back. Georgia 12 pt. The quick brown fox jumped over the lazy dog’s back. Arial 12 pt. The quick brown fox jumped over the lazy dog’s back. ============ I can’t do a screen shot of the reader, but it looks like this: Times New Roman 12 pt. The quick brown fox jumped over the lazy dog’s back. Georgia 12 pt. The quick brown fox jumped over the lazy dog’s back. Arial 12 pt. The quick brown fox jumped over the lazy dog’s back. I've attached my original RTF test file, and the ePub generated by Calibre. The lower case f is a good indicator, but I like to look at the tops of the lower case serif fonts. Times New Roman serifs slant down to the left while Georgia serifs stick out straight. The lower case t is a plain cross in Georgia, but the top left side in Times New Roman looks like a triangle. Unfortunately, I need to have the letters fairly large to tell the difference. jswinden; Thanks for clarifying the double quote issue. Text in Post #3 shows the Georgia in double quotes. I used Sigil to add in the missing body { font-family: "Georgia", serif; } statement – no change and then put double quotes around the first appearance of Georgia, ahead of the font location references. @font-face { font-family: “Georgia”; panose-1: 2 4 5 2 5 4 5 2 3 3 I don’t know if it is appropriate to add double quotes there or not, but it didn’t make any difference. So far everything I’ve tried still leaves me with Times New Roman. Thanks again for your help. Last edited by MSJim; 05-22-2010 at 05:52 PM. |
![]() |
![]() |
![]() |
#17 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 469
Karma: 600816
Join Date: Sep 2009
Device: Kobo Aura HD, Kobo Aura One
|
MSJim,
from the screen shot you posted it looks like the extension TTF is still in upper case on your reader. Rename all font files to lower-case TTF or else change the CSS to have capital case TTF on the font file names. In your particular case the body { font-family: "Georgia", serif; } plays no difference because all the text has been enclosed in tags overriding the font-family anyway. |
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
|
![]() |
![]() |
![]() |
#19 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Also, did you load the RTF into Calibre to convert to EPUB or did you convert the RTF to Web-filtered HTML using MSWord, then load the HTML into Calibre.
I am trying out your RTF file and the conversion to EPUB displays all text as Georgia. I have modified the RTF to repeat your text as bolditalic as I find it easier to see font differences using italic. Will post some screenshots soon. |
![]() |
![]() |
![]() |
#20 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
OK here are the screenshots
Convert RTF to EPUB gives all text in Georgia |
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Convert HTML to EPUB gives the following. All text in default EPUB serif fonts (regular and bold).
So this is definitely not working. It's just a case of finding out why. I'll keep looking. I know how to make it work by editing the HTML directly but I'd rather find out which part of the MSWord HTML is causing the problem. By the way, if you've renamed your font files to lowercase .ttf on your reader, the epub I sent you earlier should now work and so should the raw HTML/Extra CSS I sent you. |
![]() |
![]() |
![]() |
#22 |
Nameless Being
|
When creating HTML or eBooks, my motto is the simpler the better.
If you are converting a fiction book, say a novel, you really don't need a bunch of different styles and fonts. Just keep it simple. If possible, start out with plain HTML that has all the styles and formatting stripped out of it. Do not use a program like MS Word to create HTML or RTF. You will get so much hardcoded formatting that you can never sort through all of it. It will be a huge mess. If possible just use plain tags without classes. Especially for a novel, all you really need to do is assign the basic text formatting in the BODY tag and let the ePub converter do the rest.
Last edited by jswinden; 05-22-2010 at 08:21 PM. |
![]() |
![]() |
#23 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Jim, Assuming you haven't lost the will to live ...
There are many ways you could proceed. It all depends on
A simple solution is to load the RTF file into Calibre and convert to EPUB with the Extra CSS. The downside is that RTF to EPUB can lose things like images, centre, right-alignment, hard line breaks (often used in poetry). Unless Calibre has recently fixed this. If you convert RTF to Web-filtered HTML using Word then you need to examine the CSS inside the HTML file. Your file produced this on my PC Code:
<style> <!-- /* Font Definitions */ @font-face {font-family:Georgia; panose-1:2 4 5 2 5 4 5 2 3 3;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt;} div.Section1 {page:Section1;} --> </style> The red part needs to either be removed or to match what you have in your Extra CSS body{...} statement. Otherwise the "Times New Roman" defined for p.MsoNormal will be used to override its parent body element in your Extra CSS (standard rules of CSS). Since your reader doesn't know where to find "Times New Roman" it uses its default serif font instead. You could always use "Times New Roman" as your "MSJim" label on every line of Extra CSS rather than "Georgia". It might be confusing but it should also work as long as you are still pointing them at the Georgia ttf files Stripping out everything between and including <style>...</style> in the HTML file will also resolve the problem. However all styling would then be lost. A bit of a sledgehammer to crack a nut. I do often use this method myself but I usually add back a link to my own standard ebook CSS stylesheet between the <head>...</head> tags. |
![]() |
![]() |
![]() |
#24 |
Bookworm
![]() Posts: 104
Karma: 26
Join Date: Sep 2009
Location: Central Georgia, USA
Device: PRS-600, Nook STR
|
Thanks guys. The font extensions were the problem, or at least the last of several that were preventing the display of Georgia fonts on my reader. Both jackie_w's file and mine are now displaying correctly.
I appreciate the guidance too. I can see I've got a lot of testing to find my path of least hassel for cleaning up the files I have already converted. |
![]() |
![]() |
![]() |
#25 |
You kids get off my lawn!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,220
Karma: 73492664
Join Date: Aug 2007
Location: Columbus, Ohio
Device: Oasis 2 and Libra H2O and half a dozen older models I can't let go of
|
A question for the gurus:
Is it necessary to save the font files in a directory on the device itself, or can they be saved in the SD or memory stick card, along with the books? |
![]() |
![]() |
![]() |
#26 | ||
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 469
Karma: 600816
Join Date: Sep 2009
Device: Kobo Aura HD, Kobo Aura One
|
Quote:
in the epub file that MSJim attached a few posts above the paragraphs rendered in fonts other than Times New Roman font had the text inside them placed in a span and the associated span class was set to use the correct font in the calibre-generated stylesheet, so in this particular case the MsoNormal overrides body and then gets overridden itself. Quote:
Not necessary, you just need to know what the URI is for a file saved to the memory stick or an SD card as seen by the reader. If you look at all the @font-face declarations discussed here they're pointing to a font file under /Data which refers to internal memory; you'd need to change /Data to whatever mount point for the card is. |
||
![]() |
![]() |
![]() |
#27 |
Connoisseur
![]() ![]() Posts: 98
Karma: 161
Join Date: May 2010
Location: Quebec, Canada
Device: PRS-600
|
I just tried with Verdana. Ok, it's a little bit messy (12 as a base font is a bit too big), but it works great. I tried to find the bits of the solution everywhere. A guy sent me a CSS, but I put the font into Data/fonts in root of my PRS-600. Here I found the right path and altogether, it's great!
![]() P.S. Here I found that the directories and the font names are case sensitive. Tx Last edited by mikij; 08-06-2010 at 10:21 PM. |
![]() |
![]() |
![]() |
#28 |
Connoisseur
![]() ![]() Posts: 98
Karma: 161
Join Date: May 2010
Location: Quebec, Canada
Device: PRS-600
|
Which are the fonts that look good in PRS-600?
I tried with Verdana and although it fixed all my troubles with some "Japanese" characters, I don't think Verdana is easy readable. On a PC, it is my favorite font. Tiomes New Roman is not that nice.
Any idea which fonts are easy to read? |
![]() |
![]() |
![]() |
#29 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
If you prefer a serif font, Georgia and Charis SIL are nice.
|
![]() |
![]() |
![]() |
#30 |
Connoisseur
![]() ![]() Posts: 98
Karma: 161
Join Date: May 2010
Location: Quebec, Canada
Device: PRS-600
|
Thank. Although I prefer sans serif, I'll give them a try.
![]() Last edited by mikij; 08-08-2010 at 04:08 PM. Reason: OK, I tried and it is awesome. |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |
Georgia fonts on PRS-600 | MSJim | Calibre | 19 | 12-31-2010 12:31 AM |
PRS-600 Fonts on the PRS-600 | forkyfork | Sony Reader | 12 | 12-13-2010 02:54 AM |
PRS-600 Display | merlianne | Sony Reader | 7 | 05-11-2010 01:00 AM |
PRS-600 Fonts on the PRS-600 | ghostyjack | Sony Reader | 4 | 11-05-2009 02:00 PM |