manim/tests/module/mobject
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
..
geometry Refactor tests (#2866) 2022-07-09 21:10:30 +00:00
graphing Bug fix: Use np.isclose for float equality in number line elongated ticks (#3392) 2023-10-12 08:28:43 +02:00
mobject Speed up width/height/depth by reducing copying (#3180) 2023-03-28 21:03:03 +02:00
svg Adding :class: ManimColor to manim and converting all types (#3020) 2023-08-08 14:47:00 +02:00
text Improve handling of specified font name (#3429) 2024-02-13 15:26:54 -05:00
types/vectorized_mobject fixed the stroke width issue with single color in streamlines (#3436) 2023-12-12 19:44:49 +00:00
test_boolean_ops.py Refactor tests (#2866) 2022-07-09 21:10:30 +00:00
test_graph.py Fix None check order in _tree_layout (#3421) 2023-11-02 19:00:10 +01:00
test_image.py Account for dtype in the pixel array so the maximum value stays correct in the invert function (#3493) 2023-12-12 13:31:28 +01:00
test_value_tracker.py Refactor tests (#2866) 2022-07-09 21:10:30 +00:00