View Single Post
Old 07-25-2011, 06:59 AM   #12
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
Quote:
Originally Posted by sovre View Post
Only one problem: I am still getting a "?" for the letters which have diacritical marks in that text.
Quote:
Originally Posted by sovre View Post
I copied the epub file and pasted it into MS Word, and then saved it as an rtf file. I then converted the rtf file to epub using calibre and sent it once again to my Sony.

Now all words show up fine, with proper accenting. No more question marks.
This suggests that the problem actually lies in the encoding, as others mentioned earlier in the thread. As you've discovered, calibre's automatic conversion can easily break if there's any problem in the source. Unzip the epub and extract one of the html files, then open that in Notepad++. Can you still see the proper diacritics in the text? Clicking on the Encoding menu, does it say 'Encode in UTF-8 without BOM'? What is the first line of the file? It should be something like
<?xml version="1.0" encoding="utf-8" standalone="no"?>

Quote:
Originally Posted by sovre View Post
Oddly enough, I did notice this: the font has changed, but it changed in texts which were fine and not giving me a problem. And the texts which use the new font do not appear to be as readable as those using the old font. The paragraphs look somehow "clumped together," instead of there being a bit of breathing space between the lines as before.
Yeah, this is a problem with the font. Charis supports an extremely wide range of glyphs, has bold and italic variants, and is free, so I could post it here. But it was designed to be compact, and therefore doesn't have its height metrics set properly (they've released an even more compact version, which is worse). If you look around at the fonts you have installed on your system you may well find one that will work better, just copy those over (you'll need normal, italic, bold, and bold-italic variants, which will be different files) and edit the file names in the css file.
charleski is offline   Reply With Quote