[GRASS-dev] iconv a required dependency for using Freetype?

Glynn Clements glynn at gclements.plus.com
Thu May 10 13:33:06 EDT 2007


Michael Barton wrote:

> In the GUI, I'm depending on d.font -l to supply font names in a valid
> format useable by GRASS_FONT. Is this still happening?

Yes, although the mechanism has changed. d.font no longer reads the
freetypecap file directly. Instead, it uses R_font_list() to get the
list from the driver.

At present, R_font_list() only returns the fonts from the freetypecap
file, and d.font manually merges the list of stroke fonts. If
lib/driver is changed to use the new file (which includes stroke
fonts), d.font can have the stroke font handling removed; it can just
output whatever list R_font_list() returns.

All of this should be transparent to the GUI.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list