mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-05-31 11:18:42 +02:00
Minor adjustment.
This commit is contained in:
+1
-1
@@ -98,7 +98,7 @@ static inline void AdjustTypeMetricBounds(TypeMetric *metrics)
|
||||
double
|
||||
new_x1;
|
||||
|
||||
new_x1=-metrics->bounds.x1;
|
||||
new_x1=ceil(-metrics->bounds.x1+0.5);
|
||||
metrics->width+=new_x1+new_x1;
|
||||
metrics->bounds.x1=new_x1;
|
||||
}
|
||||
|
||||
+2
-2
@@ -93,8 +93,8 @@ static inline void AdjustTypeMetricBounds(TypeMetric *metrics)
|
||||
{
|
||||
double
|
||||
new_x1;
|
||||
|
||||
new_x1=-metrics->bounds.x1;
|
||||
|
||||
new_x1=ceil(-metrics->bounds.x1+0.5);
|
||||
metrics->width+=new_x1+new_x1;
|
||||
metrics->bounds.x1=new_x1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user