Get Font type

Everything else that doesn't fall into one of the other PB categories.
Perkin
Enthusiast
Enthusiast
Posts: 504
Joined: Thu Jul 03, 2008 10:13 pm
Location: Kent, UK

Get Font type

Post by Perkin »

I have little idea of where to begin, (apart from http://www.purebasic.fr/english/viewtop ... 342#p72342)

If using a given font name I would like to know, simply if it' Serif or Sans-Serif.
Is this easily achievable?

Any hints?
Last edited by Perkin on Fri Aug 27, 2010 8:44 am, edited 1 time in total.
%101010 = $2A = 42
Perkin
Enthusiast
Enthusiast
Posts: 504
Joined: Thu Jul 03, 2008 10:13 pm
Location: Kent, UK

Re: Get Font type

Post by Perkin »

Using Sparkie's code, Is the family Roman - Serif
and Swiss - Sans-Serif
%101010 = $2A = 42
Post Reply