Mercurial > emacs
view lwlib/lwlib-utils.h @ 90468:5424215feef6
(XLFD_SMALLNUM_MASK): Delete this macro.
(XLFD_LARGENUM_MASK): Delete XLFD_ENCODING_MASK from it.
(font_expand_wildcards): Fix handling ENCODING field. Avoid
unnecessary checks for weight, slant, and swidth.
(font_parse_fcname): New function.
(font_unparse_fcname): New function.
(font_parse_name): New function.
(font_match_p): New function.
(font_get_name): Return value changed to Lisp string.
(font_get_spec): New function.
(Qunspecified, Qignore_defface): Don't extern them.
(font_find_for_lface): Assume that LFACE is fully specified.
(font_load_for_face): If lface[LFACE_FONT_INDEX] is an font
object, use it for FACE.
(font_open_by_name): Call Ffont_spec with QCname prop. Don't call
driver->parse_name.
(Ffont_spec): Call font_parse_name, not font_parse_xlfd.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Fri, 16 Jun 2006 12:34:49 +0000 |
parents | 68c22ea6027c |
children |
line wrap: on
line source
#ifndef _LWLIB_UTILS_H_ #define _LWLIB_UTILS_H_ void XtNoClearRefreshWidget __P ((Widget)); typedef void (*XtApplyToWidgetsProc) __P ((Widget, XtPointer)); typedef void* (*XtApplyUntilToWidgetsProc) __P ((Widget, XtPointer)); void XtApplyToWidgets __P ((Widget, XtApplyToWidgetsProc, XtPointer)); void *XtApplyUntilToWidgets __P ((Widget, XtApplyUntilToWidgetsProc, XtPointer)); Widget *XtCompositeChildren __P ((Widget, unsigned int *)); /* returns True is the widget is being destroyed, False otherwise */ Boolean XtWidgetBeingDestroyedP __P ((Widget widget)); void XtSafelyDestroyWidget __P ((Widget)); #endif /* _LWLIB_UTILS_H_ */ /* arch-tag: 705efd86-9319-4447-80f6-16aa5b349809 (do not change this comment) */