Homepage > Man Pages > Category > General Commands
Homepage > Man Pages > Name > D


man page of d.font

d.font: Selects the font in which text will be displayed on the user's graphics monitor.


d.font - Selects the font in which text will be displayed on the user's graphics monitor.


d.font d.font help d.font [-lL] [font=string] [path=string] [charset=string] [--verbose] [--quiet] Flags: -l List fonts -L List fonts verbosely --verbose Verbose module output --quiet Quiet module output Parameters: font=string Choose new current font Default: romans path=string Path to Freetype-compatible font including file name charset=string Character encoding Default: UTF-8
d.font.freetype selects the freetype font in which text will be displayed on the user's graphics monitor. The text (character strings) displayed on the GRASS monitor was internationalized. Internationalization does not use vector (Hershey) fonts as the old version, but it uses instead TrueType fonts which enables the display of Double Byte characters such as Japanese character set. To set up TrueType fonts, d.font.freetype performs font and character encodings. This internationalization can now display Japanese and other (asian) language texts from vector labels, legends, etc.


To enable displaying of a TrueType font on the GRASS monitor, run: d.mon x0 d.font.freetype [font=TrueTypefontname] [charset=encoding] #with: # [font]: TrueType font path (full path including font file name) # [charset]: character encoding (EUC-JP, UTF-8, SJIS) # Examples on Redhat Linux 9.x: d.font.freetype font=/usr/share/fonts/ja/TrueType/kochi-gothic.ttf charset=EUC-JP d.font.freetype font=/usr/X11R6/lib/X11/fonts/TTF/luximb.ttf # Example on Mandrake 10: d.font.freetype font=/usr/X11R6/lib/X11/fonts/TTF/ipag.ttf charset=EUC- JP d.font.freetype font=/usr/share/fonts/openoffice/Vera.ttf d.font.freetype font=/usr/share/fonts/ttf/vera/Vera.ttf # Example using the freetypecap file: d.font.freetype -l d.font.freetype font=batang


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.


d.text d.text.freetype d.font d.vect


FOSS4G members. Project sponsored by IPA (Information-technology Promotion Agency, Japan) Last changed: $Date: 2007-04-07 13:34:10 +0200 (Sat, 07 Apr 2007) $ Full index (C) 2003-2010 GRASS Development Team D.FONT(1)

Copyright © 2011–2018 by topics-of-interest.com . All rights reserved. Hosted by all-inkl.
Contact · Imprint · Privacy

Page generated in 22.49ms.

autoresponder.name | fliegender-drache.de | elternfragen.net