{ "info": { "author": "Adafruit Industries", "author_email": "circuitpython@adafruit.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Libraries", "Topic :: System :: Hardware" ], "description": "Introduction\n============\n\n.. image:: https://readthedocs.org/projects/adafruit-circuitpython-bitmap_font/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/bitmap_font/en/latest/\n :alt: Documentation Status\n\n.. image:: https://img.shields.io/discord/327254708534116352.svg\n :target: https://discord.gg/nBQh6qu\n :alt: Discord\n\n.. image:: https://travis-ci.com/adafruit/Adafruit_CircuitPython_Bitmap_Font.svg?branch=master\n :target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_Bitmap_Font\n :alt: Build Status\n\nLoads bitmap fonts into CircuitPython's displayio. BDF files are well supported. PCF and TTF\nsupport is not yet complete.\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython `_\n\nPlease ensure all dependencies are available on the CircuitPython filesystem.\nThis is easily achieved by downloading\n`the Adafruit library and driver bundle `_.\n\nInstalling from PyPI\n--------------------\nOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from\nPyPI `_. To install for current user:\n\n.. code-block:: shell\n\n pip3 install adafruit-circuitpython-bitmap_font\n\nTo install system-wide (this may be required in some cases):\n\n.. code-block:: shell\n\n sudo pip3 install adafruit-circuitpython-bitmap_font\n\nTo install in a virtual environment in your current project:\n\n.. code-block:: shell\n\n mkdir project-name && cd project-name\n python3 -m venv .env\n source .env/bin/activate\n pip3 install adafruit-circuitpython-bitmap_font\n\nUsage Example\n=============\n\n.. code-block::python\n\n from adafruit_bitmap_font import bitmap_font\n from displayio import Bitmap\n font = bitmap_font.load_font(\"scientifica-11.bdf\", Bitmap)\n print(font.get_glyph(ord(\"A\")))\n\n\nContributing\n============\n\nContributions are welcome! Please read our `Code of Conduct\n`_\nbefore contributing to help this project stay welcoming.\n\nBuilding locally\n================\n\nZip release files\n-----------------\n\nTo build this library locally you'll need to install the\n`circuitpython-build-tools `_ package.\n\n.. code-block:: shell\n\n python3 -m venv .env\n source .env/bin/activate\n pip install circuitpython-build-tools\n\nOnce installed, make sure you are in the virtual environment:\n\n.. code-block:: shell\n\n source .env/bin/activate\n\nThen run the build:\n\n.. code-block:: shell\n\n circuitpython-build-bundles --filename_prefix adafruit-circuitpython-bitmap_font --library_location .\n\nSphinx documentation\n-----------------------\n\nSphinx is used to build the documentation based on rST files and comments in the code. First,\ninstall dependencies (feel free to reuse the virtual environment from above):\n\n.. code-block:: shell\n\n python3 -m venv .env\n source .env/bin/activate\n pip install Sphinx sphinx-rtd-theme\n\nNow, once you have the virtual environment activated:\n\n.. code-block:: shell\n\n cd docs\n sphinx-build -E -W -b html . _build/html\n\nThis will output the documentation to ``docs/_build/html``. Open the index.html in your browser to\nview them. It will also (due to -W) error out on any warning like Travis will. This is a good way to\nlocally verify it will pass.", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/adafruit/Adafruit_CircuitPython_Bitmap_Font", "keywords": "adafruit blinka circuitpython micropython font text displayio bitmap", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "adafruit-circuitpython-bitmap-font", "package_url": "https://pypi.org/project/adafruit-circuitpython-bitmap-font/", "platform": "", "project_url": "https://pypi.org/project/adafruit-circuitpython-bitmap-font/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_Bitmap_Font" }, "release_url": "https://pypi.org/project/adafruit-circuitpython-bitmap-font/1.0.3/", "requires_dist": null, "requires_python": "", "summary": "Loads bitmap fonts into CircuitPython displayio.", "version": "1.0.3" }, "last_serial": 5305014, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "0b36e1467a0e75d4768d4ce135bea10c", "sha256": "d5133196f2d1948b73caec3ca4563948cbfd74c377c003bc24bc6e8dd2a7866d" }, "downloads": -1, "filename": "adafruit-circuitpython-bitmap_font-1.0.1.tar.gz", "has_sig": false, "md5_digest": "0b36e1467a0e75d4768d4ce135bea10c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22946, "upload_time": "2019-02-23T17:13:27", "url": "https://files.pythonhosted.org/packages/77/e5/0803461915aa587e48fa68fa438cc5c32a6032217cd92617e3c0fde8f49c/adafruit-circuitpython-bitmap_font-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "30e471619204f81fbce6a770fba7c314", "sha256": "4dffc4682acb65eeaa9e8946aae834f24e01d5cbffdbe522b23a7f2047dd785e" }, "downloads": -1, "filename": "adafruit-circuitpython-bitmap_font-1.0.2.tar.gz", "has_sig": false, "md5_digest": "30e471619204f81fbce6a770fba7c314", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23045, "upload_time": "2019-03-20T22:09:02", "url": "https://files.pythonhosted.org/packages/55/50/d87f0b2b6676bbfc81bb947ed8fffc6e40c94b15d8c083e21b694bbf3510/adafruit-circuitpython-bitmap_font-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "e9755a2ecf2ac9279967b10961da62f2", "sha256": "3745b220c79f15c4eb6213400dbc929d68e833b642dc0f2efcdf62753422209c" }, "downloads": -1, "filename": "adafruit-circuitpython-bitmap_font-1.0.3.tar.gz", "has_sig": false, "md5_digest": "e9755a2ecf2ac9279967b10961da62f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23125, "upload_time": "2019-05-22T23:53:08", "url": "https://files.pythonhosted.org/packages/22/dd/bb67ec3d182a42c6cf9798a0bf503fba85c33c75b18f470dcdcf42d977a1/adafruit-circuitpython-bitmap_font-1.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e9755a2ecf2ac9279967b10961da62f2", "sha256": "3745b220c79f15c4eb6213400dbc929d68e833b642dc0f2efcdf62753422209c" }, "downloads": -1, "filename": "adafruit-circuitpython-bitmap_font-1.0.3.tar.gz", "has_sig": false, "md5_digest": "e9755a2ecf2ac9279967b10961da62f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23125, "upload_time": "2019-05-22T23:53:08", "url": "https://files.pythonhosted.org/packages/22/dd/bb67ec3d182a42c6cf9798a0bf503fba85c33c75b18f470dcdcf42d977a1/adafruit-circuitpython-bitmap_font-1.0.3.tar.gz" } ] }