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

What font is everyone using to render glyphs/symbols? #174

Open
mr-september opened this issue Nov 7, 2022 · 3 comments
Open

What font is everyone using to render glyphs/symbols? #174

mr-september opened this issue Nov 7, 2022 · 3 comments

Comments

@mr-september
Copy link

I'm trying to incorporate some symbols to a set of keys to be generated, but most of them are just turning up as outlines of squares.

I thought this is because the font being used doesn't have those unicodes/glyphs, so I went to try 2 known for having comprehensive glyphs support (from some quick Googling): Noto Sans and Source Code Pro

Unfortunately, no luck, they're still square outlines.

Hopefully you guys could chime in on which font/packs are suitable?

Some symbols/glyphs I'm trying to use:
⎀ 🔇 ⏯ ⏮ ⏭ ⎌ ✂' ⎘ 📋⎈ ❖ ⎇

@fgebhart
Copy link

Hey, I was using DeJaVu font a lot in combination with the OpenSCAD customizer and the symbols at wikipedia e.g. here: https://en.wikipedia.org/wiki/Arrow_(symbol)#By_block

It worked quite well for my purpose, although not all of them rendered as expected.

@iamkarlson
Copy link

How do you set what font to use? I got just a fresh OpenScad installed, and none of Unicode symbols works.

@fgebhart
Copy link

fgebhart commented Nov 28, 2022

  1. Follow this guide
  2. within the customizer.scad file, there is a key value pair which is called $font=....
  3. set $font="DeJaVu"
  4. Render your key cap using F6 and export to STL using F7

Does that work for you?

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

3 participants