12-06-2019, 05:41 AM | #1 |
Junior Member
Posts: 9
Karma: 10
Join Date: Dec 2019
Device: none
|
Calibre viewer font behaviour
Hello,
I just started converting my Kindle books with Calibre and have been stuck on the first book for several hours now trying to figure out font behaviour. Input format is AZW3 and the target I'm using is PDF. My problem is that the font is different when I view the resultant PDF in an external viewer like Foxit and with the built-in viewer. It seems the original e-book doesn't have any fonts embedded (checked by unpacking it), but I see some fonts are defined in its stylesheet. So at this point I'd like to know whether what I'm seeing in the built-in viewer is a default font (Since there's no embedded font), and if so what is that default font. Does the built-in viewer respect the font-family defined in the stylesheet at all? Or it just cares about embedded fonts which in the case there're none present it uses a default font. Mind you I saw a few posts here asking about the font behaviour but in the answers the name of the default font wasn't mentioned. I'd like to recreate what I see in the built-in viewer as best as I can when converting to PDF. Thank you. |
12-06-2019, 06:24 AM | #2 |
creator of calibre
Posts: 43,859
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The builtin viewer is not a pdf viewer (it converts the pdf to html to view it), dont use it to preview pdfs, use a dedicated pdf reader for that.
|
12-06-2019, 11:29 AM | #3 |
Well trained by Cats
Posts: 29,804
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Preferences: Behavior: Use Internal Viewer for: <Remove the tick next to PDF> (or any other format that you don't want Calbres viewer for. Your OS must have a default viewer for that format)
|
12-07-2019, 06:58 PM | #4 |
Junior Member
Posts: 9
Karma: 10
Join Date: Dec 2019
Device: none
|
Maybe I wasn't clear in my post, I use a dedicated PDF viewer already (Foxit, as stated in my post). I don't want to use the built-in viewer as my default PDF viewer, I simply want to know what its default font is, just that.
And what about my second question about the font-family defined in the stylesheet of AZW3? |
12-07-2019, 07:47 PM | #5 |
creator of calibre
Posts: 43,859
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The builtin viewr is a browser (chrome), its font behavior is exactly the same as a browsers. If the stylesheet specifies a font that is not embedded it will be searched for ont he system and the nearest match will be used.
|
12-11-2019, 09:18 AM | #6 |
Junior Member
Posts: 9
Karma: 10
Join Date: Dec 2019
Device: none
|
Thank you for the explanation.
So is there any way to have this same behaviour when converting to PDF? I mean automatically embedding the fonts specified in the stylesheet? And if not found on the system using the nearest match like the viewer? |
12-11-2019, 09:41 AM | #7 |
creator of calibre
Posts: 43,859
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That is exactly what happens since converting to PDF uses the same browser engine as the viewer.
|
12-12-2019, 12:18 PM | #8 | |
Junior Member
Posts: 9
Karma: 10
Join Date: Dec 2019
Device: none
|
Quote:
I currently specify the font family under "Look & feel" manually to get the PDF to look like the original file. Is this the default behaviour or should I enable it somewhere? |
|
12-12-2019, 02:51 PM | #9 |
creator of calibre
Posts: 43,859
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Hard to say, post a sample azw3/epub book showing the problem, and I can tell you more.
|
12-12-2019, 05:21 PM | #10 |
Junior Member
Posts: 9
Karma: 10
Join Date: Dec 2019
Device: none
|
Sorry, I'm a bit confused.
By sample you mean cutting the book? If so, how can I prepare a sample? And should I just upload it here or send it to you directly? Wouldn't that violate any rules? |
12-12-2019, 08:31 PM | #11 |
Well trained by Cats
Posts: 29,804
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
You open a Bug report at the Calibre site. Then make a PRIVATE attachment
|
12-14-2019, 03:57 PM | #12 |
Junior Member
Posts: 9
Karma: 10
Join Date: Dec 2019
Device: none
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
decrease font size of viewer interface of calibre 4.2.0 | Thirteen OBD | Calibre | 0 | 10-30-2019 05:39 AM |
Weird embedded font behaviour on Kobo | doubleshuffle | ePub | 4 | 11-15-2017 10:02 AM |
Calibre Viewing Behaviour - Built-in Viewer/Reader | Al Adams | Library Management | 13 | 07-07-2017 08:55 PM |
Test behaviour different to Calibre behaviour | louwin | Library Management | 2 | 04-12-2012 07:34 PM |
Calibre E-Book Viewer and ADE render ePub TD font-size differently | Agama | Devices | 5 | 06-17-2011 02:44 AM |