Skip to content

Commit

Permalink
remove unused NOT_SETTING_FONT_MSG
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyCrane committed Jan 16, 2021
1 parent 7f27e92 commit 314c847
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions manimlib/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,24 +61,12 @@
}

# Related to Text
NOT_SETTING_FONT_MSG = '''
Warning:
You haven't set font.
If you are not using English, this may cause text rendering problem.
You set font like:
text = Text('your text', font='your font')
or:
class MyText(Text):
CONFIG = {
'font': 'My Font'
}
'''
START_X = 30
START_Y = 20
NORMAL = 'NORMAL'
ITALIC = 'ITALIC'
OBLIQUE = 'OBLIQUE'
BOLD = 'BOLD'
NORMAL = "NORMAL"
ITALIC = "ITALIC"
OBLIQUE = "OBLIQUE"
BOLD = "BOLD"

DEFAULT_STROKE_WIDTH = 4

Expand Down

0 comments on commit 314c847

Please sign in to comment.