Mercurial > emacs
view src/acldef.h @ 90906:f8694254fa1d
(w32font_info): Remove subranges.
(QCsubranges, Qmodern, Qswiss, Qroman): Remove.
(QCfamily, Qmonospace, Qsans_serif, Qmono, Qsans, Qsans__serif)
(Qraster, Qoutline, Qlatin, Qgreek, Qcoptic, Qcyrillic, Qarmenian)
(Qhebrew, Qarabic, Qsyriac, Qnko, Qthaana, Qdevanagari, Qbengali)
(Qgurmukhi, Qgujarati, Qoriya, Qtamil, Qtelugu, Qkannada)
(Qmalayalam, Qsinhala, Qthai, Qlao, Qtibetan, Qmyanmar, Qgeorgian)
(Qhangul, Qethiopic, Qcherokee, Qcanadian_aboriginal, Qogham)
(Qrunic, Qkhmer, Qmongolian, Qsymbol, Qbraille, Qhan)
(Qideographic_description, Qcjk_misc, Qkana, Qbopomofo, Qkanbun)
(Qyi, Qbyzantine_musical_symbol, Qmusical_symbol, Qmathematical):
New symbols.
(font_callback_data): New struct.
(w32font_list, w32font_match): Use it.
(w32font_open): Don't populate subranges.
(w32font_has_char): Use script Lisp symbols, not subrange bitmask.
(w32font_encode_char): Always return unicode code-point as-is.
(w32font_text_extents): Supply a tranformation matrix to
GetGlyphOutline. Never look up by glyph index. Avoid looping
twice. Use unicode version of GetTexExtentPoint32 instead of
glyph index version.
(set_fonts_frame): Remove
(w32_enumfont_pattern_entity): Add frame parameter, use it to
set frame parameter. Use backward compatible fake foundries.
Save generic family in extra slot under QCfamily. Make width slot
constant. Save QCspacing value. Save list of scripts instead of
binary subranges.
(w32_generic_family, logfonts_match, font_matches_spec): New functions.
(add_font_entity_to_list): Use font_callback_data struct. Filter
unwanted fonts.
(add_one_font_entity_to_list): Use font_callback_data struct.
(w32_registry): Default to iso10646_1;
(fill_in_logfont): Use dpi from extra slot. Don't bother with
string font registries. Don't fill in font name if it is a generic
family name, fill family instead. Use spacing, family and script
extra info to fill pitch, family and charset fields.
(list_all_matching_fonts): Use font_callback_data struct.
(unicode_range_for_char): Remove.
(font_supported_scripts): New function.
(w32font_initialize): Remove.
(syms_of_w32font): Update which symbols are defined.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Sat, 02 Jun 2007 23:42:23 +0000 |
parents | 52a7f3f50b89 |
children |
line wrap: on
line source
/* * The code here is forced by the interface, and is not subject to * copyright, constituting the only possible expression of the * algorithm in this format. */ #define ACL$K_LENGTH 12 #define ACL$C_LENGTH 12 #define ACL$C_FILE 1 #define ACL$C_DEVICE 2 #define ACL$C_JOBCTL_QUEUE 3 #define ACL$C_COMMON_EF_CLUSTER 4 #define ACL$C_LOGICAL_NAME_TABLE 5 #define ACL$C_PROCESS 6 #define ACL$C_GROUP_GLOBAL_SECTION 7 #define ACL$C_SYSTEM_GLOBAL_SECTION 8 #define ACL$C_ADDACLENT 1 #define ACL$C_DELACLENT 2 #define ACL$C_MODACLENT 3 #define ACL$C_FNDACLENT 4 #define ACL$C_FNDACETYP 5 #define ACL$C_DELETEACL 6 #define ACL$C_READACL 7 #define ACL$C_ACLLENGTH 8 #define ACL$C_READACE 9 #define ACL$C_RLOCK_ACL 10 #define ACL$C_WLOCK_ACL 11 #define ACL$C_UNLOCK_ACL 12 #define ACL$S_ADDACLENT 255 #define ACL$S_DELACLENT 255 #define ACL$S_MODACLENT 255 #define ACL$S_FNDACLENT 255 #define ACL$S_FNDACETYP 255 #define ACL$S_DELETEACL 255 #define ACL$S_READACL 512 #define ACL$S_ACLLENGTH 4 #define ACL$S_READACE 255 #define ACL$S_RLOCK_ACL 4 #define ACL$S_WLOCK_ACL 4 #define ACL$S_UNLOCK_ACL 4 #define ACL$S_ACLDEF 16 #define ACL$L_FLINK 0 #define ACL$L_BLINK 4 #define ACL$W_SIZE 8 #define ACL$B_TYPE 10 #define ACL$L_LIST 12 /* arch-tag: 7c11e99d-34df-41e8-98e2-20f152c4ad73 (do not change this comment) */