manim/tests
Said Taghadouini fcd81b21a4
Improve handling of specified font name (#3429)
Co-authored-by: Jason Grace <110117391+JasonGrace2282@users.noreply.github.com>
Co-authored-by: JasonGrace2282 <aarush.deshpande@gmail.com>

The proposed fix does two things :

* If the specified font is 'sans-serif' : change it to 'sans' as this is the name used in the list of fonts
* if the font name is not in the list of fonts, automatically check if the capitalized version of the font exists in the list of fonts. If not, print a warning to the user.
2024-02-13 15:26:54 -05:00
..
control_data Refactor TexTemplate (#3520) 2024-01-15 18:39:03 +00:00
helpers Convert all types of parameters in docstrings to proper type annotations (#2988) 2022-11-10 07:17:21 +01:00
interface feat(cli): optionally hide version splash (#3329) 2023-12-10 22:47:11 +00:00
miscellaneous Update dependency constraints, fix deprecation warnings (#3376) 2023-12-06 14:44:13 +01:00
module Improve handling of specified font name (#3429) 2024-02-13 15:26:54 -05:00
opengl Refactor TexTemplate (#3520) 2024-01-15 18:39:03 +00:00
test_graphical_units Added cap_style feature to VMobject (#3516) 2023-12-10 23:10:34 +01:00
test_logging Migrate more os.path to pathlib in tests (#2991) 2022-10-26 19:51:38 +02:00
test_plugins Migrate more os.path to pathlib in tests (#2991) 2022-10-26 19:51:38 +02:00
test_scene_rendering Added support for Manim type aliases in Sphinx docs + Added new TypeAliases (#3484) 2023-12-29 19:04:31 +01:00
utils Removed unused `GraphicalUnitTester` (#3054) 2022-11-30 22:10:13 +01:00
__init__.py CI: Add support for using Opengl in Subprocess (Windows) (#1987) 2021-08-31 13:16:20 +01:00
assert_utils.py Migrate more os.path to pathlib in tests (#2991) 2022-10-26 19:51:38 +02:00
conftest.py Migrate more os.path to pathlib in tests (#2991) 2022-10-26 19:51:38 +02:00
standard_config.cfg Add OpenGLMobject tests (#2080) 2021-09-28 07:47:06 +08:00
template_generate_graphical_units_data.py Upgraded typehints (#2429) 2022-01-20 12:26:21 +08:00
test_camera.py Allow using :meth:.MovingCamera.auto_zoom without animation (#2693) 2022-04-22 23:07:52 +02:00
test_code_mobject.py Fix Code mobject wrong indentation (#2725) 2022-05-23 21:05:54 +00:00
test_config.py Fixed `CLI.tex_template_file` config file setting (#2992) 2022-11-02 22:52:20 +00:00
test_ipython_magic.py Migrate more os.path to pathlib in tests (#2991) 2022-10-26 19:51:38 +02:00
test_linear_transformation_scene.py Allow accessing ghost vectors in :class:.LinearTransformationScene (#3435) 2023-11-19 09:20:59 +01:00