matplotlib / matplotlib/matplotlib

small-caps doesn't seem to work

Open
#8,552 11 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.