You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This font declares the right bracket and parentheses as a copy of the left bracket with a different affine transformation applied. Unfortunately, our font subsetting tool, ttconv, does not support this case. Using freetype for this (as described in #2869) would probably fix this problem, but I don't think there is an easier fix. As a workaround, setting pdf.fonttype to 42 (to turn off font subsetting) works, or you can use the Cairo backend.
Thanks a lot for the hint, rcParams['pdf.fonttype'] = 42 saved my day. (I wish I knew about that option earlier, I spent a couple of hours trying to make an OpenType font work.)
Cairo isn't an option as it doesn't support the kind of graphics I'm using in my plot.
When I figured out that OpenType fonts wouldn't work, I found LucidaBrightRegular.ttf in Java and tried to use it with
(I actually need this for something like plt.xlabel('length [cm]').)
But this is what I get in PDF, the closing parenthesis are rotated and displaced (or maybe the wrong symbol is used):
while PNG and native GUI on Mac OS X work fine. I'm using the latest matplotlib (9fea430) with Python 3.3.
Related issue: #2869
The text was updated successfully, but these errors were encountered: