Repository navigation
Conversation
…mation got from Platform 1, encoding 0(Mac Roman)
|
Could you post a short bit of code to demonstrate what specifically wasn't working before this fix? |
|
@dstansby Don't forget deleting the cache file ".matplotlib/fontList.json" before each testing. Run the following code: Before fixing, the result is 'C:\Windows\Fonts\NotoSerifCJKsc-Light.otf'. With following code: We can see that the reason is that font informations are missing at (1,0,0,2) and (1,0,0,4). However the information could be found at (3,1,1033,2) and (3,1,1033,4). |
|
xref #8551 |
|
Superseded by #16203; thanks for the pr. |
PR Summary
This pull request fixes the problems I found when I try to use "Noto Serif CJK" and "Source Han" font families.
PR Checklist