You are not logged in.

#1 2022-11-07 15:16:23

luofeiyu
Member
Registered: 2015-11-03
Posts: 30

[Solved]How can i know which is my system monospace font?

Here is the /etc/fonts/fonts.conf :

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/fonts.conf file to configure system font access -->
<fontconfig>
	<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
		<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
	</its:rules>
	<description>Default configuration file</description>
        <dir>/usr/share/fonts</dir>
	<dir>/usr/local/share/fonts</dir>
	<dir prefix="xdg">fonts</dir>
	<!-- the following element will be removed in the future -->
	<dir>~/.fonts</dir>
	<match target="pattern">
		<test qual="any" name="family">
			<string>mono</string>
		</test>
		<edit name="family" mode="assign" binding="same">
			<string>monospace</string>
		</edit>
	</match>
	<match target="pattern">
		<test qual="any" name="family">
			<string>sans serif</string>
		</test>
		<edit name="family" mode="assign" binding="same">
			<string>sans-serif</string>
		</edit>
	</match>
	<match target="pattern">
		<test qual="any" name="family">
			<string>sans</string>
		</test>
		<edit name="family" mode="assign" binding="same">
			<string>sans-serif</string>
		</edit>
	</match>
	<selectfont>
		<rejectfont>
			<glob>*.dpkg-tmp</glob>
		</rejectfont>
	</selectfont>
	<selectfont>
		<rejectfont>
			<glob>*.dpkg-new</glob>
		</rejectfont>
	</selectfont>
<include ignore_missing="yes">conf.d</include>

	<cachedir>/var/cache/fontconfig</cachedir>
	<cachedir prefix="xdg">fontconfig</cachedir>
	<cachedir>~/.fontconfig</cachedir>
	<config>
		<rescan>
			<int>30</int>
		</rescan>
	</config>
</fontconfig>

How can i know which is my system monospace font?

Last edited by luofeiyu (2022-11-07 15:52:44)

Offline

#2 2022-11-07 15:27:08

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,261

Re: [Solved]How can i know which is my system monospace font?

fc-match monospace

Where is this font config from doesn't look like the one included in the fontconfig package, is this an Arch install?

Offline

#3 2022-11-07 15:27:19

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,442

Re: [Solved]How can i know which is my system monospace font?

Edit: moot

Last edited by seth (2022-11-07 15:28:40)

Offline

Board footer

Powered by FluxBB