Custom fonts

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Phunck Offline
Senior Member
Posts: 145
Joined: Apr 2005
Reputation: 0
Post: #1
is it possible to include a custom font with a script. could i do something like this:

Quote:self.textbox = xbmcgui.controltextbox(x,y,w,h, 'courier.ttf', '0xffffffff')
-or-
self.textbox = xbmcgui.controltextbox(x,y,w,h, scriptpath + 'courier.ttf', '0xffffffff')
does anybody know?
find quote
solexalex Offline
Skilled Python Coder
Posts: 706
Joined: Jul 2004
Reputation: 6
Post: #2
did you tried to put this font with others inside xbmc fonts dir ? i already thought to try but never did...
maybe will you have to reboot xbmc after installing the font.
find quote