Page 1 of 1

How do I find a Font

Posted: Thu Aug 20, 2009 3:30 am
by Hot Pockets
Am looking for a fixed size and not a proportinalized font. Which is a font that each letter has the same width size. Pure basic asks for a font number but in all the help bookes, survival guide I never found a lit of Fonts and there numbers. Where could I find that list and also whether they are Fixed size fonts.?

Posted: Thu Aug 20, 2009 3:34 am
by rsts
The fonts are on your machine. They are not PureBasic fonts, you merely load them with Purebasic.

Or have I misunderstood the question?

Posted: Thu Aug 20, 2009 8:12 am
by blueznl
Windows manages the fonts. Your system contains a number of them. See LoadFont() and FontID() in the helpfile.

Posted: Thu Aug 20, 2009 9:45 am
by Vera
Hi Hot Pockets,

a little while ago I myself searched to find a suitable monospaced font and made a small comparing overview about some I found quite good and bundled it into a small download including needed and further links: ProggyFonts-vs1.zip or review online.
TIP: there's another thread about ProggyFonts where you can see some more examples: Beste Monospace-Schriftart

And just to see which fonts you have currently installed you may use FontViewOK by SoftwareOk or new WinFontsView by NirSoft. (In case you're interested I can recommend you some more comprehensively viewers.)

Greeting ~ Vera

Re: How do I find a Font

Posted: Thu Aug 20, 2009 11:39 am
by Kaeru Gaman
Hot Pockets wrote: Pure basic asks for a font number
this number is returned by or defined in the LoadFont command.
you load the font by name, just like any other application.
as blueznl already said, See LoadFont() and FontID() in the helpfile.


the font has to be preinstalled on the client machine.
when you use a font that is present on your computer, make sure it's really part of the basic Windows-Package.
there are only few fonts wich allow you to include them into a package and ship them with your application.

you can obtain free fonts from some sides in the internet (read carefully if they are really free, don't include ripped content to your package).

there is also a side where you can create your own font, and you can download a lot of fonts under CC-license.
http://fontstruct.fontshop.com/


depending on what surface you want to display: on a DX-Screen a bitmapfont/spritefont is often much easier to handle.

Fonts

Posted: Thu Aug 20, 2009 11:52 pm
by Hot Pockets
You were alittle of, I knew That the fonts were in windows but the font number thru me. Thanks to akl. The downloads Vera supplied are very helpful as was Mr Gaman's Font Structure website which is very interesting. Again thanks to all of you people.