Everythning is in the title.
I'd like to style a text in a textbox with css in order to change the text attributes (decoration, spacing, ligatures, etc)
You can't do this. CSS only works with Form Control objects (Button, Text Input etc.)
You can use BBcode with Text objects.
dop2000 Too bad !! Is there a bbcode tag to remove ligature from fonts ? An equivalent to : font-variant-ligatures: normal;
I tried a font with ligatures, and they don't work in Construct, at least for me..
Text input can use css. construct.net/en/make-games/manuals/construct-3/plugin-reference/text-input
Iframes are also an option for heavy use of css stylable text.
Hi newt, do you suggest to use text input instead of text object ? Point is I can't choose the font I need.
Interesting. Do you have an exemple ? I need to use a special font to display text
dop2000
Actually, it works for me and ligatures, that I want to get rid of, are applied (see screen cap). Sounds like it depends on the font used
Yep, ligatures work with "1999 Carolina" font.
Can you use another version of this font without the ligatures? Or you can convert it to SpriteFont. I use this tool to easily make sprite fonts:
construct.net/en/forum/game-development/tools-and-resources-27/sprite-font-generator-v3-64038
Well, unfortunately, I have no version of the font without ligatures and I on a Mac and Spritefont is Windows only...
I made a sprite font for you:
dropbox.com/s/n4cxp1mfcbsy678/1999Carolina_SF.c3p
Develop games in your browser. Powerful, performant & highly capable.
Thank you dop2000 !
But I'm still looking for a solution since I may have to use some other fonts.