Skip to content

Commit

Permalink
Fix typo in TextClip.list call (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
tburrows13 committed Feb 22, 2020
1 parent 7b3209d commit 6403c09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/getting_started/videoclips.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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: ::

Expand Down

0 comments on commit 6403c09

Please sign in to comment.