# HG changeset patch # User Chong Yidong # Date 1231448337 0 # Node ID e01b35f67245b1df8039fd901e9b2a8fb6445c36 # Parent 80faf5dfb6cdab73b2104f177a08dbcfa3ef1490 Documented several font functions. diff -r 80faf5dfb6cd -r e01b35f67245 etc/NEWS --- a/etc/NEWS Thu Jan 08 20:58:13 2009 +0000 +++ b/etc/NEWS Thu Jan 08 20:58:57 2009 +0000 @@ -1627,26 +1627,26 @@ set the font. *** New functions: - ++++ **** `fontp' checks if the argument is a font-spec or font-entity. - ++++ **** `font-spec' creates a new font-spec object. - ++++ **** `font-get' returns a font property value. - ++++ **** `font-put' sets a font property value. - ++++ **** `font-face-attributes' returns a plist of face attributes set by a font. - ++++ **** `list-fonts' returns a list of font-entities matching a font spec. - -**** `font-font' returns the font-entity best matching the given font spec. - ++++ +**** `find-font' returns the font-entity best matching the given font spec. ++++ **** `font-family-list' returns a list of family names of available fonts. - ++++ **** `font-xlfd-name' returns an XLFD name of a given font spec, font entity, or font object. - +--- **** `clear-font-cache' clears all font caches. ** Changes related to multiple-terminal (multi-tty) support