Blockland Forums > Modification Help

Check if font exists?

Pages: (1/2) > >>

Greek2me:

Is there a way to check if the computer running BL has a specific font loaded on it?

Greek2me:

Bump. For example, how could I check if the computer had the font "Calibri" installed on it?

PurpleMetro:

How would you check if a font exists?
Hmm thats a hard que-NOT!

All that you have to do is look around in your blockland folder really was it that hard?

Pah1023:


--- Quote from: PurpleMetro on September 03, 2011, 02:14:40 PM ---How would you check if a font exists?
Hmm thats a hard que-NOT!

All that you have to do is look around in your blockland folder really was it that hard?

--- End quote ---
If its so simple why didnt you give him the answer?

Anyway, I am certain return to blockland uses a function called getWinFonts(), not sure better double check, and im certain it is windows only.

Munkey:


--- Quote from: PurpleMetro on September 03, 2011, 02:14:40 PM ---How would you check if a font exists?
Hmm thats a hard que-NOT!

All that you have to do is look around in your blockland folder really was it that hard?

--- End quote ---

He is asking if the computer running BL has it, and finding it out through code.


--- Quote from: Greek2me on September 01, 2011, 09:56:10 PM ---Is there a way to check if the computer running BL has a specific font loaded on it?

--- End quote ---


Pages: (1/2) > >>

Go to full version