About Store Forum Documentation Contact
Donations:
140$/mo



Post Reply 
Import Fonts
Author Message
McTomas Offline
Member

Post: #1
Import Fonts
Hi

Before the October 2009 it was possible to import with, fonts.import() method, fonts (.tff format) from other directory than "Windows/Fonts" folder.

Is there anyway to do import a .tff font from another folder than the windows/fonts folder?

Best Regards

Miguel
02-20-2010 01:36 AM
Find all posts by this user Quote this message in a reply
McTomas Offline
Member

Post: #2
RE: Import Fonts
So, there is no other way to create a font without importing from the windows/fonts folder?
02-22-2010 06:19 PM
Find all posts by this user Quote this message in a reply
Masterxilo Offline
Member

Post: #3
RE: Import Fonts

System: Windows 7 Ultimate 64 bit, Q6600 2.4 GHZ, 4GB RAM, nVidia GeForce 260 GTX 896 MB DDR3

Visit my site: hurricane-eye.webs.com
And read my blog: hurricane-eyeent.blogspot.com
02-22-2010 11:18 PM
Visit this user's website Find all posts by this user Quote this message in a reply
McTomas Offline
Member

Post: #4
RE: Import Fonts
That won't do because that function will install the font into the windows fonts table.

I would like to know if there is something like Font.Import(font.tff) that was before the October 2009 update.

Thanks for the help grin

Best Regards
(This post was last modified: 02-23-2010 01:49 AM by McTomas.)
02-23-2010 12:31 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #5
RE: Import Fonts
if I remember correctly there was no Font::Import function at all
02-23-2010 04:32 PM
Find all posts by this user Quote this message in a reply
McTomas Offline
Member

Post: #6
RE: Import Fonts
(02-23-2010 04:32 PM)Esenthel Wrote:  if I remember correctly there was no Font::Import function at all

Probably it had a different name, the one I remembered was Import. Is it possible to add that feature (to add a .tff to the FontMake() from other directory than Windows/Fonts) to the engine?

Thank you for the help grin

Best Regards

Miguel
02-23-2010 08:29 PM
Find all posts by this user Quote this message in a reply
Masterxilo Offline
Member

Post: #7
RE: Import Fonts
Quote:that function will install the font into the windows fonts table.
Right, and as soon as it's there, you can create an esenthel font from it like in the font creation tutorial by just specifying this fonts name...

Like, you have a "My Font.tff" in your game directory.
Then you call
Code:
AddFontResource(L"My Font.tff")
And then:
Code:
FontMake(temp,"My Font",characters,64);

Tell me if that works (it should).

System: Windows 7 Ultimate 64 bit, Q6600 2.4 GHZ, 4GB RAM, nVidia GeForce 260 GTX 896 MB DDR3

Visit my site: hurricane-eye.webs.com
And read my blog: hurricane-eyeent.blogspot.com
(This post was last modified: 02-25-2010 07:53 PM by Masterxilo.)
02-25-2010 07:53 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply