Jason Rumney [Mon, 4 Jun 2007 21:26:03 +0000 (21:26 +0000)]
(w32font_open): Don't set font_idx.
(w32font_text_extents): Try GetTextExtentPoint32W before defaulting
to font settings.
(w32font_draw): Fill background explicitly.
Jason Rumney [Sat, 2 Jun 2007 23:42:23 +0000 (23:42 +0000)]
(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.
Jason Rumney [Thu, 31 May 2007 16:20:30 +0000 (16:20 +0000)]
* w32font.c (QCsubranges): New symbol.
(w32font_open, w32font_has_char): Get subranges from subproperty
of extra.
(w32_enumfont_pattern_entity): Set subranges as subproperty of extra.
(syms_of_w32font): Define :subranges symbol.
Jason Rumney [Thu, 31 May 2007 13:20:11 +0000 (13:20 +0000)]
* w32font.c (w32font_open): Handle size, height and pixel_size better.
(w32font_draw): Use options.
(w32_enumfont_pattern_entity): Set size to 0 for scalable fonts.
Fix detection of truetype fonts.
(registry_to_w32_charset): Handle charsets other than iso8859-1
expressed as lisp symbols.
(w32_registry): Express charset as lisp symbol.
(fill_in_logfont): Reverse pixel and point height logic.
Don't set width here. Set quality to default.
Jason Rumney [Thu, 31 May 2007 01:18:19 +0000 (01:18 +0000)]
(font.o, w32font.o): New objects.
(fontset.o, xdisp.o, xfaces.o, w32fns.o, w32term.o): Depend on font.h
(FONTOBJ): New group of objects conditioned on USE_FONT_BACKEND.
Miles Bader [Wed, 30 May 2007 14:06:39 +0000 (14:06 +0000)]
Fix tq.el edge case
(tq-queue-pop): Stifle error when a process has died and we are trying to
send a signal to it. The program using tq.el should periodically check
to see whether the process has died and react appropriately -- this is
not the responsibility of tq.el, and is consistent with the rest of the
tq.el source code.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-779
Creator: Michael Olson <mwolson@gnu.org>
Nick Roberts [Wed, 30 May 2007 05:19:55 +0000 (05:19 +0000)]
(mouse_face_window): Rename...
(Qmouse_face_window): ...to this.
(term_show_mouse_face, term_clear_mouse_face)
(term_mouse_highlight): Use Qmouse_face_window.
(term_mouse_moveto): New function.
(term_mouse_position): Make it work.
(syms_of_term): Uncomment assignment to mouse_position_hook.
Staticpro Qmouse_face_window.
Chong Yidong [Tue, 29 May 2007 15:31:01 +0000 (15:31 +0000)]
* url-mailto.el (url-mailto): Insert body after
mail-header-separator if present, so that is is before signature.
Suggested by Leo Liu <sdl.web@gmail.com>.
Chong Yidong [Tue, 29 May 2007 15:29:58 +0000 (15:29 +0000)]
* url-mailto.el (url-mailto): Insert body after
mail-header-separator if present, so that is is before signature.
Suggested by Leo Liu <sdl.web@gmail.com>.