debian font install

The time has come to install 3rd party fonts to a linux laptop. It was not easy to find out how to do this. Although the process itself is simple:

# defoma-hints --no-question {type} /usr/share/fonts/{type}/{dir}/{files} >/etc/defoma/hints/{name}.hints
# defoma-font register-all /etc/defoma/hints/{name}.hints
# dpkg-reconfigure fontconfig