diff options
| author | Stefan Kangas | 2020-01-15 20:01:25 +0100 |
|---|---|---|
| committer | Glenn Morris | 2020-01-16 10:08:53 -0800 |
| commit | 1b1aaf37dc745570ec5202c8cc596591f4afa38d (patch) | |
| tree | 44f69b94bf29a57fbfcafd9d26b87c8dd6408a31 /admin | |
| parent | 215d9fcb79b6ec3c241f58fdff02bf15fb952d0c (diff) | |
| download | emacs-1b1aaf37dc745570ec5202c8cc596591f4afa38d.tar.gz emacs-1b1aaf37dc745570ec5202c8cc596591f4afa38d.zip | |
* admin/notes/font-backend: Remove outdated file. (Bug#34663)
(cherry picked from commit 2be48605c0e31566401853a405dc7ea1892b3ef7)
; Not sure how the automatic merge managed to succeed with this conflict
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/notes/font-backend | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/admin/notes/font-backend b/admin/notes/font-backend deleted file mode 100644 index 644bacfbef0..00000000000 --- a/admin/notes/font-backend +++ /dev/null | |||
| @@ -1,67 +0,0 @@ | |||
| 1 | Copyright (C) 2002-2020 Free Software Foundation, Inc. | ||
| 2 | See the end of the file for license conditions. | ||
| 3 | |||
| 4 | |||
| 5 | New font handling mechanism with font backend method | ||
| 6 | ---------------------------------------------------- | ||
| 7 | |||
| 8 | The new files are: | ||
| 9 | font.h -- header providing font-backend related structures | ||
| 10 | (most important ones are "struct font" and "struct | ||
| 11 | font_driver"), macros, and etc. | ||
| 12 | font.c -- main font handling code. | ||
| 13 | xfont.c -- font-driver on X for X core fonts. | ||
| 14 | ftfont.c -- generic font-driver for FreeType fonts providing | ||
| 15 | device-independent methods of struct font_driver. | ||
| 16 | xftfont.c -- font-driver on X using Xft for FreeType fonts | ||
| 17 | utilizing methods provided by ftfont.c. | ||
| 18 | w32font.c -- font driver on w32 using Windows native fonts, | ||
| 19 | corresponding to xfont.c | ||
| 20 | w32uniscribe.c -- font driver on w32, using the uniscribe API | ||
| 21 | to provide complex script support for opentype fonts on | ||
| 22 | Windows 2000 and later, or earlier versions of Windows | ||
| 23 | with uniscribe installed as an add-on. | ||
| 24 | |||
| 25 | So we already have codes for X and w32. For Mac it seems that we need | ||
| 26 | these files: | ||
| 27 | atmfont.c -- font-driver on mac using ATM fonts, corresponding | ||
| 28 | to xfont.c | ||
| 29 | As BDF fonts are currently used on w32, we may also implement these: | ||
| 30 | bdffont.c -- generic font-driver for BDF fonts, corresponding to | ||
| 31 | ftfont.c | ||
| 32 | bdfw32font.c -- font-driver on w32 using BDF fonts, | ||
| 33 | corresponding to ftxfont.c | ||
| 34 | But, as FreeType already supports BDF fonts, if FreeType and | ||
| 35 | Fontconfig are also available on w32, what we need may be: | ||
| 36 | ftw32font.c -- font-driver on w32 directly using FreeType fonts | ||
| 37 | utilizing methods provided by ftfont.c. | ||
| 38 | |||
| 39 | It may be interesting if Emacs supports a frame buffer directly and | ||
| 40 | has these font driver. | ||
| 41 | ftfbfont.c -- font-driver on FB for FreeType fonts. | ||
| 42 | bdffbfont.c -- font-driver on FB for BDF fonts. | ||
| 43 | |||
| 44 | Note: The fontset related codes are not yet matured to work well with | ||
| 45 | the font backend method. So, for instance, even if you start Emacs | ||
| 46 | as something like this: | ||
| 47 | % emacs -fn tahoma | ||
| 48 | Non-ASCII Latin characters will not be displayed by the font "tahoma". | ||
| 49 | In such a case, please try this: | ||
| 50 | |||
| 51 | (set-fontset-font "fontset-default" 'latin '("tahoma" . "unicode-bmp")) | ||
| 52 | |||
| 53 | |||
| 54 | This file is part of GNU Emacs. | ||
| 55 | |||
| 56 | GNU Emacs is free software: you can redistribute it and/or modify | ||
| 57 | it under the terms of the GNU General Public License as published by | ||
| 58 | the Free Software Foundation, either version 3 of the License, or | ||
| 59 | (at your option) any later version. | ||
| 60 | |||
| 61 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 62 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 63 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 64 | GNU General Public License for more details. | ||
| 65 | |||
| 66 | You should have received a copy of the GNU General Public License | ||
| 67 | along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. | ||