Reputation: 339
Which font is the default sans-serif
font in Linux? When I go in Windows in Firefox to Options > Font > Advanced I can see that the default sans-serif
font is Arial, but in Linux it only shows sans-serif
as a font by itself.
Any idea how can I check which sans-serif
font is this?
Upvotes: 33
Views: 28943
Reputation: 511
If fonts are handled by fontconfig then they are defined in /etc/fonts.
It seems the command fc-match
does the mapping from 'serif', 'sans-serif', etc. to the actual fonts:
$ fc-match sans-serif
Vera.ttf: "Bitstream Vera Sans" "Roman"
$ fc-match monospace
VeraMono.ttf: "Bitstream Vera Sans Mono" "Roman"
Upvotes: 51
Reputation: 1693
Most modern GNU/Linux distributions, like OpenSuSE and Fedora for example, use fontconfig for fonts management and configuration. The configuration is stored in /etc/fonts/
and it's sub-directories. There will be a mapping file there, but the name of the file varies from distribution to distribution and from version to version. For example in OpenSuSE 12.3 you can find default mappings in /etc/fonts/conf.d/58-suse-post-user.conf
Upvotes: 1
Reputation: 15118
The sans-serif font will be an open-source alternative to the proprietary fonts you may be accustomed to.
As a generalisation, Linux distributions have support for TrueType fonts like Lucida, Helvetica and Arial, but you have to download them separately - they don't come pre-installed.
for example, see this link
Upvotes: 2
Reputation: 4222
there isn't such a thing as THE linux, each ships with a different set of fonts. you might already know that sans serif refers to a family of fonts...
Upvotes: 1