ÐÐÐСÐÐÐÐ d.text.freetype draws text in the graphics monitor's active display frame using TrueType fonts already installed on the user's system. Parameter Notes: at=x,y Locates the text at this screen position (percentage, [0,0] is bottom left). If this option is omitted, the user will be prompted to use the mouse to specify the location. font=name Specifies a font listed in the GRASS 'freetypecap' definition file. charset=name Sets character encoding for input text. (e.g. ISO-8859-1) color=name Sets text color to name or R:G:B triplet. It can also be a hexadecimal value of 0xRRGGBB (deprecated). Options: red, orange, yellow, green, blue, indigo, violet, gray, white, and black Default: gray size=value Sets text height in percent of available frame height. Default: 10 align=name Aligns text in this way. Options: ll, lc, lr, cl, cc, cr, ul, uc, ur l?: Lower, c?: Vertically Centered, u?: Upper, ?l: Left, ?c: Horizontally Centered, ?r: Right Default: ll (Lower Left) Command mode: Key {REQUIRED} [OPTIONAL] THIS|orTHAT +, - Relative value r, %, p Radian, Percentage, and Pixels respectively ÐÐÐÐÐÐЫ .F {font|path}[:charset] font .C {color_name|R:G:B} color (default: gray) .S [+|-]size[p] size (default: 5) .B {0|1} bold (default: 0) .A {ll|lc|lr|cl|cc|cr|ul|uc|ur} align (default: ll) .R [+|-]rotation[r] rotation (default: 0) .I linespacing linespacing (default: 1.1) .X [+|-]x[%|p] x-coord .Y [+|-]y[%|p] y-coord .L {0|1} linefeed (default: 1) .E [+|-]east[%|p] x-origin .N [+|-]north[%|p] y-origin .. dot To end input, press Ctrl-d on a blank line. ÐÐ ÐÐÐРЫ Standard mode: d.text.freetype text="GRASS GIS" -g at=2107055,5603133 \ size=7 path=/usr/X11R6/lib/X11/fonts/TTF/luximb.ttf Command mode: The following example prints three lines: "GRASS d.text.freetype output", "See test.input file", and "for more details.". d.text.freetype -c .F /usr/X11R6/lib/X11/fonts/TTF/luximb.ttf:ISO-8859-1 .S 20p .L 0 GRASS .C red d.text.freetype .C gray output .L 1 See test.input file for more details. Command mode instructions may also be read directly from a text file: d.text.freetype -c < test.input DEFINITION FILE To help users select fonts conveniently, the definition file, $(GISBASE)/etc/freetypecap, is provided. Its format is as follows: font:fontpath:charset:description *default_font:fontpath:charset:description See the file for examples. СÐ. ТÐÐÐÐ [1]d.text [2]d.font.freetype [3]d.font [4]d.title [5]d.where ÐÐТÐÐ Huidae Cho <[6]grass4u@gmail.com> Updates by Hamish Bowman, NZ Last changed: $Date: 2007-04-07 06:34:10 -0500 (Сб, 07 Ð°Ð¿Ñ 2007) $ ÐвÑÐ¾Ñ Ð¿ÐµÑевода References 1. file://localhost/root/tmp/2/fin/d.text.html 2. file://localhost/root/tmp/2/fin/d.font.freetype.html 3. file://localhost/root/tmp/2/fin/d.font.html 4. file://localhost/root/tmp/2/fin/d.title.html 5. file://localhost/root/tmp/2/fin/d.where.html 6. mailto:grass4u@gmail.com