comparison src/specifier.h @ 3659:98af8a976fc3

[xemacs-hg @ 2006-11-05 22:31:31 by aidan] Support specifying fonts for particular character sets in Mule; support translation to ISO 10646-1 for Mule character sets without an otherwise matching font; move to a vector of X11-charset-X11-registry instead of a regex for the charset-registry property.
author aidan
date Sun, 05 Nov 2006 22:31:46 +0000
parents 141c2920ea48
children d00347ec8289
comparison
equal deleted inserted replaced
3658:0db1aaedbbef 3659:98af8a976fc3
533 int unlock_ghost_specifiers_protected (void); 533 int unlock_ghost_specifiers_protected (void);
534 534
535 void cleanup_specifiers (void); 535 void cleanup_specifiers (void);
536 void prune_specifiers (void); 536 void prune_specifiers (void);
537 void setup_device_initial_specifier_tags (struct device *d); 537 void setup_device_initial_specifier_tags (struct device *d);
538 void setup_charset_initial_specifier_tags (Lisp_Object charset);
538 void kill_specifier_buffer_locals (Lisp_Object buffer); 539 void kill_specifier_buffer_locals (Lisp_Object buffer);
539 540
540 DECLARE_SPECIFIER_TYPE (generic); 541 DECLARE_SPECIFIER_TYPE (generic);
541 #define XGENERIC_SPECIFIER(x) XSPECIFIER_TYPE (x, generic) 542 #define XGENERIC_SPECIFIER(x) XSPECIFIER_TYPE (x, generic)
542 #define GENERIC_SPECIFIERP(x) SPECIFIER_TYPEP (x, generic) 543 #define GENERIC_SPECIFIERP(x) SPECIFIER_TYPEP (x, generic)
565 #define XDISPLAYTABLE_SPECIFIER(x) XSPECIFIER_TYPE (x, display_table) 566 #define XDISPLAYTABLE_SPECIFIER(x) XSPECIFIER_TYPE (x, display_table)
566 #define DISPLAYTABLE_SPECIFIERP(x) SPECIFIER_TYPEP (x, display_table) 567 #define DISPLAYTABLE_SPECIFIERP(x) SPECIFIER_TYPEP (x, display_table)
567 #define CHECK_DISPLAYTABLE_SPECIFIER(x) CHECK_SPECIFIER_TYPE (x, display_table) 568 #define CHECK_DISPLAYTABLE_SPECIFIER(x) CHECK_SPECIFIER_TYPE (x, display_table)
568 #define CONCHECK_DISPLAYTABLE_SPECIFIER(x) CONCHECK_SPECIFIER_TYPE (x, display_table) 569 #define CONCHECK_DISPLAYTABLE_SPECIFIER(x) CONCHECK_SPECIFIER_TYPE (x, display_table)
569 570
571 /* The various stages of font instantiation; initial means "find a font for
572 CHARSET that matches the charset's registries" and final means "find a
573 font for CHARSET that matches iso10646-1, since we haven't found a font
574 that matches its registry." */
575 enum font_specifier_matchspec_stages {
576 initial,
577 final,
578 impossible,
579 };
580
581 Lisp_Object define_specifier_tag(Lisp_Object tag,
582 Lisp_Object device_predicate,
583 Lisp_Object charset_predicate);
584
570 #endif /* INCLUDED_specifier_h_ */ 585 #endif /* INCLUDED_specifier_h_ */