Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 11-19-2015, 12:16 PM   #1
Armaell
Junior Member
Armaell began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2015
Device: None
Italic missing with Sans font

Hi all.

Recently I noticed that Calibre applied sans-serif font to conversions to PDF (I'm doing epub->pdf)
Then I found you can choose between serif, sans and mono.

Since then I'm appliying Sans to the conversions.
But I noticed today that using Sans do not keep the italic style to the text. While Serif do.

I suppose I lack the italic file of the sans font.
How do I correct that, or replace the font with a complete set.

(I would like to avoid embedding a custom font in the epub just for the sake of the pdf conversion)

Thank you for your help
Armaell is offline   Reply With Quote
Old 11-19-2015, 12:59 PM   #2
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: 29,762
Karma: 54401244
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 Armaell View Post
Hi all.

Recently I noticed that Calibre applied sans-serif font to conversions to PDF (I'm doing epub->pdf)
Then I found you can choose between serif, sans and mono.

Since then I'm appliying Sans to the conversions.
But I noticed today that using Sans do not keep the italic style to the text. While Serif do.

I suppose I lack the italic file of the sans font.
How do I correct that, or replace the font with a complete set.

(I would like to avoid embedding a custom font in the epub just for the sake of the pdf conversion)

Thank you for your help
Try your PDF on the device. (and with a real PDF viewer)

Basic Font support is mainly from the device
Bold and Italic (of a default font face) seem pretty basic to me

BTW your EPUB did pass validation? (sans?)
font-family: sans-serif;
theducks is offline   Reply With Quote
Old 11-19-2015, 03:36 PM   #3
Armaell
Junior Member
Armaell began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2015
Device: None
Getting weirder then !

Since the italic don't show up :
- Chrome embedded pdf viewer
- Windows 8 stock pdf viewer
- a couple of Android Viewer

If it can help, a test file :
Original epub : http://armaell.fr/cloud/index.php/s/ewBKrh4UU5bEBcU
Converted pdf : http://armaell.fr/cloud/index.php/s/6rcLFfgqtnD3WOu (ignore the blank cover, go page 2)

With no particular options in the conversion on fonts apart the setting for sans font.

And yes, one of my first reflex have been to force italic by css, or the font-family.

Thank you for trying to help ^^
Armaell is offline   Reply With Quote
Old 11-19-2015, 11:30 PM   #4
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: 43,826
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Simply change the font used for sans in the PDF Output section of the conversion dialog to something you are sure you have the complete font for. Liberation Sans is a safe choice.
kovidgoyal is offline   Reply With Quote
Old 11-20-2015, 03:34 AM   #5
Armaell
Junior Member
Armaell began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2015
Device: None
Quote:
Originally Posted by kovidgoyal View Post
Simply change the font used for sans in the PDF Output section of the conversion dialog to something you are sure you have the complete font for. Liberation Sans is a safe choice.
Woah. That's when you understand you asked the dumbest of questions...
That's exactly what I was searching... I browsed through all the options ten time and I have been totally oblivious at the option just above the selector [serif,sans,mono] I was using...

*Go hide himself*

Thank you for you help. x) ^^
Armaell is offline   Reply With Quote
Reply

Tags
italic, pdf, sans

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Side-loaded font bold-italic problem roger64 Kobo Reader 5 11-25-2013 08:15 PM
Problem with kobo touch with missing space with italic lermure Kobo Reader 4 02-01-2013 08:44 AM
Embeded Italic font not rendered theducks Sigil 6 11-07-2012 07:25 AM
Weird converting behavior (italic font problem) cistehovado Conversion 0 03-29-2012 07:27 AM
Italic font switch, but not back anymore adrian142 Calibre 1 10-10-2010 03:37 PM


All times are GMT -4. The time now is 02:44 PM.


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