Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 09-11-2015, 04:41 PM   #1
dan2the6th
Connoisseur
dan2the6th began at the beginning.
 
Posts: 54
Karma: 10
Join Date: Mar 2014
Device: iPhone XR
Special characters font problem

I'm doing minor editing of a book to correct problems with special characters (accented characters, etc.). When I click on "Insert special character" and select a character, it is inserted into the text in the wrong font. I've done this a lot before and never had this problem. Has something changed lately?

I have attempted to attach a small image file showing an example, a "c" with a cedilla which obviously does not fit into the surrounding text. The "c" is too large, and is sans serif in the midst of all the serif text.
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	430
Size:	22.8 KB
ID:	141916  
dan2the6th is offline   Reply With Quote
Old 09-11-2015, 10:29 PM   #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
Insert special character does not specify any fonts. You need to make sure that the font you are using for the body text supports the characters you are inserting, otherwise the renderer will fallback to some font that does and that font may be very different from the main font.
kovidgoyal is offline   Reply With Quote
Advert
Old 09-12-2015, 01:37 PM   #3
dan2the6th
Connoisseur
dan2the6th began at the beginning.
 
Posts: 54
Karma: 10
Join Date: Mar 2014
Device: iPhone XR
Best I can tell, the css file specifies the Times New Roman font family for the body text. How do I tell whether this "supports" a character or not? I'm something of a beginner at this editing stuff.
dan2the6th is offline   Reply With Quote
Old 09-12-2015, 02:23 PM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,939
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by dan2the6th View Post
Best I can tell, the css file specifies the Times New Roman font family for the body text. How do I tell whether this "supports" a character or not? I'm something of a beginner at this editing stuff.
Where are you seeing the issue?

The font is a typical system font on Windows PCs, but NOT on many other devices ($$ license from Monotype needed to include).

For Private use, you could embed TNR into the book if needed.
You could Remove the font name (TNR) and specify the generic : serif

BTW in Windows, the Character Map tool to browse and insert characters (set the Face in the Pulldown at the top)
theducks is offline   Reply With Quote
Old 09-12-2015, 04:00 PM   #5
dan2the6th
Connoisseur
dan2the6th began at the beginning.
 
Posts: 54
Karma: 10
Join Date: Mar 2014
Device: iPhone XR
Aha! This book actually includes its own font files! I'm not sure I've ever come across that. I'm sure that's where the problem lies.

Would it be possible to remove all reference to these font files and have it fall back on the system fonts? Or would that wreck everything?

There's one way to find out........
dan2the6th is offline   Reply With Quote
Advert
Old 09-12-2015, 08:31 PM   #6
dan2the6th
Connoisseur
dan2the6th began at the beginning.
 
Posts: 54
Karma: 10
Join Date: Mar 2014
Device: iPhone XR
Yup, that appears to have worked fine. I removed the built-in font files, and the references to those font files in the CSS, and those special characters look fine now.

By the way, I'm reading the book on a Windows PC with the calibre book viewer.
dan2the6th is offline   Reply With Quote
Old 09-12-2015, 09:26 PM   #7
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,939
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by dan2the6th View Post
Yup, that appears to have worked fine. I removed the built-in font files, and the references to those font files in the CSS, and those special characters look fine now.

By the way, I'm reading the book on a Windows PC with the calibre book viewer.
Someone may have subsetted those fonts (remove unused characters), that you then tried to USE. since the glyph was not there, substitute time, from something else that DID.
theducks is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Epub: using icons mapped to characters in special font gdutoit ePub 15 02-07-2014 11:16 AM
Glo Special characters problem Kljunas Kobo Reader 3 01-04-2014 11:09 AM
Certain font characters not rendering in the correct font omskillet Kindle Formats 14 11-29-2013 03:12 PM
Special Characters abbotrichard ePub 4 07-01-2011 06:03 PM
Content Special Characters in Collections bear4hunter Amazon Kindle 2 08-06-2010 07:11 PM


All times are GMT -4. The time now is 05:07 AM.


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