Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 07-28-2026, 04:30 PM   #1
searching...
Junior Member
searching... began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2024
Device: none
Calibre 9.11 internal link destination bugfix

Hi,

I just downgraded from Calibre portable v9.11.0 (the latest) to v8.16.2 to address a bug in the former.

In v9.11 conversions from epub/azw3 to pdf were landing internal link destinations too far above their link objects (by about 5-7em, circa 5 lines of text) affecting all ToC entries, footnotes and index links. Downgrading to v8.16.2 restores normal behavior, landing links directly above their objects.

And to fix affected pdf conversions after downgrading, just reopen the affected epub/azw3 in the editor, make any change to the html, eg add blank space, then resave and reconvert it.

Hope it helps,
Nick.
searching... is offline   Reply With Quote
Old 07-28-2026, 08:31 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: 46,452
Karma: 29634066
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Anchor destination boxes are defined by chromium (the library calibre uses to render PDF) and are not in calibre's control. Likely a change in newer versions of chromium that come with newer versions of calibre.
kovidgoyal is online now   Reply With Quote
Old 07-28-2026, 11:20 PM   #3
searching...
Junior Member
searching... began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2024
Device: none
Quote:
Originally Posted by kovidgoyal View Post
Anchor destination boxes are defined by chromium (the library calibre uses to render PDF) and are not in calibre's control. Likely a change in newer versions of chromium that come with newer versions of calibre.
Hi, I don't know how significant a bug you would consider it to be at your end, but I use the converter often enough to consider it significant at mine.

Would you like me to test all previous version 9 releases to find out when it changed? After which you could just confirm if you see the same behavior and leave a disclaimer somewhere, until resolved.
searching... is offline   Reply With Quote
Old 07-29-2026, 12:44 AM   #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: 46,452
Karma: 29634066
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
A few line offset when scrolling to an anchor in a paged format is not particularly significant to me. Indeed in paged mode its invisible since the unit of scrolling is pages not lines.
kovidgoyal is online now   Reply With Quote
Old 07-29-2026, 01:54 AM   #5
searching...
Junior Member
searching... began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2024
Device: none
Ok, perhaps you don't understand the problem (but the issue is with the format converter app in Calibre, not the editor).

The problem is with the landing position on pdf pages, when internal links are clicked.

The landing position should always be above it's object destination, but not several lines above, which only makes the intended destination unclear, and will lose your position in the text, when using a reverse footnote link back.
searching... is offline   Reply With Quote
Old 07-29-2026, 07:50 AM   #6
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: 46,452
Karma: 29634066
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yes I understand it perfectly. PDF is a PAGED format. It's meant to be viewd a PAGE at a time. So landing destinations that are a few LINES off are irrelevant. That said if you find it bothersome feel free to contribute a patch to chromium to get it fixed.
kovidgoyal is online now   Reply With Quote
Old 08-05-2026, 12:34 PM   #7
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: 46,452
Karma: 29634066
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Well, I had a few minutes, so: https://github.com/kovidgoyal/calibr...04c9bfe216c2d8
kovidgoyal is online now   Reply With Quote
Old 08-07-2026, 12:47 PM   #8
Jaws
JCL Punch-Card Collector
Jaws ought to be getting tired of karma fortunes by now.Jaws ought to be getting tired of karma fortunes by now.Jaws ought to be getting tired of karma fortunes by now.Jaws ought to be getting tired of karma fortunes by now.Jaws ought to be getting tired of karma fortunes by now.Jaws ought to be getting tired of karma fortunes by now.Jaws ought to be getting tired of karma fortunes by now.Jaws ought to be getting tired of karma fortunes by now.Jaws ought to be getting tired of karma fortunes by now.Jaws ought to be getting tired of karma fortunes by now.Jaws ought to be getting tired of karma fortunes by now.
 
Posts: 122
Karma: 606562
Join Date: Jun 2014
Location: Antarctica
Device: Aggressively Device Independent
Nick, for what it's worth, this is an assumption that's built in to a lot of PDF readers, too — including the free Acrobat Reader for Windows and at least three different browsers, but not the paid-for Acrobat since CS2 or the free Foxit and Sumatra readers. It will only show up when attempting go to an internal link destination in the reader, because the readers position themselves after the end of the link at the beginning of the next line (or CR/LF in one browser's reader!), not before the beginning of the link. It's just a programmer assumption at a deep level. (And creates real annoyances when not-very-tech-savvy managers, and government officials, take bookmarked documents home to read on their personal systems that have only the free readers installed and get different results from their work systems with different, paid software...)

There's something to be said for both ways of understanding what an internal link actually points to. And that something is not being acknowledged by the other way. It's sort of like the neverending argument over MSB/LSB data encoding.
Jaws is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Internal link not working with Moon+ 1v4n0 ePub 4 11-25-2022 04:28 AM
Need help updating Calibre library destination. Invisibl5 Library Management 5 08-11-2020 04:27 PM
Sigil Problem with internal Image or Stylesheet Link qkiazd Sigil 10 02-14-2020 07:39 AM
XHTML internal link checker elipsett General Discussions 6 12-11-2019 09:17 PM
Query re: bugfix in Calibre 8.15 to Kindle "sidecar" files GeekyGal Calibre 4 08-20-2011 02:36 AM


All times are GMT -4. The time now is 11:51 AM.


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