소스 검색

Bugzilla #51043: Don't restart layout unless abs(ipd difference)>1 in order to prevent rounding issues from triggering false restart.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1328581 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-1_1rc1old
Glenn Adams 12 년 전
부모
커밋
0b18292f88
2개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      src/java/org/apache/fop/layoutmgr/AbstractBreaker.java
  2. 3
    0
      status.xml

+ 1
- 1
src/java/org/apache/fop/layoutmgr/AbstractBreaker.java 파일 보기

@@ -420,7 +420,7 @@ public abstract class AbstractBreaker {
alg.setConstantLineWidth(flowBPD);
int optimalPageCount = alg.findBreakingPoints(effectiveList, 1, true,
BreakingAlgorithm.ALL_BREAKS);
if (alg.getIPDdifference() != 0) {
if ( Math.abs ( alg.getIPDdifference() ) > 1 ) {
addAreas(alg, optimalPageCount, blockList, effectiveList);
// *** redo Phase 1 ***
log.trace("IPD changes after page " + optimalPageCount);

+ 3
- 0
status.xml 파일 보기

@@ -62,6 +62,9 @@
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="51043" due-to="Pascal Sancho">
Don't restart layout unless abs(ipd difference) > 1 in order to prevent rounding issues from triggering false restart.
</action>
<action context="Fonts" dev="GA" type="update">
Removing experimental feature that violates XSL-FO and Unicode semantics by misinterpreting Basic Latin code points. Users must use private use codepoints to access font specific
character mappings that have no assigned Unicode code point. See bug 50492.

Loading…
취소
저장