mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 06:27:16 +08:00
tuningfonts:
Rework second fc-match example: 'fcmatch -a TYPE | less' is useless: -a functions similarly to fc-list, any following parameter is ignored. So the example listed all installed font-style-weight combinations for all three TYPEs. Replace by plain fc-match TYPE. Remove TYPE specification from introductory paragraph, it is only used for the replacement command here. Use the same markup for the command and in the explanations, so that a capital TYPE in the explanations is replaced by a smaller slanted TYPE. The command after this shows a fuller variant with the type, lang and weight being specified.
This commit is contained in:
parent
0262f7c8d8
commit
69c8f9fa3f
@ -153,7 +153,7 @@
|
||||
The following commands may be helpful when working with
|
||||
<application>Fontconfig</application>,
|
||||
particularly if you are interested in overriding which font will be
|
||||
chosen. 'TYPE' should be one of serif, sans-serif or monospace.
|
||||
chosen.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
@ -173,12 +173,14 @@
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<command>fc-match -a <replaceable>Type</replaceable> | less</command> :
|
||||
provides a list of all fonts which can be used for that type (Monospace,
|
||||
Sans, Sans-serif, Serif <emphasis>(capital letters optional)</emphasis>).
|
||||
Note that in-extremis <application>Fontconfig</application> will take a
|
||||
glyph from any available font, even if it is not of the specified type,
|
||||
and unless it knows about the font's type it will assume it is Sans.
|
||||
<command>fc-match <replaceable>TYPE</replaceable></command> : shows which
|
||||
font will be used in the current language for that
|
||||
<!-- match style of TYPE in command and explanations -->
|
||||
<replaceable>TYPE</replaceable> (Monospace, Sans, Serif <emphasis>(initial
|
||||
capital letter is optional)</emphasis>). If that font does not map a
|
||||
codepoint, <application>Fontconfig</application> can take a glyph from any
|
||||
available font, even if it is not of the specified type. Any other value
|
||||
for <replaceable>TYPE</replaceable> will be assumed to be Sans.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
|
Loading…
Reference in New Issue
Block a user