Skip to content

Distribute fonts from xfonts-75dpi in PIL format - #225

Merged
ddemidov merged 2 commits into
developfrom
dist-fonts
Oct 12, 2016
Merged

ddemidov merged 2 commits into
developfrom
dist-fonts

Conversation

@ddemidov

@ddemidov ddemidov commented Sep 30, 2016 •

Copy link
Copy Markdown
Member

This adds fonts converted from xfonts-75dpi package into PIL format. The list of all fonts provided may be obtained with

import ev3dev.fonts
print(ev3dev.fonts.available())

Individual font may be loaded with ev3dev.fonts.load('<fontname>'). Here is an overview of all fonts (the grid corresponds to EV3 screen size):

download

This was created with http://nbviewer.jupyter.org/gist/anonymous/f25d8007c095d9a45cb169b6476d7370

@ensonic

ensonic commented Oct 5, 2016

Copy link
Copy Markdown
Contributor

Great! Does this need some extra change for the api to show up in the api docs?

@ddemidov

ddemidov commented Oct 5, 2016

Copy link
Copy Markdown
Member Author

Does this need some extra change for the api to show up in the api docs?

Good point. I'll add the changes to the documentation.

@WasabiFan

Copy link
Copy Markdown
Member

By the way, this looks good to me (although I haven't done a technical test). Feel free to merge if you are happy with it.

@WasabiFan

Copy link
Copy Markdown
Member

I think you should include that image in the docs as well.

@ddemidov

Copy link
Copy Markdown
Member Author

I've updated the pull request with the documentation changes. Preview of the documentation is available here: http://ev3dev-lang.readthedocs.io/projects/python-ev3dev/en/dist-fonts/other.html#screen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants