From 6403c099e4f3a5c81dc188ccb5419ffcbfd0336e Mon Sep 17 00:00:00 2001 From: Tom Burrows Date: Sat, 22 Feb 2020 15:54:54 +0000 Subject: [PATCH] Fix typo in TextClip.list call (#136) --- docs/getting_started/videoclips.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/getting_started/videoclips.rst b/docs/getting_started/videoclips.rst index 3bdd93f83..817f74fd4 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 Amiri Note 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: ::