HeroEngine Forums
Welcome, Guest. Please login or Register for HeroCloud Account.

Author Topic: [Resolved] Loading Fonts from the Repository  (Read 1336 times)

Amanda_Brooks

  • General Accounts
  • *
  • Posts: 514
    • View Profile
    • Heroes and Villains
[Resolved] Loading Fonts from the Repository
« on: Jun 29, 13, 10:08:32 PM »

We've been trying to load a custom TruType Font from the repository, but according to the engine, the function to laid them seems to be depreciated:

Quote
Loading a Font Resource from the Repository
This functionality is deprecated
Unloading a Font Resource
This functionality is deprecated

But there's doesn't seem to be anything on the wiki about this - http://hewiki.heroengine.com/wiki/Fonts

Any suggestions?
« Last Edit: Jul 03, 13, 04:04:33 PM by HE-Cooper »
Logged
"Heroes and Villains" - www.heroes-and-villains.com
Facebook: https://www.facebook.com/HeroesAndVillainsMMORPG
Twitter: @Plan_Z_Studios

PN-Dwight

  • General Accounts
  • *
  • Posts: 465
    • View Profile
    • Pirates' Nest
Re: Loading Fonts from the Repository
« Reply #1 on: Jun 30, 13, 05:30:48 AM »

https://community.heroengine.com/forums/index.php/topic,3675.0.html

It has been discussed before with Font usages. You would need to use a different method, and don't forget to use the extention .ttf [Else, the engine thinks it's a font installed on the client machine].

Cheers!

keeperofstars

  • General Accounts
  • *
  • Posts: 998
    • View Profile
    • StarKeeper Online
Re: Loading Fonts from the Repository
« Reply #2 on: Jun 30, 13, 11:26:32 AM »

Also as a quick side note.

deprecated defintion:

 Computer Science To mark (a component of a software standard) as obsolete to warn against its use in the future so that it may be phased out.

So when you see that in the future you will know that the function or method has probably been replaced but is just there in the event people have built an entire game off of it, and the devs didn't want to break their structure. But you shouldn't be using it, and looking for a new method or process.
Which in this case they clarify in the link dwight added.

Now to your full defense the wiki should be updated, to reflect the changes.
But we know how that goes.  :)
Logged
[img]http://screencast.com/t/x7btcSSyp3h0[\img]

HE-Cooper

  • *****
  • Posts: 2221
    • View Profile
Re: Loading Fonts from the Repository
« Reply #3 on: Jun 30, 13, 03:05:04 PM »

You mean like how the bottom of the font page says those functions are deprecated? :-)
Logged

keeperofstars

  • General Accounts
  • *
  • Posts: 998
    • View Profile
    • StarKeeper Online
Re: Loading Fonts from the Repository
« Reply #4 on: Jun 30, 13, 10:15:26 PM »

eh should be more pronounced or here is an idea just removed.
« Last Edit: Jun 30, 13, 10:17:20 PM by keeperofstars »
Logged
[img]http://screencast.com/t/x7btcSSyp3h0[\img]

HE-Cooper

  • *****
  • Posts: 2221
    • View Profile
Re: Loading Fonts from the Repository
« Reply #5 on: Jun 30, 13, 11:31:48 PM »

Source code licensees maintain myriad branches of code. There are games in the wild, as well as in development, using static branches of code. :-)
Logged