Hi Deri,
Thank you! Yes, this solution is much easier than having to install
fonts manually. Some questions and random findings/thoughts:
It seems that it only works for PDF output, is there a similar simple
solution for PostScript?
Also, it was not completely friction-less for me because I had to
compile groff from source and add --with-urw-fonts-dir to ./configure
command. I don't know if it is the case for other distributions as well,
but on Arch Linux groff package does not include the URW fonts. I don't
know if there is a good reason for it or it is some sort of mistake.
I think the fact that using URW fonts makes writing documents with
Cyrillic and other characters much easier should be documented
somewhere--although, I don't know which one of the man pages (or the
info manual) would be the best place to suit such information.
The built-in ru macro package can print a warning if enabled fonts lack
support for Cyrillic script. Maybe such warnings in ru and other
language-specific packages could be updated to ask a user to enable URW
fonts?
> I have wished groff had a flag which let you pick the U- foundry for
> all fonts, for many years, but alas!
I ran a little experiment to make groff always use URW fonts instead of
default T* family, to no avail. I expected both of these snippets to
work but neither of them did. If it did work, I imagine you could put it
in a macro package and use it with -murw!
.fp \n[.fp] TR U-TR
.fp \n[.fp] TI U-TI
.fp \n[.fp] TB U-TB
.fp \n[.fp] TBI U-TBI
.fp \n[.fp] U-TR
.fp \n[.fp] U-TI
.fp \n[.fp] U-TB
.fp \n[.fp] U-TBI
.ftr TR U-TR
.ftr TI U-TI
.ftr TB U-TB
.ftr TBI U-TBI