comparison src/ChangeLog.unicode @ 90558:1c287c3d1698

*** empty log message ***
author Kenichi Handa <handa@m17n.org>
date Fri, 28 Jul 2006 12:53:14 +0000
parents c7ca842a0366
children cfd79d58009b
comparison
equal deleted inserted replaced
90557:80c2d97a494e 90558:1c287c3d1698
1 2006-07-28 Kenichi Handa <handa@m17n.org> 1 2006-07-28 Kenichi Handa <handa@m17n.org>
2
3 * font.h (struct font): New member scalable.
4 (struct font_driver): New arg ALTERANTE_SUBST to otf_gsub.
5 (font_otf_gsub): Prototype adjusted.
6
7 * font.c (font_otf_capability): Fix handling of the default
8 langsys.
9 (parse_gsub_gpos_spec): Type changed to void. New arg nbytes.
10 Check the contents of SPEC.
11 (LGSTRING_HEADER_SIZE, LGSTRING_GLYPH_SIZE): New macros.
12 (check_gstring): New function.
13 (REPLACEMENT_CHARACTER): New macro.
14 (font_otf_gsub): New arg alternate_subst. Be sure to set all
15 glyph codes of GSTRING.
16 (font_otf_gpos): Be sure to set all glyph codes of GSTRING.
17 (font_prepare_composition): Set cmp->glyph_len.
18 (font_open_entity): Set font->scalable.
19 (Ffont_get): Handle :otf property.
20 (Ffont_otf_gsub, Ffont_otf_gpos, Ffont_otf_alternates): New
21 functions.
22 (Fquery_font): Use font->font.full_name.
23 (syms_of_font): Defsubr Sfont_otf_gsub, Sfont_otf_gpos, and
24 Sfont_otf_alternates.
25
26 * ftfont.c (ftfont_open): Set font->font.full_name and
27 font->font.name properly. Fix calculation of font->font.height
28 and font->min_width.
29
30 * ftxfont.c (ftxfont_create_gcs): New function.
31 (ftxfont_draw_bitmap): Fix arg to ftfont_driver.get_bitmap.
32 (ftxfont_draw_backgrond): Fix filling region.
33 (ftxfont_default_fid): New function.
34 (ftxfont_open): Set xfotn->fid to the return value of
35 ftxfont_default_fid.
36 (ftxfont_prepare_face): Use ftxfont_create_gcs to create GCs.
37 (ftxfont_done_face): Free only GCs that are created by
38 ftxfont_create_gcs.
39 (ftxfont_draw): If face->gc != s->gc, create proper GCs.
40
41 * xterm.c (x_set_glyph_string_clipping_exactly) [USE_FONT_BACKEND]:
42 Clip to src->width, etc (not src->clip_XXX).
2 43
3 * xfns.c (x_create_tip_frame) [USE_FONT_BACKEND]: Handle 44 * xfns.c (x_create_tip_frame) [USE_FONT_BACKEND]: Handle
4 FontBackend frame parameter. 45 FontBackend frame parameter.
5 46
6 2006-07-26 Kenichi Handa <handa@m17n.org> 47 2006-07-26 Kenichi Handa <handa@m17n.org>