From: <and...@us...> - 2009-01-19 13:22:11
|
Revision: 9346 http://plplot.svn.sourceforge.net/plplot/?rev=9346&view=rev Author: andrewross Date: 2009-01-19 12:08:22 +0000 (Mon, 19 Jan 2009) Log Message: ----------- Update instructions for example 24 since -drvopt smooth=0 is no longer required. Also add comment on which font packages are required for Ubuntu. Modified Paths: -------------- trunk/bindings/octave/demos/x24c.m trunk/examples/c/x24c.c trunk/examples/c++/x24.cc trunk/examples/f77/x24f.fm4 trunk/examples/f95/x24f.f90 trunk/examples/java/x24.java trunk/examples/ocaml/x24.ml trunk/examples/perl/x24.pl trunk/examples/python/xw24.py trunk/examples/tcl/x24.tcl Modified: trunk/bindings/octave/demos/x24c.m =================================================================== --- trunk/bindings/octave/demos/x24c.m 2009-01-19 10:07:43 UTC (rev 9345) +++ trunk/bindings/octave/demos/x24c.m 2009-01-19 12:08:22 UTC (rev 9346) @@ -30,7 +30,7 @@ ## PLPLOT_FREETYPE_MONO_FONT=$TTFDIR/ttf-devanagari-fonts/lohit_hi.ttf \ ## PLPLOT_FREETYPE_SCRIPT_FONT=$TTFDIR/unfonts/UnBatang.ttf \ ## PLPLOT_FREETYPE_SYMBOL_FONT=$TTFDIR/ttf-bengali-fonts/JamrulNormal.ttf \ -## ./x24c -dev png -drvopt smooth=0 -o x24c.png ) +## ./x24c -dev png -o x24c.png ) ## ## Packages needed: ## @@ -40,7 +40,11 @@ ## ttf-unfonts ## ttf-bengali-fonts ## +## For the latest Ubuntu systems lohit_hi.ttf has been moved to the +## ttf-indic-fonts-core package instead of ttf-devanagari-fonts so you +## will have to use this package instead and update the font path. + 1; function ix24c @@ -146,4 +150,4 @@ end -ix24c \ No newline at end of file +ix24c Modified: trunk/examples/c/x24c.c =================================================================== --- trunk/examples/c/x24c.c 2009-01-19 10:07:43 UTC (rev 9345) +++ trunk/examples/c/x24c.c 2009-01-19 12:08:22 UTC (rev 9346) @@ -29,7 +29,7 @@ PLPLOT_FREETYPE_MONO_FONT=$TTFDIR/ttf-devanagari-fonts/lohit_hi.ttf \ PLPLOT_FREETYPE_SCRIPT_FONT=$TTFDIR/unfonts/UnBatang.ttf \ PLPLOT_FREETYPE_SYMBOL_FONT=$TTFDIR/ttf-bengali-fonts/JamrulNormal.ttf \ - ./x24c -dev png -drvopt smooth=0 -o x24c.png ) + ./x24c -dev png -o x24c.png ) Packages needed: @@ -38,6 +38,10 @@ ttf-devanagari-fonts ttf-unfonts ttf-bengali-fonts + + For the latest Ubuntu systems lohit_hi.ttf has been moved to the + ttf-indic-fonts-core package instead of ttf-devanagari-fonts so you + will have to use this package instead and update the font path. */ Modified: trunk/examples/c++/x24.cc =================================================================== --- trunk/examples/c++/x24.cc 2009-01-19 10:07:43 UTC (rev 9345) +++ trunk/examples/c++/x24.cc 2009-01-19 12:08:22 UTC (rev 9346) @@ -28,7 +28,7 @@ // PLPLOT_FREETYPE_MONO_FONT=/usr/share/fonts/truetype/ttf-devanagari-fonts/lohit_hi.ttf \ // PLPLOT_FREETYPE_SCRIPT_FONT=/usr/share/fonts/truetype/unfonts/UnBatang.ttf \ // PLPLOT_FREETYPE_SYMBOL_FONT=/usr/share/fonts/truetype/ttf-bangla-fonts/JamrulNormal.ttf \ -// ./x24 -dev png -drvopt smooth=0 -o x24cxx.png +// ./x24 -dev png -o x24cxx.png // // Packages needed: // @@ -38,6 +38,9 @@ // ttf-unfonts // ttf-bangla-fonts // +// For the latest Ubuntu systems lohit_hi.ttf has been moved to the +// ttf-indic-fonts-core package instead of ttf-devanagari-fonts so you +// will have to use this package instead and update the font path. // Modified: trunk/examples/f77/x24f.fm4 =================================================================== --- trunk/examples/f77/x24f.fm4 2009-01-19 10:07:43 UTC (rev 9345) +++ trunk/examples/f77/x24f.fm4 2009-01-19 12:08:22 UTC (rev 9346) @@ -1,3 +1,4 @@ +C $Id:$ C Unicode Pace Flag C C Copyright (C) 2005 Rafael Laboissiere @@ -28,7 +29,7 @@ C PLPLOT_FREETYPE_MONO_FONT=$TTFDIR/ttf-devanagari-fonts/lohit_hi.ttf \ C PLPLOT_FREETYPE_SCRIPT_FONT=$TTFDIR/unfonts/UnBatang.ttf \ C PLPLOT_FREETYPE_SYMBOL_FONT=$TTFDIR/ttf-bengali-fonts/JamrulNormal.ttf \ -C ./x24c -dev png -drvopt smooth=0 -o x24c.png ) +C ./x24f -dev png -o x24f.png ) C C Packages needed: C @@ -38,6 +39,9 @@ C ttf-unfonts C ttf-bengali-fonts C +C For the latest Ubuntu systems lohit_hi.ttf has been moved to the +C ttf-indic-fonts-core package instead of ttf-devanagari-fonts so you +C will have to use this package instead and update the font path. program x24f implicit none Modified: trunk/examples/f95/x24f.f90 =================================================================== --- trunk/examples/f95/x24f.f90 2009-01-19 10:07:43 UTC (rev 9345) +++ trunk/examples/f95/x24f.f90 2009-01-19 12:08:22 UTC (rev 9346) @@ -1,4 +1,4 @@ -! $Id:$ +! $Id$ ! ! Unicode Pace Flag ! @@ -30,7 +30,7 @@ ! PLPLOT_FREETYPE_MONO_FONT=$TTFDIR/ttf-devanagari-fonts/lohit_hi.ttf \ ! PLPLOT_FREETYPE_SCRIPT_FONT=$TTFDIR/unfonts/UnBatang.ttf \ ! PLPLOT_FREETYPE_SYMBOL_FONT=$TTFDIR/ttf-bengali-fonts/JamrulNormal.ttf \ -! ./x24c -dev png -drvopt smooth=0 -o x24c.png ) +! ./x24f -dev png -o x24f95.png ) ! ! Packages needed: ! @@ -40,7 +40,11 @@ ! ttf-unfonts ! ttf-bengali-fonts ! +! For the latest Ubuntu systems lohit_hi.ttf has been moved to the +! ttf-indic-fonts-core package instead of ttf-devanagari-fonts so you +! will have to use this package instead and update the font path. + program x24f use plplot implicit none Modified: trunk/examples/java/x24.java =================================================================== --- trunk/examples/java/x24.java 2009-01-19 10:07:43 UTC (rev 9345) +++ trunk/examples/java/x24.java 2009-01-19 12:08:22 UTC (rev 9346) @@ -31,7 +31,7 @@ // PLPLOT_FREETYPE_MONO_FONT=/usr/share/fonts/truetype/ttf-devanagari-fonts/lohit_hi.ttf \ // PLPLOT_FREETYPE_SCRIPT_FONT=/usr/share/fonts/truetype/unfonts/UnBatang.ttf \ // PLPLOT_FREETYPE_SYMBOL_FONT=/usr/share/fonts/truetype/ttf-bangla-fonts/JamrulNormal.ttf \ -// ./x24 -dev png -drvopt smooth=0 -o x24cxx.png +// java -cp /path/to/plplot.jar plplot.examples.x24 -dev png -o x24j.png // // Packages needed: // @@ -41,6 +41,9 @@ // ttf-unfonts // ttf-bangla-fonts // +// For the latest Ubuntu systems lohit_hi.ttf has been moved to the +// ttf-indic-fonts-core package instead of ttf-devanagari-fonts so you +// will have to use this package instead and update the font path. // package plplot.examples; Modified: trunk/examples/ocaml/x24.ml =================================================================== --- trunk/examples/ocaml/x24.ml 2009-01-19 10:07:43 UTC (rev 9345) +++ trunk/examples/ocaml/x24.ml 2009-01-19 12:08:22 UTC (rev 9346) @@ -30,7 +30,7 @@ PLPLOT_FREETYPE_MONO_FONT=$TTFDIR/ttf-devanagari-fonts/lohit_hi.ttf \ PLPLOT_FREETYPE_SCRIPT_FONT=$TTFDIR/unfonts/UnBatang.ttf \ PLPLOT_FREETYPE_SYMBOL_FONT=$TTFDIR/ttf-bengali-fonts/JamrulNormal.ttf \ - ./x24c -dev png -drvopt smooth=0 -o x24c.png ) + ./x24ocaml -dev png -o x24ocaml.png ) Packages needed: @@ -39,6 +39,11 @@ ttf-devanagari-fonts ttf-unfonts ttf-bengali-fonts + + For the latest Ubuntu systems lohit_hi.ttf has been moved to the + ttf-indic-fonts-core package instead of ttf-devanagari-fonts so you + will have to use this package instead and update the font path. + *) open Plplot Modified: trunk/examples/perl/x24.pl =================================================================== --- trunk/examples/perl/x24.pl 2009-01-19 10:07:43 UTC (rev 9345) +++ trunk/examples/perl/x24.pl 2009-01-19 12:08:22 UTC (rev 9346) @@ -29,7 +29,7 @@ # PLPLOT_FREETYPE_MONO_FONT=/usr/share/fonts/truetype/ttf-devanagari-fonts/lohit_hi.ttf \ # PLPLOT_FREETYPE_SCRIPT_FONT=/usr/share/fonts/truetype/unfonts/UnBatang.ttf \ # PLPLOT_FREETYPE_SYMBOL_FONT=/usr/share/fonts/truetype/ttf-bangla-fonts/JamrulNormal.ttf \ -# ./x24.pl -dev png -drvopt smooth=0 -o x24pl.png +# ./x24.pl -dev png -o x24pdl.png # # Packages needed: # @@ -38,6 +38,11 @@ # ttf-indic-fonts # ttf-unfonts # ttf-bangla-fonts +# +# For the latest Ubuntu systems lohit_hi.ttf has been moved to the +# ttf-indic-fonts-core package instead of ttf-devanagari-fonts so you +# will have to use this package instead and update the font path. +# # SYNC: x24c.c 1.6 Modified: trunk/examples/python/xw24.py =================================================================== --- trunk/examples/python/xw24.py 2009-01-19 10:07:43 UTC (rev 9345) +++ trunk/examples/python/xw24.py 2009-01-19 12:08:22 UTC (rev 9346) @@ -31,7 +31,7 @@ # PLPLOT_FREETYPE_MONO_FONT=$TTFDIR/ttf-devanagari-fonts/lohit_hi.ttf \ # PLPLOT_FREETYPE_SCRIPT_FONT=$TTFDIR/unfonts/UnBatang.ttf \ # PLPLOT_FREETYPE_SYMBOL_FONT=$TTFDIR/ttf-bengali-fonts/JamrulNormal.ttf \ -# ./x24 -dev png -drvopt smooth=0 -o x24p.png ) +# ./x24 -dev png -o x24p.png ) # # Packages needed: # @@ -41,6 +41,9 @@ # ttf-unfonts # ttf-bengali-fonts # +# For the latest Ubuntu systems lohit_hi.ttf has been moved to the +# ttf-indic-fonts-core package instead of ttf-devanagari-fonts so you +# will have to use this package instead and update the font path. # # Translated from x24c.c into python by Thomas J. Duck Modified: trunk/examples/tcl/x24.tcl =================================================================== --- trunk/examples/tcl/x24.tcl 2009-01-19 10:07:43 UTC (rev 9345) +++ trunk/examples/tcl/x24.tcl 2009-01-19 12:08:22 UTC (rev 9346) @@ -1,5 +1,5 @@ #---------------------------------------------------------------------------- -# $Id:$ +# $Id$ #---------------------------------------------------------------------------- # Unicode Pace Flag @@ -33,7 +33,7 @@ # PLPLOT_FREETYPE_MONO_FONT=$TTFDIR/ttf-devanagari-fonts/lohit_hi.ttf \ # PLPLOT_FREETYPE_SCRIPT_FONT=$TTFDIR/unfonts/UnBatang.ttf \ # PLPLOT_FREETYPE_SYMBOL_FONT=$TTFDIR/ttf-bengali-fonts/JamrulNormal.ttf \ -# ./x24c -dev png -drvopt smooth=0 -o x24c.png ) +# ./x24 -dev png -o x24t.png ) # # Packages needed: # @@ -43,7 +43,11 @@ # ttf-unfonts # ttf-bengali-fonts # +# For the latest Ubuntu systems lohit_hi.ttf has been moved to the +# ttf-indic-fonts-core package instead of ttf-devanagari-fonts so you +# will have to use this package instead and update the font path. + proc x24 {{w loopback}} { matrix red i 7 = {240, 204, 204, 204, 0, 39, 125} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |