Hi,
yes there is another solution.
Get an .ttf or .otf file of your font (google fonts for example)
Put this in the style of your html
@font-face {
font-family: Roboto;
src: url(font/Roboto-black.ttf);
}
and make sure you have the rtf or otf file in your font folder.
Then , for example
|
Quellcode
|
1
2
3
|
<data name="css_text">
font-family: Roboto; font-size:14px; color:#ffffff; text-align:left; line-height:20px;
</data>
|
then in your textfield layer just call css="data: css_text"
Hope it helps!
Tuur