/[gzz]/gzz/gzz/vob/LinebreakingUtil.java
ViewVC logotype

Diff of /gzz/gzz/vob/LinebreakingUtil.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by benja, Sat Sep 21 13:04:56 2002 UTC revision 1.5 by benja, Sat Sep 21 16:53:34 2002 UTC
# Line 46  String rcsid = "$Id$"; Line 46  String rcsid = "$Id$";
46          int str = 0;   // Stretch          int str = 0;   // Stretch
47          int shr = 0;   // Shrink          int shr = 0;   // Shrink
48    
49          int[] glues = ch.glues;          float[] glues = ch.glues;
50          for(int i=start; i<end; i++) {          for(int i=start; i<end; i++) {
51              wid += ch.boxes[i].getWidth(scale);              wid += ch.boxes[i].getWidth(scale);
52              if(i > start /* || i == 0 */ ) { // XXX Think out and test              if(i > start /* || i == 0 */ ) { // XXX Think out and test
# Line 99  String rcsid = "$Id$"; Line 99  String rcsid = "$Id$";
99          double over = 0;          double over = 0;
100    
101          HBox[] boxes = ch.boxes;          HBox[] boxes = ch.boxes;
102          int[] glues = ch.glues;          float[] glues = ch.glues;
103          for(int i=start; i<end; i++) {          for(int i=start; i<end; i++) {
104              int curwid = (int)boxes[i].getWidth(scale);              int curwid = (int)boxes[i].getWidth(scale);
105              int curhei = (int)boxes[i].getHeight(scale);              int curhei = (int)boxes[i].getHeight(scale);

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26