Cross Reference: 49-sansserif.conf
xref: /xsrc/external/mit/fontconfig/dist/conf.d/49-sansserif.conf
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /xsrc/external/mit/fontconfig/dist/conf.d/
12c393a42Smrg<?xml version="1.0"?>
2a4e54154Smrg<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
32c393a42Smrg<fontconfig>
4a32e9e42Smrg  <description>Add sans-serif to the family when no generic name</description>
52c393a42Smrg<!--
62c393a42Smrg  If the font still has no generic name, add sans-serif
72c393a42Smrg -->
82c393a42Smrg	<match target="pattern">
92c393a42Smrg		<test qual="all" name="family" compare="not_eq">
102c393a42Smrg			<string>sans-serif</string>
112c393a42Smrg		</test>
122c393a42Smrg		<test qual="all" name="family" compare="not_eq">
132c393a42Smrg			<string>serif</string>
142c393a42Smrg		</test>
152c393a42Smrg		<test qual="all" name="family" compare="not_eq">
162c393a42Smrg			<string>monospace</string>
172c393a42Smrg		</test>
182c393a42Smrg		<edit name="family" mode="append_last">
192c393a42Smrg			<string>sans-serif</string>
202c393a42Smrg		</edit>
212c393a42Smrg	</match>
222c393a42Smrg</fontconfig>
23

Indexes created Sat Nov 29 00:09:30 GMT 2025