Font Metrics

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
chris319
Enthusiast
Enthusiast
Posts: 782
Joined: Mon Oct 24, 2005 1:05 pm

Font Metrics

Post by chris319 »

Would there be any interest in adding font metrics for loaded fonts to PB, such as ascender, descender, line gap, etc.?

Code: Select all

b = Ascender(FontID(n))
This may seem a little specialized but there are already plenty of specialized things in PB.