KeyV2 icon indicating copy to clipboard operation
KeyV2 copied to clipboard

What font is everyone using to render glyphs/symbols?

Open mr-september opened this issue 3 years ago • 4 comments

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: ⎀ 🔇 ⏯ ⏮ ⏭ ⎌ ✂' ⎘ 📋⎈ ❖ ⎇

mr-september avatar Nov 07 '22 13:11 mr-september

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.

fgebhart avatar Nov 28 '22 19:11 fgebhart

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

iamkarlson avatar Nov 28 '22 20:11 iamkarlson

  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?

fgebhart avatar Nov 28 '22 20:11 fgebhart