]> granicus.if.org Git - imagemagick/commitdiff
https://github.com/ImageMagick/ImageMagick/issues/310
authorCristy <urban-warrior@imagemagick.org>
Sun, 10 Sep 2017 12:27:45 +0000 (08:27 -0400)
committerCristy <urban-warrior@imagemagick.org>
Sun, 10 Sep 2017 12:29:44 +0000 (08:29 -0400)
Magick++/demo/demo.cpp

index 15c91e972d25e687aebba6020aa8c45f918733fb..4a1558721910ad0a749975ed3d0fb70b3717248e 100644 (file)
@@ -31,9 +31,6 @@ int main( int /*argc*/, char ** argv)
     if(getenv("SRCDIR") != 0)
       srcdir = getenv("SRCDIR");
     
-    // Common font to use.
-    string font = "Helvetica";
-
     list<Image> montage;
 
     {
@@ -85,7 +82,6 @@ int main( int /*argc*/, char ** argv)
       example.label( "Annotate" );
       example.density( "72x72" );
       example.fontPointsize( 18 );
-      example.font( font );
       example.strokeColor( Color() );
       example.fillColor( "gold" );
       example.annotate( "Magick++", "+0+20", NorthGravity );
@@ -466,7 +462,6 @@ int main( int /*argc*/, char ** argv)
       //
       cout <<  "Montage images..." << endl;
 
-      for_each( images.begin(), images.end(), fontImage( font ) );
       for_each( images.begin(), images.end(), strokeColorImage( Color("#600") ) );
 
       MontageFramed montageOpts;
@@ -476,7 +471,6 @@ int main( int /*argc*/, char ** argv)
       montageOpts.borderWidth( 1 );
       montageOpts.tile( "7x4" );
       montageOpts.backgroundColor( "#ffffff" );
-      montageOpts.font( font );
       montageOpts.pointSize( 18 );
       montageOpts.fillColor( "#600" );
       montageOpts.strokeColor( Color() );