1

Is there any way of using additional type-faces in Android widgets?

Dim GothicFont As Typeface
GothicFont = Typeface.LoadFromAssets("gothic.ttf")

I just want to use Century Gothic font with a text label in my home screen widget.

sam-w
  • 7,478
  • 1
  • 47
  • 77
effe
  • 1,335
  • 3
  • 17
  • 26

1 Answers1

0

It is not possible to load a custom font file as the widget is hosted in a different process. Your only option is to use Canvas to draw the text.

Erel
  • 1,802
  • 2
  • 15
  • 58