| @@ 1062-1068 (lines=7) @@ | ||
| 1059 | // Does it have predefined restraints? Width first. |
|
| 1060 | if ($matches[6][$key]) |
|
| 1061 | $matches[2][$key] = $matches[6][$key]; |
|
| 1062 | if ($matches[2][$key] && $sig_limits[5] && $matches[2][$key] > $sig_limits[5]) |
|
| 1063 | { |
|
| 1064 | $width = $sig_limits[5]; |
|
| 1065 | $matches[4][$key] = $matches[4][$key] * ($width / $matches[2][$key]); |
|
| 1066 | } |
|
| 1067 | elseif ($matches[2][$key]) |
|
| 1068 | $width = $matches[2][$key]; |
|
| 1069 | // ... and height. |
|
| 1070 | if ($matches[4][$key] && $sig_limits[6] && $matches[4][$key] > $sig_limits[6]) |
|
| 1071 | { |
|
| @@ 3503-3509 (lines=7) @@ | ||
| 3500 | // Does it have predefined restraints? Width first. |
|
| 3501 | if ($matches[6][$key]) |
|
| 3502 | $matches[2][$key] = $matches[6][$key]; |
|
| 3503 | if ($matches[2][$key] && $sig_limits[5] && $matches[2][$key] > $sig_limits[5]) |
|
| 3504 | { |
|
| 3505 | $width = $sig_limits[5]; |
|
| 3506 | $matches[4][$key] = $matches[4][$key] * ($width / $matches[2][$key]); |
|
| 3507 | } |
|
| 3508 | elseif ($matches[2][$key]) |
|
| 3509 | $width = $matches[2][$key]; |
|
| 3510 | // ... and height. |
|
| 3511 | if ($matches[4][$key] && $sig_limits[6] && $matches[4][$key] > $sig_limits[6]) |
|
| 3512 | { |
|