} else if (rat1 > rat2) {
adjusted.width = (int)(rat2 * size.width);
adjusted.height = effHeight;
+ } else {
+ adjusted.width = effWidth;
+ adjusted.height = effHeight;
}
} else {
adjusted.width = effWidth;
documents. Example: the fix of marks layering will be such a case when it's done.
-->
<release version="FOP Trunk" date="TBD">
+ <action context="Code" dev="GA" type="fix" fixes-bug="52514" due-to="Luis Bernardo">
+ Ensure square image is appropriately scaled.
+ </action>
<action context="Code" dev="GA" type="fix" fixes-bug="50062">
Invoke JVM in headless mode from FOP command scripts and JS shell to prevent stealing focus from GUI applications.
</action>