cadhub icon indicating copy to clipboard operation
cadhub copied to clipboard

Font requests

Open metasean opened this issue 3 years ago • 4 comments

Per Teque5's font testing and ranking in the 3d printing realm, it'd be good to see the following fonts added:

Regardless, I'm super stoked to have stumbled across cadhub!

metasean avatar Apr 23 '22 00:04 metasean

OCR-A and OCR-B are also good aditions in my opinion, they are well known constant thickness monospace fonts that have been in use for decades. I think there are free to use implementations considering their widespread use and history, but I may be wrong.

angryseptagon avatar Apr 23 '22 19:04 angryseptagon

Sounds good.

I think the fonts would need to be installed on the docker image for them to be available. https://github.com/Irev-Dev/cadhub/blob/main/app/api/src/docker/openscad/Dockerfile

Irev-Dev avatar Apr 24 '22 09:04 Irev-Dev

I don't understand the nature of this request. What about a package that simply generates the font from TTF or SVG font?

Using RUST crate, import any TTF, output as SVG, then openscad can import SVG and extrude https://docs.rs/ttf-parser/0.15.0/ttf_parser/svg/index.html

Would be nice to be able to access Google Fonts or similar repository (this preview, render font onto surface kind of minutia is the type of place where I think a universal / cross application openSCAD tool browser & font-preview would make sense to me)

elasticdotventures avatar May 01 '22 18:05 elasticdotventures

@elasticdotventures This asks for installing the TTF or OTF font. OpenSCAD can read that natively but it needs to be installed on the local system. All google fonts would abount to more than 1GB, so that would likely need some sort of separation, but it's possible. I believe Thingiverse has done that.

t-paul avatar May 01 '22 18:05 t-paul