diff options
| author | Kenichi Handa | 2006-06-06 03:57:22 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2006-06-06 03:57:22 +0000 |
| commit | 3ec0b7a9de72f1bf0f804b042043e9ef45d1cd48 (patch) | |
| tree | 51f163553f70ad4adc23e40d1d55b8ec6acbf4cd | |
| parent | 02ed2ea88a3d8fce9785c15ca54498954b241d81 (diff) | |
| download | emacs-3ec0b7a9de72f1bf0f804b042043e9ef45d1cd48.tar.gz emacs-3ec0b7a9de72f1bf0f804b042043e9ef45d1cd48.zip | |
*** empty log message ***
| -rw-r--r-- | ChangeLog.unicode | 10 | ||||
| -rw-r--r-- | README.unicode | 38 | ||||
| -rw-r--r-- | lisp/ChangeLog.unicode | 11 | ||||
| -rw-r--r-- | src/ChangeLog.unicode | 2 | ||||
| -rw-r--r-- | src/character.c | 4 | ||||
| -rw-r--r-- | src/character.h | 2 |
6 files changed, 64 insertions, 3 deletions
diff --git a/ChangeLog.unicode b/ChangeLog.unicode index d389d797967..370ae6123f6 100644 --- a/ChangeLog.unicode +++ b/ChangeLog.unicode | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2006-06-06 Kenichi Handa <handa@m17n.org> | ||
| 2 | |||
| 3 | * configure.in: New args --enable-font-backend, --with-xft, | ||
| 4 | --with-freetyp. New AC_DEFINEs USE_FONT_BACKEND, HAVE_XFT, | ||
| 5 | HAVE_FREETYPE, HAVE_LIBOTF. New AC_SUBSTs XFT_LIBS, | ||
| 6 | FREETYPE_CFLAGS, FREETYPE_LIBS, FONTCONFIG_CFLAGS, | ||
| 7 | FONTCONFIG_LIBS, LIBOTF_CFLAGS, LIBOTF_LIBS. | ||
| 8 | |||
| 9 | * configure: Re-generated. | ||
| 10 | |||
| 1 | 2006-01-18 Kenichi Handa <handa@m17n.org> | 11 | 2006-01-18 Kenichi Handa <handa@m17n.org> |
| 2 | 12 | ||
| 3 | * make-dist: Include etc/charsets in tarball. | 13 | * make-dist: Include etc/charsets in tarball. |
diff --git a/README.unicode b/README.unicode index 79613c9c6e4..bcaff98627f 100644 --- a/README.unicode +++ b/README.unicode | |||
| @@ -129,3 +129,41 @@ existing support and the extra stuff at | |||
| 129 | 129 | ||
| 130 | * Old auto-save files, and similar files, such as Gnus drafts, | 130 | * Old auto-save files, and similar files, such as Gnus drafts, |
| 131 | containing non-ASCII characters probably won't be re-read correctly. | 131 | containing non-ASCII characters probably won't be re-read correctly. |
| 132 | |||
| 133 | |||
| 134 | |||
| 135 | New font handling mechanism with font backend method | ||
| 136 | ---------------------------------------------------- | ||
| 137 | |||
| 138 | This branch now contains new codes for handling fonts by multiple font | ||
| 139 | backends. The old font handling codes still exist completely parallel | ||
| 140 | to the new codes, and the new codes are used only when you configure | ||
| 141 | Emacs with the argument "--enable-font-backend" and run Emacs with the | ||
| 142 | same argument. | ||
| 143 | |||
| 144 | The configure script, if invoked with "--enable-font-backend", checks | ||
| 145 | existing of libraries freetype and fontconfig. If they are both | ||
| 146 | available, macro "USE_FONT_BACKEND" is defined in src/config.h. | ||
| 147 | In that case, the exiting of Xft library is checked too. | ||
| 148 | |||
| 149 | The new files are: | ||
| 150 | font.c -- main font handling code. | ||
| 151 | xfont.c -- font-driver on X for X core fonts. | ||
| 152 | ftfont.c -- generic font-driver for FreeType fonts. | ||
| 153 | xftfont.c -- font-driver on X using Xft for FreeType fonts. | ||
| 154 | ftxfont.c -- font-driver on X not using Xft for FreeType fonts. | ||
| 155 | |||
| 156 | So we already have codes for X. For the other systems (win32 and mac), | ||
| 157 | it seems that we need these files: | ||
| 158 | bdffont.c -- generic font-driver for BDF fonts. | ||
| 159 | w32font.c -- font driver on win32 using Windows native fonts. | ||
| 160 | w32bdffont.c -- font-driver on win32 using BDF fonts. | ||
| 161 | atmfont.c -- font-driver on mac using ATM fonts. | ||
| 162 | |||
| 163 | It may be interesting if Emacs supports frame buffer directly and have | ||
| 164 | these font driver. | ||
| 165 | ftfbfont.c -- font-driver on FB for FreeType fonts. | ||
| 166 | bdffbfont.c -- font-driver on FB for BDF fonts. | ||
| 167 | |||
| 168 | Several other files have "#ifdef USE_FONT_BACKEND ... #endif" at the | ||
| 169 | place where changed for this new font codes. | ||
diff --git a/lisp/ChangeLog.unicode b/lisp/ChangeLog.unicode index bfeb6dd763e..5a716491086 100644 --- a/lisp/ChangeLog.unicode +++ b/lisp/ChangeLog.unicode | |||
| @@ -1,3 +1,14 @@ | |||
| 1 | 2006-06-06 Kenichi Handa <handa@m17n.org> | ||
| 2 | |||
| 3 | These changes are for the new font handling codes. | ||
| 4 | |||
| 5 | * faces.el (font-weight-table, font-slant-table) | ||
| 6 | (font-swidth-table): New customizable variables. | ||
| 7 | |||
| 8 | * international/fontset.el (font-encoding-alist): Add koi8-4. | ||
| 9 | (script-representative-chars): Set the default value. | ||
| 10 | (create-fontset-from-x-resource): Delete `message'. | ||
| 11 | |||
| 1 | 2006-05-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 12 | 2006-05-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 2 | 13 | ||
| 3 | * term/mac-win.el (mac-utxt-to-string, mac-string-to-utxt) | 14 | * term/mac-win.el (mac-utxt-to-string, mac-string-to-utxt) |
diff --git a/src/ChangeLog.unicode b/src/ChangeLog.unicode index 86831f14d5b..13c8fdc0918 100644 --- a/src/ChangeLog.unicode +++ b/src/ChangeLog.unicode | |||
| @@ -61,6 +61,8 @@ | |||
| 61 | (make_frame, x_set_font) [USE_FONT_BACKEND]: Use font-backend | 61 | (make_frame, x_set_font) [USE_FONT_BACKEND]: Use font-backend |
| 62 | mechanism. | 62 | mechanism. |
| 63 | 63 | ||
| 64 | * lisp.h (assoc_no_quit): Extern it. | ||
| 65 | |||
| 64 | * xdisp.c: If USE_FONT_BACKEND is defined, include "font.h". | 66 | * xdisp.c: If USE_FONT_BACKEND is defined, include "font.h". |
| 65 | Through out the file, use FONT_INFO_FROM_FACE instead of | 67 | Through out the file, use FONT_INFO_FROM_FACE instead of |
| 66 | FONT_INFO_FROM_ID, use get_per_char_metric instead of | 68 | FONT_INFO_FROM_ID, use get_per_char_metric instead of |
diff --git a/src/character.c b/src/character.c index ca3b136a463..3d3e28bc7d2 100644 --- a/src/character.c +++ b/src/character.c | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | /* Basic character support. | 1 | /* Basic character support. |
| 2 | Copyright (C) 1995, 1997, 1998, 2001 Electrotechnical Laboratory, JAPAN. | 2 | Copyright (C) 1995, 1997, 1998, 2001 Electrotechnical Laboratory, JAPAN. |
| 3 | Licensed to the Free Software Foundation. | 3 | Licensed to the Free Software Foundation. |
| 4 | Copyright (C) 2001, 2005 Free Software Foundation, Inc. | 4 | Copyright (C) 2001, 2005, 2006 Free Software Foundation, Inc. |
| 5 | Copyright (C) 2003 | 5 | Copyright (C) 2003, 2006 |
| 6 | National Institute of Advanced Industrial Science and Technology (AIST) | 6 | National Institute of Advanced Industrial Science and Technology (AIST) |
| 7 | Registration Number H13PRO009 | 7 | Registration Number H13PRO009 |
| 8 | 8 | ||
diff --git a/src/character.h b/src/character.h index a939dc727f0..d02fdfb8b79 100644 --- a/src/character.h +++ b/src/character.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Header for multibyte character handler. | 1 | /* Header for multibyte character handler. |
| 2 | Copyright (C) 1995, 1997, 1998 Electrotechnical Laboratory, JAPAN. | 2 | Copyright (C) 1995, 1997, 1998 Electrotechnical Laboratory, JAPAN. |
| 3 | Licensed to the Free Software Foundation. | 3 | Licensed to the Free Software Foundation. |
| 4 | Copyright (C) 2003 | 4 | Copyright (C) 2003, 2006 |
| 5 | National Institute of Advanced Industrial Science and Technology (AIST) | 5 | National Institute of Advanced Industrial Science and Technology (AIST) |
| 6 | Registration Number H13PRO009 | 6 | Registration Number H13PRO009 |
| 7 | 7 | ||