Hello,
I have two quick questions:
1) Can I use RGB for text colours, or just those pre-defined (white, black, lightgreen...)? If yes, how? I tried color:{65, 35, 78} which did not work.
Also, can I reference colour from text object to a variable? It would be nice to define it at the beggining of the code something like menufont = {65, 35, 78} and use just color:menufont in all of my text objects. I tried, it did not work, even for those pre-defined colours.
2) Is there any limitation when using OTF fonts like "MyriadPro-Regular.otf"? I tried and it works, but I wonder if it will work on other platforms as well. Is there any difference when using TTF and OTF fonts?
Thank you,
Pavel
Text colour RGB + OTF fonts
Text colour RGB + OTF fonts
Pavel Brodský
Prague, Czech Republic
Prague, Czech Republic
Re: Text colour RGB + OTF fonts
Hi,
1. You can use "color: #FFFFFF;" in the txt_add style.
2. Both TTF and OTF are supported.
Corjan
1. You can use "color: #FFFFFF;" in the txt_add style.
2. Both TTF and OTF are supported.
Corjan
Re: Text colour RGB + OTF fonts
Thanks Corjan,
checked and both working!
Pavel
checked and both working!
Pavel
Pavel Brodský
Prague, Czech Republic
Prague, Czech Republic