Mercurial > emacs
comparison admin/notes/font-backend @ 108869:2d46c90637c5
* admin/notes/font-backend: Remove obsolete information.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Wed, 02 Jun 2010 22:45:20 -0700 |
parents | 1d1d5d9bd884 |
children | 417b1e4d63cd |
comparison
equal
deleted
inserted
replaced
108868:ed338646a7b4 | 108869:2d46c90637c5 |
---|---|
3 See the end of the file for license conditions. | 3 See the end of the file for license conditions. |
4 | 4 |
5 | 5 |
6 New font handling mechanism with font backend method | 6 New font handling mechanism with font backend method |
7 ---------------------------------------------------- | 7 ---------------------------------------------------- |
8 | |
9 The configure script, if invoked with "--enable-font-backend", checks | |
10 if libraries freetype and fontconfig exist. If they are both | |
11 available, macro "USE_FONT_BACKEND" is defined in src/config.h. In | |
12 that case, the existence of Xft library is checked too. | |
13 | 8 |
14 The new files are: | 9 The new files are: |
15 font.h -- header providing font-backend related structures | 10 font.h -- header providing font-backend related structures |
16 (most important ones are "struct font" and "struct | 11 (most important ones are "struct font" and "struct |
17 font_driver"), macros, and etc. | 12 font_driver"), macros, and etc. |
42 But, as FreeType already supports BDF fonts, if FreeType and | 37 But, as FreeType already supports BDF fonts, if FreeType and |
43 Fontconfig are also available on w32, what we need may be: | 38 Fontconfig are also available on w32, what we need may be: |
44 ftw32font.c -- font-driver on w32 directly using FreeType fonts | 39 ftw32font.c -- font-driver on w32 directly using FreeType fonts |
45 utilizing methods provided by ftfont.c. | 40 utilizing methods provided by ftfont.c. |
46 | 41 |
47 And, for those to work, macterm.c and macfns.c must be changed by the | |
48 similar way as xterm.c and xfns.c (the parts "#ifdef USE_FONT_BACKEND" | |
49 ... "#endif" should be checked). | |
50 | |
51 It may be interesting if Emacs supports a frame buffer directly and | 42 It may be interesting if Emacs supports a frame buffer directly and |
52 has these font driver. | 43 has these font driver. |
53 ftfbfont.c -- font-driver on FB for FreeType fonts. | 44 ftfbfont.c -- font-driver on FB for FreeType fonts. |
54 bdffbfont.c -- font-driver on FB for BDF fonts. | 45 bdffbfont.c -- font-driver on FB for BDF fonts. |
55 | 46 |