#3090: d.font does not change default font in monitors
------------------------+-------------------------
Reporter: veroandreo | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.2.0
Component: Display | Version: unspecified
Keywords: d.font | CPU: x86-64
Platform: Linux |
------------------------+-------------------------
d.font -l and d.fontlist give 439 possibilities for fonts. However,
{{{
d.font font="whatever_font_from_the_439_items_list"
}}}
does not change font setting in monitors, nor raise any error/warning. The
only error appears when trying to set, for example, {{{font=romanp}}}
which is indeed listed as option in d.font manual page
(https://grass.osgeo.org/grass73/manuals/d.font.html).
Whatever font I choose, monitors keep using default roman, which IMHO
looks awful and makes that the output of d.text or d.vect.thematic, for
example, look terrible, too.
The only way I found to effectively change font for d.mon was with:
{{{
export GRASS_FONT="sans"
}}}
#3090: d.font does not change default font in monitors
-------------------------+-------------------------
Reporter: veroandreo | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.2.0
Component: Display | Version: unspecified
Resolution: | Keywords: d.font
CPU: x86-64 | Platform: Linux
-------------------------+-------------------------
Comment (by veroandreo):
Replying to [comment:1 annakrat]:
> d.font calls `D_font` but that affects only the font in that process.
If by process you mean a particular monitor, that's the case I'm
reporting. Here, what I do:
{{{
d.mon wx0
d.font font="sans"
d.text "Hello GRASS GIS"
}}}
No sans font, but the default roman. However, please try saving the wx0
monitor with "Save Display to file", something strange happens... The
"Hello GRASS" part disappears and only "GIS" word remain and with a
different font.