matplotlib / matplotlib/matplotlib
small-caps doesn't seem to work
Open
Nobody has claimed this yet.
topic: text
- Dominant language
- Python
- Stars
- 23.2k
- Forks
- 8.5k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 66
Description
I noticed that even in the [demo](https://matplotlib.org/examples/pylab_examples/fonts_demo.html), the small-caps feature is not working. I tried switching fonts to STIXGeneral, and setting `variant='small-caps'` still had no effect.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the problem in the linked fonts demo using STIXGeneral and variant='small-caps'. Trace how that demo applies the font variant and compare the rendered result with the expected small-caps appearance; done means the documented small-caps setting visibly works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100