Next: Font Instance Names, Previous: Font Specifiers, Up: Fonts [Contents][Index]
This predicate returns t
if object is a font instance, and
nil
otherwise.
This function creates a new font-instance object of the specified name.
device specifies the device this object applies to and defaults to
the selected device. An error is signalled if the font is unknown or
cannot be allocated; however, if noerror is non-nil
,
nil
is simply returned in this case.
The returned object is a normal, first-class lisp object. The way you “deallocate” the font is the way you deallocate any other lisp object: you drop all pointers to it and allow it to be garbage collected. When these objects are GCed, the underlying X data is deallocated as well.