diff options
-rw-r--r-- | difference.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/difference.cpp b/difference.cpp index 66e4550..4575671 100644 --- a/difference.cpp +++ b/difference.cpp | |||
@@ -278,7 +278,7 @@ int main(int argc, char** argv) | |||
278 | composite.draw(Magick::DrawableCompositeImage(width, 0, pic2)); | 278 | composite.draw(Magick::DrawableCompositeImage(width, 0, pic2)); |
279 | composite.font("@coolvetica.ttf"); | 279 | composite.font("@coolvetica.ttf"); |
280 | 280 | ||
281 | double fontsize = rand() % 72 + 16; | 281 | double fontsize = 72; |
282 | for (;;) | 282 | for (;;) |
283 | { | 283 | { |
284 | composite.fontPointsize(fontsize); | 284 | composite.fontPointsize(fontsize); |
@@ -309,7 +309,8 @@ int main(int argc, char** argv) | |||
309 | composite.fontTypeMetrics(ant2, &metric); | 309 | composite.fontTypeMetrics(ant2, &metric); |
310 | int x2 = (width - 40 - metric.textWidth())/2+20+width; | 310 | int x2 = (width - 40 - metric.textWidth())/2+20+width; |
311 | composite.strokeColor("white"); | 311 | composite.strokeColor("white"); |
312 | composite.strokeWidth(1); | 312 | composite.strokeWidth(2); |
313 | composite.antiAlias(false); | ||
313 | composite.draw(Magick::DrawableText(x1, y, ant1)); | 314 | composite.draw(Magick::DrawableText(x1, y, ant1)); |
314 | composite.draw(Magick::DrawableText(x2, y, ant2)); | 315 | composite.draw(Magick::DrawableText(x2, y, ant2)); |
315 | 316 | ||