Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Which font is base for your Display #5

Closed
Roughtrade opened this issue Jun 23, 2018 · 2 comments
Closed

Which font is base for your Display #5

Roughtrade opened this issue Jun 23, 2018 · 2 comments

Comments

@Roughtrade
Copy link

I would have the following question: which tff do you use as the basis for your excellent code. I have a script that let me IR remote control the current IP address show us sysinfos. For this I stop via a script the mpd_oled service and show 10 seconds the info. Thereafter, the mpd_oled service is restarted. That works quite well so far, but unfortunately the fonts do not match yours.
Many thanks in advance

Peter

@antiprism
Copy link
Owner

Hi Peter

I am using the Adafruit_GFX library and its default screen font, which is a 7x5 bitmap font (displayed in a 8x6 box). The font is included as C code

https://github.com/adafruit/Adafruit-GFX-Library/blob/master/glcdfont.c

The larger text on the clock display is the same font, but scaled by an integer.

The following ttf font looks pretty close (I don't know if it has all the same characters or if it scales the same way)

https://www.dafont.com/code-7x5.font

Adrian.

@Roughtrade
Copy link
Author

thanks, for this tip.

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

No branches or pull requests

2 participants