| 1 |
<page xmlns="http://projectmallard.org/1.0/" |
| 2 |
xmlns:e="http://projectmallard.org/experimental/" |
| 3 |
type="topic" style="task" id="substitution"> |
| 4 |
|
| 5 |
<info> |
| 6 |
<link type="guide" xref="index#advanced"/> |
| 7 |
<desc>Substitute one font family for another</desc> |
| 8 |
</info> |
| 9 |
|
| 10 |
<title>Substitution</title> |
| 11 |
|
| 12 |
<p> |
| 13 |
<app>Font Manager</app> allows you to substitute one font family for another. |
| 14 |
</p> |
| 15 |
|
| 16 |
<list> |
| 17 |
<item> |
| 18 |
<title>To add a substitute:</title> |
| 19 |
<steps> |
| 20 |
<item> |
| 21 |
<p> |
| 22 |
Open the <app>Font Manager</app> preferences dialog |
| 23 |
by clicking |
| 24 |
<gui> |
| 25 |
<media type="image" src="media/open-menu.svg"/> |
| 26 |
</gui> |
| 27 |
at the top of the window and selecting Preferences from the menu. |
| 28 |
</p> |
| 29 |
</item> |
| 30 |
<item> |
| 31 |
<p>Select "Substitutions" from the sidebar</p> |
| 32 |
</item> |
| 33 |
<item> |
| 34 |
<p> |
| 35 |
Click |
| 36 |
<gui> |
| 37 |
<media type="image" src="media/list-add-symbolic.svg"/> |
| 38 |
</gui> |
| 39 |
in the substitutions pane. |
| 40 |
</p> |
| 41 |
</item> |
| 42 |
<item> |
| 43 |
<p> |
| 44 |
Enter the name of the font family you wish to set up a substitute for. |
| 45 |
</p> |
| 46 |
</item> |
| 47 |
<item> |
| 48 |
<p> |
| 49 |
Click |
| 50 |
<gui> |
| 51 |
<media type="image" src="media/list-add-symbolic.svg"/> |
| 52 |
</gui> |
| 53 |
on the right. |
| 54 |
</p> |
| 55 |
</item> |
| 56 |
<item> |
| 57 |
<p> |
| 58 |
Enter the name of the substitute family and select the priority level. |
| 59 |
</p> |
| 60 |
</item> |
| 61 |
<item> |
| 62 |
<p> |
| 63 |
Repeat steps 3 – 6 as needed. |
| 64 |
</p> |
| 65 |
</item> |
| 66 |
<item> |
| 67 |
<p> |
| 68 |
Click <gui style="button">Save</gui> to write the |
| 69 |
configuration file when done. |
| 70 |
</p> |
| 71 |
</item> |
| 72 |
</steps> |
| 73 |
</item> |
| 74 |
<item> |
| 75 |
<title>To remove a substitute:</title> |
| 76 |
<steps> |
| 77 |
<item> |
| 78 |
<p> |
| 79 |
Open the <app>Font Manager</app> preferences dialog |
| 80 |
by clicking |
| 81 |
<gui> |
| 82 |
<media type="image" src="media/open-menu.svg"/> |
| 83 |
</gui> |
| 84 |
at the top of the window and selecting Preferences from the menu. |
| 85 |
</p> |
| 86 |
</item> |
| 87 |
<item> |
| 88 |
<p>Select "Substitutions" from the sidebar</p> |
| 89 |
</item> |
| 90 |
<item> |
| 91 |
<p> |
| 92 |
Select the entry you wish to remove from the list. |
| 93 |
</p> |
| 94 |
</item> |
| 95 |
<item> |
| 96 |
<p> |
| 97 |
Click |
| 98 |
<gui> |
| 99 |
<media type="image" src="media/list-remove-symbolic.svg"/> |
| 100 |
</gui> |
| 101 |
in the substitutions pane. |
| 102 |
</p> |
| 103 |
</item> |
| 104 |
<item> |
| 105 |
<p> |
| 106 |
Click <gui style="button">Save</gui> to write the |
| 107 |
configuration file when done. |
| 108 |
</p> |
| 109 |
</item> |
| 110 |
</steps> |
| 111 |
</item> |
| 112 |
</list> |
| 113 |
|
| 114 |
<note style="important"> |
| 115 |
<p> |
| 116 |
Fonts matching the target family are edited to prepend the list of |
| 117 |
preferred families before the matching family, append the acceptable |
| 118 |
families after the matching family and append the default families |
| 119 |
to the end of the family list. |
| 120 |
</p> |
| 121 |
<p> |
| 122 |
While changes are applied immediately open applications may need to |
| 123 |
be restarted. |
| 124 |
</p> |
| 125 |
</note> |
| 126 |
|
| 127 |
</page> |