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

30px height Fonts #882

Closed
Wikiz05 opened this issue Sep 5, 2019 · 1 comment
Closed

30px height Fonts #882

Wikiz05 opened this issue Sep 5, 2019 · 1 comment

Comments

@Wikiz05
Copy link

Wikiz05 commented Sep 5, 2019

I having issue how to use otf2bdf. I'm a newbie here and I never use raspberry before, this is my 1st project with it. Could someone help me how to use the otf2bdf converter like a step by step tutorial. Or if someone be so kind to make me a 30px height bold bdf fonts? I tried bitfronter 3 but when I saved the file to bdf and run a text-example the fonts not recognizable.

@hzeller
Copy link
Owner

hzeller commented Sep 5, 2019

You first have to choose the font you'd like to display. Find a TTF font you like and that is bold. Typically the fonts have that in their name. The typical resolution of fonts is 72 dpi, so in order to get a 30 pixel font, you'd do something like

otf2bdf -v -o myfont.bdf -r 72 -p 30 /path/to/font-Bold.ttf

hzeller added a commit that referenced this issue Sep 6, 2019
@hzeller hzeller closed this as completed Sep 6, 2019
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