What is the font in Ubuntu which is just called "Sans"?
772
There are lots of sans fonts in Ubuntu, for example "Liberation Sans", "FreeSans", "Deja Vu Sans", "Noto Sans". But who made the one that is just called "Sans" and which package is it from?
Font names in Ubuntu are managed by library named fontconfig. fontconfig has a notion of aliases; four of those aliases are sans, sans-serif, serif, and monospace. To see what actual fonts are pointed to by those aliases use the command fc-match:
To modify the meaning of the standard aliases sans, sans-serif, serif and monospace you must create or edit a per-user configuration file, ~/.config/fontconfig/fonts.conf (or ~/.fonts.conf, depending on fontconfig version and system configuration). (You can of course edit the system-wide configuration file, but that would be rude.) For example,
Font names in Ubuntu are managed by library named
fontconfig
.fontconfig
has a notion of aliases; four of those aliases aresans
,sans-serif
,serif
, andmonospace
. To see what actual fonts are pointed to by those aliases use the commandfc-match
:To modify the meaning of the standard aliases
sans
,sans-serif
,serif
andmonospace
you must create or edit a per-user configuration file,~/.config/fontconfig/fonts.conf
(or~/.fonts.conf
, depending onfontconfig
version and system configuration). (You can of course edit the system-wide configuration file, but that would be rude.) For example,See a worked out example at How to Set Default Fonts on Linux on Season of Code.