Email this Page Log Support Call Send Feedback Print

Previous Topic

Next Topic

Book Contents

Book Index

Wrong Height/Width Values for Embedded PNG Graphics in JavaHelp and Oracle Help

Problem

Embedded PNG graphics are displayed either much larger or (in many cases) much smaller as they should in JavaHelp and Oracle Help for Java.

Reason

The graphics are being inserted with the percentage measurements as the height and width attributes. For example, if the scaling of the file object is set to 100% by 100%, the attributes are being inserted as 100 by 100. The viewer resolves this as 100 pixels by 100 pixels.

Workaround

Set the exact dimensions of the image (as pixels) under the HTML attributes of the File object.

Set Exact Sizing

Top of Page Email this Page Log Support Call Send Feedback Print