03-01-2014, 01:22 AM | #16 | |
Dead account. Bye
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
|
Quote:
Last edited by arspr; 03-01-2014 at 04:45 AM. |
|
03-01-2014, 07:38 AM | #17 | |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
|
|
Advert | |
|
03-01-2014, 08:20 AM | #18 | |
Dead account. Bye
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
|
Quote:
|
|
03-03-2014, 05:07 PM | #19 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Last attempt: Do you see the Gandhari Unicode font in the font list? And do you select this font?
I renamed the fonts in this way: Code:
Gandhari Unicode.ttf Gandhari Unicode-Bold.ttf Gandhari Unicode-Italic.ttf Gandhari Unicode-BoldItalic.ttf |
03-04-2014, 08:53 AM | #20 | |
Member
Posts: 16
Karma: 10
Join Date: Feb 2014
Device: Kobo Touch
|
I only just seen all your replays. I'll PM you both. Thank you! This is a great community. And I'll try Kepubs when I see my sister next.
Quote:
|
|
Advert | |
|
03-04-2014, 05:05 PM | #21 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
I converted the file with calibre to epub (default settings) and afterwards deleted all font-family entries in the css file. Now (that means after deleting the font-family entries) all diacritical marks are correctly displayed. I hope somebody can explain how to change the calibre settings accordingly (I am not very experienced with calibre). It looks like a further thing has to be addressed. The text of the whole book is underlined, at least in my calibre converted version.
|
03-04-2014, 05:09 PM | #22 |
Dead account. Bye
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
|
Wow!!! Thousand of troubles in just one book.
First of all. I think that there's a possibility of bug in the conversion engine. I think I should post a bug ticket in the Calibre bugtracker but I need your permission to PM Kovid the book or something like that. He will probably need it to check that possible bug. As an example, the first paragraph after Preface has this structure in the Inspector (from the Book View): html > body > div.calibre_574 > font And it is converted into: html > body.calibre > div.calibre5 > a > div.calibre13 > span.calibre18 WTH!?!?!?!? Why does an <a> tag appear? Because that <a> tag has been introduced, (which means "hyperlink here"), the whole text is rendered underlined in the RMSDK renderer. Then the reason why your characters are not rendered. The original prc <font> tag has an internal "face = serif" attribute which actually kills my proposed font embedding (or loading in the ereader) process. The default font I've selected is just the common "Times New Roman" which actually has all the needed symbols. And the "calibre" class used for <body> is correctly set to use "Times New Roman". So the first step is correctly done: now your whole book uses "Times New Roman" but where there are special settings about font use. Because of the <font size ="4" face="serif"> tag in the prc, that default setting is overridden in several classes ("calibre18" and "calibre5") by a "use just a serif font" one. So you lose the direct link to the GOOD font. As the ereader is told to use just a common serif font, it picks any of the internal ones which lacks the needed characters. And you cannot perform the second step about embedding all the explicitly referenced fonts because "serif" is not a font but a group of them. I'm going to post this issue in Calibre bugtracker as a Feature Request for a possible enhancement. The solution:
|
03-04-2014, 05:44 PM | #23 |
Dead account. Bye
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
|
Bug ticket about the Feature Request for embedding "general" font settings.
https://bugs.launchpad.net/calibre/+bug/1287954 |
03-05-2014, 05:46 AM | #24 |
Member
Posts: 16
Karma: 10
Join Date: Feb 2014
Device: Kobo Touch
|
Wow! Thank you both!
Later this week I'll go and edit the stylesheet.css files of all the books. You're welcome to do this. |
03-05-2014, 04:38 PM | #25 | |
Dead account. Bye
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
|
Quote:
It's even easier than that as Kovid has posted in the bugtracker. When converting from prc to epub, in the Look and Feel section:
|
|
03-07-2014, 10:18 AM | #26 |
Dead account. Bye
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
|
Kovid has also solved something about the conversion. Your source prc is a mess. Re-convert it to epub and you'll avoid, at least, that additional <a> tags.
|
03-11-2014, 09:07 AM | #27 | |
Member
Posts: 16
Karma: 10
Join Date: Feb 2014
Device: Kobo Touch
|
Quote:
I've done this, and have had a good look at the books, and they now all look perfect! Thank you for finding such an easy solution for me. Next time you talk to Kovid you can thank them for me too. |
|
03-11-2014, 11:41 AM | #28 | |
Dead account. Bye
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
|
Quote:
You can do it yourself in the bugtracker link I previously posted. By the way, he rejected my suggestion but hinted this feature of Calibre instead which I didn't know. Knowing every single feature Calibre has is plainly impossible... |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
resolving presentation issues with Kobo Touch (fonts, line height etc) | digital punk | Kobo Reader | 9 | 01-21-2014 02:00 AM |
Touch kobo touch change fonts | book64 | Kobo Reader | 21 | 02-19-2013 07:47 AM |
Kobo Glo fonts compared to Kobo Touch | RobertJSawyer | Kobo Reader | 3 | 10-11-2012 12:10 AM |
Reading Sanskrit documents on ipod Touch | Gabbar | Apple Devices | 3 | 12-06-2009 12:41 PM |