Include more custom fonts
-
It'd be nice if Pythonista offered Apple's
SF-Mono
font in addition to the existing fonts.Another font that'd be very well suited for Pythonista is
FiraCode
, which is a monospaced font with programming ligatures.
SinceUITextView
already supports ligatures, FiraCode would work fine in Pythonista.Example of FiraCode:
cc @omz
-
Might be able to hack it in with objc_util Also one can install fonts system wide as well. Using a configuration payload.
-
Yes it is indeed possible to load a font from a
.otf
file at runtime (in fact, I implemented such a feature months ago using thectypes
module), but that's never as good as a proper first-party implementation.