![]() otf rather than the other? There are actually differences between the fonts, for example: otf files have all the same values, how can I tell it to use one. So how would I tell matplotlib that I want to use lmroman9-regular.otf vs lmroman10-regular.otf? In mpl.rcParams I can only specify font.family, font.weight, font.style and font.variant so if the two. ![]() usr/share/texmf/fonts/opentype/public/lm/lmroman10-regular.otf usr/share/texmf/fonts/opentype/public/lm/lmroman9-regular.otf But what if I want to use a specific "substyle" of Latin Modern Roman? For example, on my system, when I list the available font entries having name='Latin Modern Roman' and weight=400 and style='normal' and variant='normal' through: fonts = mpl.font_ Mpl.rcParams = 'Latin Modern Roman:italic' Mpl.rcParams = 'Latin Modern Roman:normal' ![]() How can I tell matplotlib to use a specific variant of a font when they both have the same name and characteristics?įor example, I can tell matplotlib to use Latin Modern Roman: #!/usr/bin/env python3
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |