Bug summary
findSystemFonts takes the font in the directory: C:\Users\USER_NAME\AppData\Local\Microsoft\Windows\Fonts\Deleted
It should not take them. They are supposedly deleted. It is better to ignore them.
It is basically the same issue as #22859, but with another directory.
The PR #24655 should probably correct this problem.
Code for reproduction
from matplotlib import font_manager
font_manager.findSystemFonts()
Actual outcome
font_manager.findSystemFonts retrieve fonts from the folder: C:\Users\USER_NAME\AppData\Local\Microsoft\Windows\Fonts\Deleted
Expected outcome
font_manager.findSystemFonts should not retrieve fonts from the folder: C:\Users\USER_NAME\AppData\Local\Microsoft\Windows\Fonts\Deleted
Additional information
No response
Operating system
Windows 10
Matplotlib Version
3.6.2
Matplotlib Backend
No response
Python version
No response
Jupyter version
No response
Installation
pip
Bug summary
findSystemFonts takes the font in the directory:
C:\Users\USER_NAME\AppData\Local\Microsoft\Windows\Fonts\DeletedIt should not take them. They are supposedly deleted. It is better to ignore them.
It is basically the same issue as #22859, but with another directory.
The PR #24655 should probably correct this problem.
Code for reproduction
Actual outcome
font_manager.findSystemFonts retrieve fonts from the folder:
C:\Users\USER_NAME\AppData\Local\Microsoft\Windows\Fonts\DeletedExpected outcome
font_manager.findSystemFonts should not retrieve fonts from the folder:
C:\Users\USER_NAME\AppData\Local\Microsoft\Windows\Fonts\DeletedAdditional information
No response
Operating system
Windows 10
Matplotlib Version
3.6.2
Matplotlib Backend
No response
Python version
No response
Jupyter version
No response
Installation
pip