Skip to content

Commit

Permalink
update Chentao's Complex Heavy font
Browse files Browse the repository at this point in the history
  • Loading branch information
AstroJacobLi committed Jul 8, 2023
1 parent ef46006 commit eddafaf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions src/smplotlib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,12 @@ def set_style(usetex=False, fontsize=15, fontweight='normal', figsize=(6, 6), dp
"ytick.minor.width": 0.5,
"font.family": "AVHershey Complex",
"font.weight": "heavy",
"font.style": "italic",
"axes.labelweight": "heavy",
"mathtext.fontset": "custom",
"mathtext.bf": "AVHershey Complex:heavy:italic",
"mathtext.cal": "AVHershey Complex:heavy:italic",
"mathtext.it": "AVHershey Simplex:heavy:italic",
"mathtext.rm": "AVHershey Complex:heavy:italic",
"mathtext.bf": "AVHershey Complex:heavy",
"mathtext.cal": "AVHershey Complex:heavy",
"mathtext.it": "AVHershey Complex:heavy:italic",
"mathtext.rm": "AVHershey Complex:heavy",
"mathtext.sf": "AVHershey Duplex:heavy",
"mathtext.tt": "AVHershey Simplex:heavy",
"mathtext.fallback": "cm",
Expand Down
2 changes: 1 addition & 1 deletion src/smplotlib/smplot.mplstyle
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ mathtext.fontset: custom # Should be 'dejavusans' (default),
## "mathtext.fontset: custom" is defined by the mathtext.bf, .cal, .it, ...
## settings which map a TeX font name to a fontconfig font pattern. (These
## settings are not used for other font sets.)
mathtext.bf: AVHershey Complex:heavy:italic # such that font_manager can find it
mathtext.bf: AVHershey Complex:heavy # such that font_manager can find it
mathtext.cal: AVHershey Complex:medium
mathtext.it: AVHershey Complex:medium:italic
mathtext.rm: AVHershey Complex:medium
Expand Down
Binary file modified src/smplotlib/ttf/AVHersheyComplexHeavy.ttf
Binary file not shown.

0 comments on commit eddafaf

Please sign in to comment.