[GRASS-dev] Re: [GRASS-user] Fonts missing

Glynn Clements glynn at gclements.plus.com
Wed May 28 11:26:54 EDT 2008


Hamish wrote:

> [-> -dev]
> 
> Markus:
> > Great, thanks, Paul.
> > I have polished the message and backported to 6.4.
> 
> 
> general question: if the gfontcap file is broken or the fond load
> somehow fails the default font drops back to the default romans one? 
> or is nothing rendered in that case?
> 
> falling back to romans if all else fails would be better than nothing I think.

R_font() falls back to "romans" if the font isn't an absolute path and
isn't found in the fontcap file.

If the font is an absolute path, but the file doesn't exist (cannot be
opened for read), no action is taken (any existing font remains
active).

See COM_Font_get() in lib/driver/Font.c.

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


More information about the grass-dev mailing list