diff options
| author | Kenichi Handa | 2006-08-31 06:49:07 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2006-08-31 06:49:07 +0000 |
| commit | 6ed1c8ac0fc741051047b58aab85496428d7d73a (patch) | |
| tree | 5abc9abe860dffa97eb36aefd681587a6e6d3ce6 | |
| parent | d65dc2c390f866441935840580266c29e536fab1 (diff) | |
| download | emacs-6ed1c8ac0fc741051047b58aab85496428d7d73a.tar.gz emacs-6ed1c8ac0fc741051047b58aab85496428d7d73a.zip | |
*** empty log message ***
| -rw-r--r-- | README.unicode | 46 |
1 files changed, 31 insertions, 15 deletions
diff --git a/README.unicode b/README.unicode index bcaff98627f..c2443cd7c97 100644 --- a/README.unicode +++ b/README.unicode | |||
| @@ -147,23 +147,39 @@ available, macro "USE_FONT_BACKEND" is defined in src/config.h. | |||
| 147 | In that case, the exiting of Xft library is checked too. | 147 | In that case, the exiting of Xft library is checked too. |
| 148 | 148 | ||
| 149 | The new files are: | 149 | The new files are: |
| 150 | font.h -- header providing font-backend related structures | ||
| 151 | (most important ones are "struct font" and "struct | ||
| 152 | font_driver"), macros, and etc. | ||
| 150 | font.c -- main font handling code. | 153 | font.c -- main font handling code. |
| 151 | xfont.c -- font-driver on X for X core fonts. | 154 | xfont.c -- font-driver on X for X core fonts. |
| 152 | ftfont.c -- generic font-driver for FreeType fonts. | 155 | ftfont.c -- generic font-driver for FreeType fonts providing |
| 153 | xftfont.c -- font-driver on X using Xft for FreeType fonts. | 156 | device-independent methods of struct font_driver. |
| 154 | ftxfont.c -- font-driver on X not using Xft for FreeType fonts. | 157 | xftfont.c -- font-driver on X using Xft for FreeType fonts |
| 155 | 158 | utilizing methods provided by ftfont.c. | |
| 156 | So we already have codes for X. For the other systems (win32 and mac), | 159 | ftxfont.c -- font-driver on X directly using FreeType fonts |
| 160 | utilizing methods provided by ftfont.c. | ||
| 161 | |||
| 162 | So we already have codes for X. For the other systems (w32 and mac), | ||
| 157 | it seems that we need these files: | 163 | it seems that we need these files: |
| 158 | bdffont.c -- generic font-driver for BDF fonts. | 164 | w32font.c -- font driver on w32 using Windows native fonts, |
| 159 | w32font.c -- font driver on win32 using Windows native fonts. | 165 | corresponding to xfont.c |
| 160 | w32bdffont.c -- font-driver on win32 using BDF fonts. | 166 | atmfont.c -- font-driver on mac using ATM fonts, corresponding |
| 161 | atmfont.c -- font-driver on mac using ATM fonts. | 167 | to xfont.c |
| 162 | 168 | As BDF fonts are currently used on w32, we may also implement these: | |
| 163 | It may be interesting if Emacs supports frame buffer directly and have | 169 | bdffont.c -- generic font-driver for BDF fonts, corresponding to |
| 164 | these font driver. | 170 | ftfont.c |
| 171 | bdfw32font.c -- font-driver on w32 using BDF fonts, | ||
| 172 | corresponding to ftxfont.c | ||
| 173 | But, as FreeType already supports BDF fonts, if FreeType and | ||
| 174 | Fontconfig are also available on w32, what we need may be: | ||
| 175 | ftw32font.c -- font-driver on w32 directly using FreeType fonts | ||
| 176 | utilizing methods provided by ftfont.c. | ||
| 177 | |||
| 178 | And, for those to work, w32term.c (macterm.c) and w32fns.c (macfns.c) | ||
| 179 | must be changed by the simlilar way as xterm.c and xfns.c (the parts | ||
| 180 | "#ifdef USE_FONT_BACKEND" ... "#endif" should be checked). | ||
| 181 | |||
| 182 | It may be interesting if Emacs supports a frame buffer directly and | ||
| 183 | have these font driver. | ||
| 165 | ftfbfont.c -- font-driver on FB for FreeType fonts. | 184 | ftfbfont.c -- font-driver on FB for FreeType fonts. |
| 166 | bdffbfont.c -- font-driver on FB for BDF fonts. | 185 | 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. | ||