On Tue, Jun 14, 2022 at 12:40 PM Michael Hennebry < hennebry@web.cs.ndsu.nodak.edu> wrote:
On Mon, 13 Jun 2022, Michael Hennebry wrote:
On Mon, 13 Jun 2022, George N. White III wrote:
Use fontconfig's fc-match to check system defaults (which may depend on the language)
Fedora 35: fc-match monospace:en DejaVuSansMono.ttf: "DejaVu Sans Mono" "Regular"
Looks like it might be the answer. No time to try it right now.
Possibly not. Changing pfn seems to have no effect. Setting gfn does have an effect. No spelling of DejaVu Sans Mono seems to have any effect, whether with 0, 2 or 3 escaped spaces. :set gfn=Helvectica does have an effect. :set pfn=Helvectica does have an effect. From print-to-file, Helvetica seems to be gedit's print font.
BTW where is Helvetica stored?
on both Fedora 35 and 36:
% fc-match Helvetica:en NimbusSans-Regular.otf: "Nimbus Sans" "Regular"
It seems not to be under /usr/share/fonts . find /usr -name '*vetica*' doesn't.
You can't rely on legacy font names as there have been multiple "clones", often supporting additional languages (hence the need to specify a language). The fontconfig system provides aliases for the legacy Adobe names.