@@ -136,7 +136,7 @@ Are we reinventing the wheel?
136
136
Internally, a feasible response to the question of 'reinventing the
137
137
wheel would be, well, Yes *and No *. The font-matching algorithm used
138
138
by Matplotlib has been *inspired * by web browsers, more specifically,
139
- `CSS Specifications <http://www.w3.org/TR/1998/REC-CSS2-19980512/ >`_!
139
+ `CSS Specifications <http://www.w3.org/TR/1998/REC-CSS2-19980512/ >`_.
140
140
141
141
Currently, the simplest way (and the only way) to tell Matplotlib what fonts
142
142
you want it to use for your document is via the **font.family ** rcParam,
@@ -146,7 +146,7 @@ This is similar to how one tells a browser to use multiple font families
146
146
(specified in their order of preference) for their HTML webpages. By using
147
147
**font-family ** in their stylesheet, users can essentially trigger a very
148
148
useful feature provided by browers, known as Font-Fallback. For example, the
149
- following snippet in an HTMl markup would:
149
+ following snippet in an HTML markup would:
150
150
151
151
.. code-block :: html
152
152
@@ -165,14 +165,15 @@ following snippet in an HTMl markup would:
165
165
For every character/glyph in *"some text" *, the browser will iterate through
166
166
the whole list of font-families, and check whether that character/glyph is
167
167
available in that font-family. As soon as a font is found which has the
168
- required glyph(s), the browser moves on to the next character.
168
+ required glyph(s), the browser uses that font to render that character, and
169
+ subsequently moves on to the next character.
169
170
170
171
How does Matplotlib achieve this?
171
172
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
172
- Well , Matplotlib doesn 't achieve this, * yet * . It was initially only designed to
173
- use a **single font ** throughout the document, i.e., no matter how many
174
- families you pass to **font.family ** rcParam, Matplotlib would use the very
175
- first font it's able to find on your system, and try to render all your
173
+ Currently , Matplotlib can 't render a multi-font document . It was initially
174
+ only designed to use a **single font ** throughout the document, i.e., no matter
175
+ how many families you pass to **font.family ** rcParam, Matplotlib would use the
176
+ very first font it's able to find on your system, and try to render all your
176
177
characters/glyphs from that *and only that * font.
177
178
178
179
.. note ::
0 commit comments