aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog.unicode18
-rw-r--r--src/xfont.c1
2 files changed, 19 insertions, 0 deletions
diff --git a/src/ChangeLog.unicode b/src/ChangeLog.unicode
index 65e5b5b89ea..60213746248 100644
--- a/src/ChangeLog.unicode
+++ b/src/ChangeLog.unicode
@@ -1,3 +1,21 @@
12006-11-24 Kenichi Handa <handa@m17n.org>
2
3 * xfont.c (xfont_open): Set font->format.
4
5 * xftfont.c (xftfont_open): Set font->format.
6
7 * ftfont.c (ftfont_pattern_entity): Add fontformat in a pattern.
8 (ftfont_list): Include FC_FONTFORMAT in FcObject.
9 (ftfont_open): Set font->format.
10 (ftfont_font_format): New function.
11
12 * font.h (struct font): New memeber format.
13
14 * font.c (Qopentype): New variable.
15 (syms_of_font): Defsym it.
16 (Fquery_font): Change the format of the last element of the return
17 value.
18
12006-11-22 Kenichi Handa <handa@m17n.org> 192006-11-22 Kenichi Handa <handa@m17n.org>
2 20
3 * search.c (simple_search): Fix sync with HEAD. 21 * search.c (simple_search): Fix sync with HEAD.
diff --git a/src/xfont.c b/src/xfont.c
index 9941fb2655a..0ea677cdeec 100644
--- a/src/xfont.c
+++ b/src/xfont.c
@@ -592,6 +592,7 @@ xfont_open (f, entity, pixel_size)
592 if (! xfont) 592 if (! xfont)
593 return NULL; 593 return NULL;
594 font = malloc (sizeof (struct font)); 594 font = malloc (sizeof (struct font));
595 font->format = Qx;
595 font->font.font = xfont; 596 font->font.font = xfont;
596 font->entity = entity; 597 font->entity = entity;
597 font->pixel_size = pixel_size; 598 font->pixel_size = pixel_size;