| @@ 3610-3616 (lines=7) @@ | ||
| 3607 | // Does it have predefined restraints? Width first. |
|
| 3608 | if ($matches[6][$key]) |
|
| 3609 | $matches[2][$key] = $matches[6][$key]; |
|
| 3610 | if ($matches[2][$key] && $sig_limits[5] && $matches[2][$key] > $sig_limits[5]) |
|
| 3611 | { |
|
| 3612 | $width = $sig_limits[5]; |
|
| 3613 | $matches[4][$key] = $matches[4][$key] * ($width / $matches[2][$key]); |
|
| 3614 | } |
|
| 3615 | elseif ($matches[2][$key]) |
|
| 3616 | $width = $matches[2][$key]; |
|
| 3617 | // ... and height. |
|
| 3618 | if ($matches[4][$key] && $sig_limits[6] && $matches[4][$key] > $sig_limits[6]) |
|
| 3619 | { |
|
| @@ 1064-1070 (lines=7) @@ | ||
| 1061 | // Does it have predefined restraints? Width first. |
|
| 1062 | if ($matches[6][$key]) |
|
| 1063 | $matches[2][$key] = $matches[6][$key]; |
|
| 1064 | if ($matches[2][$key] && $sig_limits[5] && $matches[2][$key] > $sig_limits[5]) |
|
| 1065 | { |
|
| 1066 | $width = $sig_limits[5]; |
|
| 1067 | $matches[4][$key] = $matches[4][$key] * ($width / $matches[2][$key]); |
|
| 1068 | } |
|
| 1069 | elseif ($matches[2][$key]) |
|
| 1070 | $width = $matches[2][$key]; |
|
| 1071 | // ... and height. |
|
| 1072 | if ($matches[4][$key] && $sig_limits[6] && $matches[4][$key] > $sig_limits[6]) |
|
| 1073 | { |
|