More fontattributes to get

Feature requests for future versions of Hollywood can be voiced here
Post Reply
User avatar
lazi
Posts: 295
Joined: Fri Feb 25, 2011 12:08 am

More fontattributes to get

Post by lazi » Sun Jul 29, 2018 7:39 pm

There is some constants for the table created by GetAvailableFonts() to describe font styles stored in the font files.

Weight: The weight of this font. This will be set to one of the
following weight constants:

#FONTWEIGHT_THIN
#FONTWEIGHT_EXTRALIGHT
#FONTWEIGHT_ULTRALIGHT
#FONTWEIGHT_LIGHT
#FONTWEIGHT_BOOK
#FONTWEIGHT_NORMAL
#FONTWEIGHT_REGULAR
#FONTWEIGHT_MEDIUM
#FONTWEIGHT_SEMIBOLD
#FONTWEIGHT_DEMIBOLD
#FONTWEIGHT_BOLD
#FONTWEIGHT_EXTRABOLD
#FONTWEIGHT_ULTRABOLD
#FONTWEIGHT_HEAVY
#FONTWEIGHT_BLACK
#FONTWEIGHT_EXTRABLACK
#FONTWEIGHT_ULTRABLACK

Slant: The slant style of this font. This will be set to one of the
following slant constants:

#FONTSLANT_ROMAN
#FONTSLANT_ITALIC
#FONTSLANT_OBLIQUE


It would be handy if these attributes can be obtained by GetAttribute with #font for already opened fonts.

User avatar
airsoftsoftwair
Posts: 2531
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: More fontattributes to get

Post by airsoftsoftwair » Tue Jul 31, 2018 10:59 pm

Should be possible. Request noted.

Post Reply