Gulix / geckos

An online Card Editor with Templates
http://gulix.github.io/geckos/
Other
48 stars 18 forks source link

Symbols used inside text #31

Open Gulix opened 8 years ago

Gulix commented 8 years ago

When writing a text to be added to a card, some symbols (defined by the template) could be added to the text via some mechanism : Constants, Special format (like bold & italic), copy / paste, ...

Maybe looking how it's done in Magic Set Editor

Gulix commented 8 years ago

https://developer.mozilla.org/fr/docs/Web/SVG/Tutoriel/polices_SVG

Gulix commented 8 years ago

Need to look into Icons-Font : http://www.alsacreations.com/tuto/lire/1547-police-font-icone-vectorielle-webdesign.html http://rafaltomal.com/how-to-create-and-use-your-own-icon-fonts/

The template creator will create its desired icon-fonts, that can then be added to the template file as DataUrl inside the custom-fonts. Then, each Richtext element could reference which icon-fonts can be used in the element.