romgere / text2stl

3D text generator for 3D printing. EmberJs / Typescript / Three.js
https://text2stl.mestres.fr
43 stars 14 forks source link

Emoji / icon in text #90

Closed demoniactaz08 closed 1 month ago

demoniactaz08 commented 1 year ago

Bonjour votre logiciel est très bien conçus, mais serrait-il possible d'intégré des objets, comme un cœur merci

romgere commented 1 year ago

Bonjour @demoniactaz08, c'est une des évolution envisagé mais malheureusement les polices Google ne permettent pas nativement l'insertion d'emoji ou de caractères spéciaux...

Cela rend l'ajout de cette fonctionnalité compliqué (bien que pas impossible)

J'essaierai de travailler sur le sujet dès que le temps me le permettra.

demoniactaz08 commented 1 year ago

Merci se serrait super

romgere commented 3 months ago

I did some "research" on that...

Maybe "Noto Emoji" font can be the way to go (https://fonts.google.com/noto/specimen/Noto+Color+Emoji). This font can be used with text2stl "natively" & produce some results : image

The tool could "automagically" use this font when emoji are detected in text 🤔

That said some emoji are not correctly rendered.

Did quick test with harfbuzzjs & rendering version of emoji are looking really great: image image

romgere commented 3 months ago

@demoniactaz08 il est déjà possible d'utiliser la police "Noto Emoji" dans l'outil pour générer quelque Emoji, le rendu n'est pas parfais, mais c'est un début :

image image image

Attention, cependant il n'est pas (encore) possible de "mixer" Emoji & text.

romgere commented 1 month ago

This feature should be soon available image