Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-12-2013, 11:15 AM   #1
bradonja
Junior Member
bradonja began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2013
Device: none
ligatures not showing in built in viewer

Hi,

I'm new to Calibre, only started using it a few weeks ago and spent almost as much time configuring the viewer as reading
I've encountered a strange problem and manage to solve it, so i thought i'd share the solution and possibly point out a problem.

I'm using the built in viewer to read books, and everything was peachy until i opened a book that wouldn't show ligatures. Spent some time trying to find a solution here, but had no luck. Then tried copying and pasting part of the text from the book to a text file, converted it to epub and ligatures were there, so i knew that the problem was in the ebook itself.

Turns out that the problem was in the stylesheets: i opened the book in Sigil and played with the stylesheets until i found out that deleting all the lines that say
font-face: "Times New Roman";
fixed the problem.

So, the viewer is configured to use "Adobe Caslon Pro." When the book's stylesheet says it should use Times, the text is displayed in Caslon, but the ligatures are missing. When the book doesn't say anything about the font face, viewer is still using Caslon, but the ligatures are working.
bradonja is offline   Reply With Quote
Old 10-12-2013, 11:17 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Are you sure it was being displayed in caslon? The viewers font settings are only supposed to take effect if the book does not specify its own font.
kovidgoyal is offline   Reply With Quote
Advert
Old 10-12-2013, 11:53 AM   #3
bradonja
Junior Member
bradonja began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2013
Device: none
Well I was pretty sure, but now I've opened the original again and you're right - it's displayed in Times. So that explains everything - the ligatures were missing because Times didn't have them.
bradonja is offline   Reply With Quote
Reply

Tags
ligatures


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wheel page-flip behavior with built-in viewer's 2-pages per screen view Hoggy Calibre 2 11-07-2012 11:01 PM
Built-in viewer displaying mobi files oddly KindaFarty Conversion 9 05-13-2011 06:48 PM
Suggestion for Built-in eBook Viewer ColdSun Calibre 0 06-22-2010 07:13 PM
Issue with built in viewer rcuadro Calibre 3 01-19-2010 10:02 AM
Crashing Problems With Windows 7 and Built in Viewer Athryn Calibre 6 12-28-2009 03:47 PM


All times are GMT -4. The time now is 01:15 AM.


MobileRead.com is a privately owned, operated and funded community.