| @@ 3544-3550 (lines=7) @@ | ||
| 3541 | // Does it have predefined restraints? Width first. |
|
| 3542 | if ($matches[6][$key]) |
|
| 3543 | $matches[2][$key] = $matches[6][$key]; |
|
| 3544 | if ($matches[2][$key] && $sig_limits[5] && $matches[2][$key] > $sig_limits[5]) |
|
| 3545 | { |
|
| 3546 | $width = $sig_limits[5]; |
|
| 3547 | $matches[4][$key] = $matches[4][$key] * ($width / $matches[2][$key]); |
|
| 3548 | } |
|
| 3549 | elseif ($matches[2][$key]) |
|
| 3550 | $width = $matches[2][$key]; |
|
| 3551 | // ... and height. |
|
| 3552 | if ($matches[4][$key] && $sig_limits[6] && $matches[4][$key] > $sig_limits[6]) |
|
| 3553 | { |
|
| @@ 1070-1076 (lines=7) @@ | ||
| 1067 | // Does it have predefined restraints? Width first. |
|
| 1068 | if ($matches[6][$key]) |
|
| 1069 | $matches[2][$key] = $matches[6][$key]; |
|
| 1070 | if ($matches[2][$key] && $sig_limits[5] && $matches[2][$key] > $sig_limits[5]) |
|
| 1071 | { |
|
| 1072 | $width = $sig_limits[5]; |
|
| 1073 | $matches[4][$key] = $matches[4][$key] * ($width / $matches[2][$key]); |
|
| 1074 | } |
|
| 1075 | elseif ($matches[2][$key]) |
|
| 1076 | $width = $matches[2][$key]; |
|
| 1077 | // ... and height. |
|
| 1078 | if ($matches[4][$key] && $sig_limits[6] && $matches[4][$key] > $sig_limits[6]) |
|
| 1079 | { |
|