Re: defoma and its font path
Camaleón <noelamac@gmail.com> writes:
> TrueType fonts can be simply copied/pasted into one of the available font
> path folders and that should be all.
It isn't that simple. With what you can get from dpkg-reconfigure
fontconfig-config, the fonts don't look too great and they look really
awful in emacs-frames. Following the instructions on [1], placing stuff
into ~/.fonts.conf.d like
,----
| <?xml version="1.0"?>
| <match target="font">
| <edit name="autohint" mode="assign">
| <bool>false</bool>
| </edit>
| </match>
|
| <match target="font">
| <edit name="rgba" mode="assign">
| <const>rgb</const>
| </edit>
| </match>
|
| <match target="font">
| <edit mode="assign" name="lcdfilter">
| <const>lcddefault</const>
| </edit>
| </match>
|
| <match target="font">
| <edit name="antialias" mode="assign">
| <bool>true</bool>
| </edit>
| </match>
`----
... and "Emacs.FontBackend: xft" into ~/.Xresources finally gives good
results (on a tft monitor). There's probably even room for improvement
(and it's up to what you prefer). I just haven't bothered with it any
more yet because the difference is like night and day already.
It's arguable whether there should be some more options given by
fontconfig-config, including the ability to set user-specific
defaults. --- On a side note, the tendency of splitting configurations
into numerous little files really should be stopped. It only makes it
harder and harder to find out what's going on :(
The Debian pages I could find about this weren't very good. BTW, is that
only me, or does it become increasingly difficult to keep a Debian
system configured the way you want to because things become ever more
cryptic and hidden? Or is that only due to hard- and software becoming
more powerful and complex?
[1]: https://wiki.archlinux.org/index.php/Font_Configuration
--
Debian testing amd64
Reply to: