Method Image.TTF.Face()->_names()
- Method
names
Method _names
mapping
names()
array
(array
) _names()- Description
-
Gives back the names or the complete name-list of this face.
The result from names() is a mapping, which has any or all of these indices:
"copyright": ("Copyright the Foo Corporation...bla bla") "family": ("My Little Font") "style": ("Bold") "full": ("Foo: My Little Font: 1998") "expose": ("My Little Font Bold") "version": ("June 1, 1998; 1.00, ...") "postscript": ("MyLittleFont-Bold") "trademark": ("MyLittleFont is a registered...bla bla")
This is extracted from the information from _names(), and fit into pike-strings using unicode or iso-8859-1, if possible.
The result from _names() is a matrix, on this form:
({ ({ int platform, encoding, language, id, string name }), ({ int platform, encoding, language, id, string name }), ... })
- Returns
-
the name as a mapping to string or the names as a matrix
- Note
-
To use the values from _names(), check the TrueType standard documentation.