geepillow.fonts =============== .. py:module:: geepillow.fonts .. autoapi-nested-parse:: Fonts module. Attributes ---------- .. autoapisummary:: geepillow.fonts.URL_FONT Functions --------- .. autoapisummary:: geepillow.fonts.create geepillow.fonts.load_data geepillow.fonts.load_ttf geepillow.fonts.opensans_bold geepillow.fonts.opensans_bold_italic geepillow.fonts.opensans_italic geepillow.fonts.opensans_light geepillow.fonts.opensans_regular geepillow.fonts.provided Package Contents ---------------- .. py:function:: create(font, size) Create a font. .. py:function:: load_data(filename) Load binary data from filename. .. py:function:: load_ttf(filename, size) Load a Font from a file. :param filename: path of the font. If absolute path it will load it directly, if relative it will load one of the available in the package. :param size: size of the .. py:function:: opensans_bold(size) OpenSans-Bold. .. py:function:: opensans_bold_italic(size) OpenSans-BoldItalic. .. py:function:: opensans_italic(size) OpenSans-Italic. .. py:function:: opensans_light(size) OpenSans-Light. .. py:function:: opensans_regular(size) OpenSans-Regular. .. py:function:: provided(size) Get font from URL. .. py:data:: URL_FONT :value: 'http://db.onlinewebfonts.com/t/8050e6017c3b848b20a6324507cfba88.ttf'