Hi everyone, I'd like to know if there is a way to set a custom font only for a determinate interval of character.
I currently use CustomFonts library to change the typeface with a .tff
But i need to compose a string containing a fontawesome character:
You are Ready ✔
"You are Ready" has to be with a custom font, and the "✔" has to be a fontawesome character
I tried
I currently use CustomFonts library to change the typeface with a .tff
But i need to compose a string containing a fontawesome character:
You are Ready ✔
"You are Ready" has to be with a custom font, and the "✔" has to be a fontawesome character
I tried
B4X:
lblTitleTB2.Typeface = MyriadTitle.SetCustomFonts
Dim rs2 As RichString
Dim rs2b As RichStringBuilder
rs2b.Initialize
rs2.Initialize($"You are Ready %gr%${Chr(0xF058)}%gr%"$)
rs2.Color2(0xFF6FDA8E, "%gr%")
rs2.Style(rs2.STYLE_BOLD,0, rs2.Length)
rs2b.Append(rs2)
lblTitleTB2.Text = rs2b