1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-28 01:00:52 -07:00
Commit graph

77903 commits

Author SHA1 Message Date
Kenichi Handa
2d477dcab8 (font_unparse_xlfd): If pixel_size is zero, make the
PIXEL_SIZE part a wild card.
2007-12-03 13:49:09 +00:00
Kenichi Handa
390106219e (struct glyph_string): Define members clip and
num_clips unconditionally.
(struct face): Define members font_info and extra unconditionally.
2007-12-03 13:45:14 +00:00
Kenichi Handa
49f0a04085 *** empty log message *** 2007-12-03 13:42:48 +00:00
Kenichi Handa
9841dbc9ac (x-complement-fontset-spec): Use
font-spec.
2007-12-03 13:42:35 +00:00
Kenichi Handa
794eba0f36 *** empty log message *** 2007-12-03 01:42:57 +00:00
Kenichi Handa
0d674a059d (ftfont_open): Set members maybe_otf and otf of
ftfont_info only when HAVE_LIBOTF is defined.
2007-12-03 01:42:01 +00:00
Andreas Schwab
8f9380d7ed *** empty log message *** 2007-12-02 16:31:17 +00:00
Andreas Schwab
d8a96db85f (back_to_previous_visible_line_start): Fix type of beg
and end.
2007-12-02 16:31:05 +00:00
Jason Rumney
775267617a *** empty log message *** 2007-12-01 16:03:37 +00:00
Jason Rumney
5b0c3446d5 (w32font_driver): Add new fields. 2007-12-01 16:03:21 +00:00
Kenichi Handa
d45ff2ee12 *** empty log message *** 2007-12-01 04:23:55 +00:00
Kenichi Handa
d9080b866f (otf-script-alist): Make all otf tags
4-letters.
(setup-default-fontset): Add OpenType fonts for devanagari and
tamil.
2007-12-01 04:22:41 +00:00
Kenichi Handa
a2ac97d8e1 *** empty log message *** 2007-12-01 04:21:04 +00:00
Kenichi Handa
e542e76e4c (tamil-composition-function): Use
font-shape-text if auto-compose-current-font is non-nil.
2007-12-01 04:20:54 +00:00
Kenichi Handa
77aba77ecb (devanagari-composition-function): Use
font-shape-text if auto-compose-current-font is non-nil.
2007-12-01 04:20:22 +00:00
Kenichi Handa
4fa0f779ce (auto-compose-chars): Argument font-object changed
to window.
2007-12-01 04:19:31 +00:00
Kenichi Handa
b8c79e870d *** empty log message *** 2007-12-01 04:18:25 +00:00
Kenichi Handa
173144084b *** empty log message *** 2007-12-01 04:12:53 +00:00
Kenichi Handa
d8d1da594a Re-generated. 2007-12-01 04:12:42 +00:00
Kenichi Handa
7f0942ba4a Re-generated. 2007-12-01 02:44:40 +00:00
Kenichi Handa
5913f81dd0 Check the availability of m17n-flt library. 2007-12-01 02:43:56 +00:00
Kenichi Handa
88501357fa *** empty log message *** 2007-12-01 02:42:37 +00:00
Kenichi Handa
11bfed587c (x_draw_composite_glyph_string_foreground): Adjusted for
the change of lispy gstring.
2007-12-01 02:42:24 +00:00
Kenichi Handa
4613015e6a Include "ftfont.h".
(struct xftfont_info) [HAVE_LIBOTF]: New members maybe_otf and
otf.
(xftfont_open) [HAVE_LIBOTF]: Initialize the above members.
(xftfont_close) [HAVE_LIBOTF]: Close otf.
(xftfont_shape) [HAVE_LIBOTF, HAVE_M17N_FLT]: New function.
(syms_of_xftfont) [HAVE_LIBOTF, HAVE_M17N_FLT]: Set
xftfont_driver.shape to xftfont_shape.
2007-12-01 02:42:03 +00:00
Kenichi Handa
a9822ae878 * xfont.c (x_font_charset_alist): Moved to font.c and renamed.
(xfont_registry_charsets): Likewise.  Caller changed.
(syms_of_xfont): Don't handle x_font_charset_alist.
2007-12-01 02:41:41 +00:00
Kenichi Handa
6e846fdc69 (set_font_frame_param): Adjusted for the change of
font_find_for_lface.
2007-12-01 02:41:23 +00:00
Kenichi Handa
f08696c668 (handle_composition_prop): Adjusted for the change of
lispy gstring.  Call a function for auto-composition with the
third arg it->window.
(fill_composite_glyph_string): Adjusted for the change of lispy
string.
(x_produce_glyphs): Adjusted for the change of
font_prepare_compositionl.
2007-12-01 02:41:05 +00:00
Kenichi Handa
0c16681f76 (x_draw_composite_glyph_string_foreground): Adjusted
for the change of lispy gstring.
2007-12-01 02:40:49 +00:00
Kenichi Handa
7a259f4b7d New file. 2007-12-01 02:39:57 +00:00
Kenichi Handa
de023c40ad Don't include Freetype headers. Include "ftfont.h".
(struct ftfont_info) [HAVE_LIBOTF]: New members maybe_otf and otf.
(ftfont_open) [HAVE_LIBOTF]: Initialize the above members.
(ftfont_driver) [HAVE_LIBOTF, HAVE_M17N_FLT]: Don't set
font_otf_capability and font_drive_otf, set ftfont_shape.
(ftfont_list): Adjusted for the change of :otf property value.
(struct MFLTFontFT) [HAVE_LIBOTF, HAVE_M17N_FLT]: New struct.
(ftfont_get_glyph_id, ftfont_get_metrics, ftfont_check_otf)
(adjust_anchor, ftfont_drive_otf, ftfont_shape_by_flt)
(ftfont_shape) [HAVE_LIBOTF, HAVE_M17N_FLT]: New function.s
(DEVICE_DELTA) [HAVE_LIBOTF, HAVE_M17N_FLT]: New macro.
(otf_gstring, gstring, m17n_flt_initialized): New variables.
2007-12-01 02:39:27 +00:00
Kenichi Handa
8b67c40a93 (fontset_find_font) [USE_FONT_BACKEND]: Try multiple
fonts of the same font-spec.  Change the format of RFONT-DEF.
(face_for_char): Adjusted for the change of RFONT-DEF.
(make_fontset_for_ascii_face): Likewise.
(Finternal_char_font): Likewise.
(Fset_fontset_font) [USE_FONT_BACKEND]: Handle new format of
font-spec.
2007-12-01 02:39:01 +00:00
Kenichi Handa
1701724c31 * font.c [HAVE_M17N_FLT]: Include <m17n-flt.h>.
(font_charset_alist): Moved from xfont.c and renamed.
(font_registry_charsets): Likewise.
(font_prop_validate_otf): New function.
(font_property_table): Register it for QCotf.
(DEVICE_DELTA, adjust_anchor, REPLACEMENT_CHARACTER)
(font_drive_otf): Deleted.
(font_prepare_composition): New arg F.  Adjusted for the change of
lispy gstring.
(font_find_for_lface): New arg C.
(font_load_for_face): Adjusted for the change of
font_find_for_lface.
(Ffont_make_gstring): Adjusted for the change of lispy gstring.
(Ffont_fill_gstring): Likewise.
(Ffont_shape_text): New function.
(Fopen_font): If the font size is not given, use 12-pixel.
(Ffont_at): New arg STRING.
(syms_of_font): Initalize font_charset_alist.  Declare
Ffont_shape_text as a Lisp function.  Call syms_of_XXfont
conditionally.
2007-12-01 02:38:23 +00:00
Kenichi Handa
4b4836deaf (FONT_ENTITY_NOT_LOADABLE)
(FONT_ENTITY_SET_NOT_LOADABLE): New macros.
(LGSTRING_XXXX, LGLYPH_XXX): Adjusted for the change of lispy
gstring.
(struct font_driver): New member shape.
(font_registry_charsets): Extern. it.
(font_find_for_lface): Prototype adjusted.
(font_prepare_composition): Likewise.
(font_otf_capability, font_drive_otf): Delete their externs.
2007-12-01 02:37:59 +00:00
Kenichi Handa
102780a67e (main): Call syms_of_font unconditionally. 2007-12-01 02:37:34 +00:00
Kenichi Handa
e8e6136b2a (compose_text): Don't treat the new style
composition specially.
2007-12-01 02:35:41 +00:00
Kenichi Handa
ac96711a3b (ALL_CFLAGS): Add @M17N_FLT_CFLAGS@.
(FONTSRC, FONTOBJ) [HAVE_WINDOW_SYSTEM]: Set them unconditionally.
(LIBES): Add @M17N_FLT_CFLAGS@.
2007-12-01 02:35:22 +00:00
Kenichi Handa
dac72a9dfa *** empty log message *** 2007-12-01 02:00:06 +00:00
Jason Rumney
a6708cd05a *** empty log message *** 2007-12-01 00:31:50 +00:00
Jason Rumney
fb3b8017ff (w32font_draw): Fill background manually. 2007-12-01 00:31:23 +00:00
Kenichi Handa
b9217c57e7 (ftxfont_end_for_frame): Fix array indexing error. 2007-11-29 13:00:37 +00:00
Jason Rumney
5f22d86229 *** empty log message *** 2007-11-23 02:10:11 +00:00
Jason Rumney
4c496d0dbb (Qfontp): Remove unused symbol.
(QCantialias): New symbol.
(syms_of_font): Define it.
(font_property_table): Set a validator for QCantialias.
2007-11-23 02:09:42 +00:00
Jason Rumney
9158328107 (CLEARTYPE_QUALITY, CLEARTYPE_NATURAL_QUALITY): Define
if not already.
(QCfamily): Share with xfaces.c.
(Qstandard, Qsubpixel, Qnatural): New symbols.
(syms_of_w32font): Define them. Don't define QCfamily here.
(w32_antialias_type, lispy_antialias_type): New functions.
(w32_enumfont_pattern_entity): New arg requested_font.
Set antialias parameter if non-default was requested.
(fill_in_logfont): Fill in lfQuality if :antialias specified.
2007-11-23 02:09:19 +00:00
Vinicius Jose Latorre
7d5cb920d0 ps-lpr-switches docstring fix. 2007-11-21 15:16:55 +00:00
Kenichi Handa
532729d52d *** empty log message *** 2007-11-21 12:12:19 +00:00
Kenichi Handa
940054308a (read1): Undo the previous change. 2007-11-21 12:12:06 +00:00
Kenichi Handa
495636f946 *** empty log message *** 2007-11-21 00:26:53 +00:00
Kenichi Handa
d0167372fd (Fdelete_frame): Call font_update_drivers only when
USE_FONT_BACKEND is defined..
2007-11-21 00:26:15 +00:00
Kenichi Handa
c458ef2aff *** empty log message *** 2007-11-19 06:28:58 +00:00
Kenichi Handa
7d06be9c3c (utf-7-imap-post-read-conversion)
(utf-7-imap-pre-write-conversion): New functions.
2007-11-19 06:28:45 +00:00