question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Rendering issue in image + textbox exported from InDesign

See original GitHub issue

Hi, when in InDesign CC 2020 I group an image with its caption (a text-frame) the export in EPUB is:

<div class="_idGenObjectLayout-1">
	<div id="_idContainer009" class="_idGenWritingDirection-1">
		<div id="_idContainer007" class="Cornice-di-testo-di-base">
			<p class="didascalia">Pietra di confine con la scritta «Oropa» nel bosco di Fontanelle annesso alla cascina Simonetto sotto la proprietà di Giovanni Battista Garrone nel XVIII secolo. (Archivio Virginia Gozzi Brayda)</p>
		</div>
		<div id="_idContainer008">
			<img class="_idGenObjectAttribute-1" src="image/00.jpg" alt="" />
		</div>
	</div>
</div>

With the following CSS:

#_idContainer007 {
	height:59.53px;
	left:0px;
	overflow:hidden;
	position:relative;
	top:213px;
	width:360.00px;
	z-index:1;
}
#_idContainer009 {
	display:inline-block;
	height:272px;
	position:relative;
	width:360px;
}
#_idContainer008 {
	height:212.60px;
	left:0px;
	position:relative;
	top:-60px;
	width:360.00px;
	z-index:0;
}
img._idGenObjectAttribute-1 {
	height:100.00%;
	min-width:100%;
	width:100.00%;
}
div._idGenObjectLayout-1 {
	text-align:center;
}

The issue is that Thorium cuts part of the caption: image

I can send you a test file privately.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
JayPanozcommented, Jun 30, 2020

Yeah, at first sight their markup + styling for figures got an awful lot worse in CC 2020 – which I thought couldn’t be possible given how bad it already was. I’m guessing the combo of div id + absolute/relative positioning + inline-block may be a lead.

0reactions
danielweckcommented, Aug 26, 2022

Closing as not fixable in Thorium. Probably needs details fleshed out in ReadiumCSS https://github.com/readium/readium-css/

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fixed issues in InDesign - Adobe Support
Incorrect rendering of glyphs of variable fonts when exported to PDF. Colors in the printed document are slightly different than in Acrobat when ......
Read more >
InDesign to JPEG Font Rendering issue
Convert the font that is having issues to outlines (Type > Create Outlines) and then export to JPEG in a higher resolution. Share....
Read more >
Beware the Placed InDesign Stitching Bug
The second problem appears when exporting PDFs for on-screen viewing (such as an interactive PDF). This is definitely a problem. The solution there...
Read more >
Adobe InDesign: Bugs: Top (5617 ideas)
When editing a text box, the text disappears. I have to switch the display mode (Overview > Normal or Normal > Overview) to...
Read more >
Why Do My Images Look Lower Quality in InDesign but Fine ...
In this Adobe InDesign Creative Cloud quick tip, I explain how to adjust display performance settings in InDesign. Subscribe today!
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found