Video editing with Python
Fix typo in TextClip.list call (#136)
Tom Burrows6403c099e4f3
diff --git a/docs/getting_started/videoclips.rst b/docs/getting_started/videoclips.rstindex 3bdd93f8..817f74fd 100644--- a/docs/getting_started/videoclips.rst+++ b/docs/getting_started/videoclips.rst@@ -109,9 +109,9 @@ Here is how you make a textclip (you won't need all these options all the time):myclip = TextClip("Hello", font='Amiri-Bold')-The font can be any font installed on your computer, but ImageMagick will have specific names for it. For instance the *normal* Amiri font will be called ``Amiri-Regular`` while the Impact font will be called ``Impact-Normal``. To get a list of the possible fonts, type ``TextClip.list('fonts')``. To find all the font names related to a given font, use for instance ::+The font can be any font installed on your computer, but ImageMagick will have specific names for it. For instance the *normal* Amiri font will be called ``Amiri-Regular`` while the Impact font will be called ``Impact-Normal``. To get a list of the possible fonts, type ``TextClip.list('font')``. To find all the font names related to a given font, use for instance ::- TextClip.search('Amiri', 'fonts') # Returns all font names containing Amiri+ TextClip.search('Amiri', 'font') # Returns all font names containing AmiriNote also that the use of a stroke (or contour) will not work well on small letters, so if you need a small text with a contour, it is better to generate a big text, then downsize it: ::