4 ms·
Is there a trick to getting these to work in Sublime Text? I normally use Source Code Pro, which also comes in a bunch of variations, and I can set font_face to
by slotrans 3y ago
Is there a trick to getting these to work in Sublime Text? I normally use Source Code Pro, which also comes in a bunch of variations, and I can set font_face to "Source Code Pro Medium" or "Source Code Pro Semibold Italic" and I get the right result. But setting it to "Monataype Krypton Medium" doesn't work at all. "Monatype Krypton" does, but the Regular variants are too skinny.
- anasrin 3y agoThe name format is "Monaspace <variant>", and to use weight in Sublime Text "Monaspace <variant> <weight>".
- mradecki 3y agoConfirmed, other resposne is wrong. Format that worked for me is : "font_face": "Monaspace Neon Light",
- inferiorhuman 3y agoFont selection is always a bit wonky on OSX in my experience. Sublime doesn't offer a separate font weight knob but does offer "font_options" which takes an array of string values – specifying bold will get you a bold by default font. For an arbitrary weight what worked for me was to use the PostScript name e.g. "MonaspaceArgonVar-ExtraLightItalic". There are plenty of ways to find the PS name but on OSX (on Sonoma at least) you can go into the Font Book app and find it under identifiers after you've selected a specific variant.
- slotrans 3y agoThanks, this works! So tl;dr it's: "MonaspaceVARIANT-WEIGHT", no spaces.
- inferiorhuman 3y agoIn this case yes, but I would double check the PostScript name because I believe that naming convention is not a hard requirement.