diff options
-rw-r--r-- | difference.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/difference.cpp b/difference.cpp index 7ea8b74..6444efd 100644 --- a/difference.cpp +++ b/difference.cpp | |||
@@ -287,7 +287,7 @@ int main(int argc, char** argv) | |||
287 | composite.draw(Magick::DrawableCompositeImage(width, 0, pic2)); | 287 | composite.draw(Magick::DrawableCompositeImage(width, 0, pic2)); |
288 | composite.font("@coolvetica.ttf"); | 288 | composite.font("@coolvetica.ttf"); |
289 | 289 | ||
290 | double fontsize = rand() % 72 + 16; | 290 | double fontsize = 72; |
291 | for (;;) | 291 | for (;;) |
292 | { | 292 | { |
293 | composite.fontPointsize(fontsize); | 293 | composite.fontPointsize(fontsize); |
@@ -318,7 +318,8 @@ int main(int argc, char** argv) | |||
318 | composite.fontTypeMetrics(ant2, &metric); | 318 | composite.fontTypeMetrics(ant2, &metric); |
319 | int x2 = (width - 40 - metric.textWidth())/2+20+width; | 319 | int x2 = (width - 40 - metric.textWidth())/2+20+width; |
320 | composite.strokeColor("white"); | 320 | composite.strokeColor("white"); |
321 | composite.strokeWidth(1); | 321 | composite.strokeWidth(2); |
322 | composite.antiAlias(false); | ||
322 | composite.draw(Magick::DrawableText(x1, y, ant1)); | 323 | composite.draw(Magick::DrawableText(x1, y, ant1)); |
323 | composite.draw(Magick::DrawableText(x2, y, ant2)); | 324 | composite.draw(Magick::DrawableText(x2, y, ant2)); |
324 | 325 | ||