mirror of
https://github.com/3b1b/manim.git
synced 2025-11-14 17:07:45 +00:00
remove unused NOT_SETTING_FONT_MSG
This commit is contained in:
parent
7f27e926f2
commit
314c847463
1 changed files with 4 additions and 16 deletions
|
|
@ -61,24 +61,12 @@ JOINT_TYPE_MAP = {
|
|||
}
|
||||
|
||||
# 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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue