charmaur / PolyDiceGenerator

A customizable Polyhedral Dice Generator for OpenSCAD.
https://github.com/charmaur/PolyDiceGenerator
Other
93 stars 20 forks source link

"enter" in text #21

Open Verasartsanddice opened 2 years ago

Verasartsanddice commented 2 years ago

Hi there! I would love to have some text/numbers below another one, but cannot seem to figure out how to do it. Does someone know a trick to this? So like an enter, so that text can be below each other in lines or something.

An additional question is if I could add like two fonts, like one below that would be different than the one on the top.

But help with the first question would be enough! Thanks in advance!

charmaur commented 2 years ago

Other than creating a symbol font for each pair, I'm not thinking of a better way to accomplish that.

Verasartsanddice commented 2 years ago

But the symbol font replaces the "original" font, do you know how to turn it off?

charmaur commented 2 years ago

Text font and symbol font are independent of each other.

Verasartsanddice commented 2 years ago

image

Could you maybe help me then? It seems like they aren't. When I added the symbol font, it just overwrote the text font

charmaur commented 2 years ago

You can't add both text and a symbol on the same face, it's either one or the other. You'll need to create a symbol for each unique instance of the stacked text you need, then enter the character that points to each symbol in the appropriate position of the "symbols" field. If every face contains multi-line text you won't be using the text field at all, they'll all need to be symbols.