diff options
| author | Jan Djärv | 2013-09-15 19:58:46 +0200 |
|---|---|---|
| committer | Jan Djärv | 2013-09-15 19:58:46 +0200 |
| commit | 3fa2054efdfa3c22456072254e6c67682a595233 (patch) | |
| tree | f882ecc281d2ac5d5aefd27e2c22ece5a0bb0ca4 /src/ChangeLog | |
| parent | c089653d568d5c696f2d35e1bcf9bba64af85b97 (diff) | |
| download | emacs-3fa2054efdfa3c22456072254e6c67682a595233.tar.gz emacs-3fa2054efdfa3c22456072254e6c67682a595233.zip | |
Port the font backend from the Mac port.
* configure.ac: Add check for OSX 10.5, required for macfont.o.
* etc/NEWS: Mention the macfont backend.
* src/Makefile.in (NS_OBJ, SOME_MACHINE_OBJECTS): Add macfont.o.
* src/font.c (syms_of_font): Call syms_of_macfont.
* src/font.h: Declare syms_of_macfont.
* src/nsfns.m: Include macfont.h.
(Fx_create_frame): Register macfont driver, make a better default font.
(Fns_popup_font_panel): Get font from macfont driver, if used.
* src/nsfont.m (ns_tmp_flags, ns_tmp_font): Remove.
(nsfont_open): Set font driver type.
Set font->ascent and font->descent. Figure out font instead of
ns_tmp_font, and flags instead of ns_tmp_flags.
Fix indentation. Remove call to ns_draw_text_decoration,
moved to nsterm.
* src/nsterm.m: Include macfont.h.
(ns_tmp_flags, ns_tmp_font): Remove.
(ns_compute_glyph_string_overhangs): Check for driver Qns.
(ns_draw_glyph_string): Use local variables instead of ns_tmp_flags,
ns_tmp_font. Call ns_draw_text_decoration here instead of nsfont.m.
(changeFont:): Fix code style. Check for font driver type when
getiing font.
* src/nsterm.h (FONT_DESCENT, FONT_ASCENT): Define to (f)->ascent and
(f)->descent.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 5f28dc3d7df..e3b29c9b21d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,35 @@ | |||
| 1 | 2013-09-15 Jan Djärv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | * nsterm.m: Include macfont.h. | ||
| 4 | (ns_tmp_flags, ns_tmp_font): Remove. | ||
| 5 | (ns_compute_glyph_string_overhangs): Check for driver Qns. | ||
| 6 | (ns_draw_glyph_string): Use local variables instead of ns_tmp_flags, | ||
| 7 | ns_tmp_font. Call ns_draw_text_decoration here instead of nsfont.m. | ||
| 8 | (changeFont:): Fix code style. Check for font driver type when | ||
| 9 | getiing font. | ||
| 10 | |||
| 11 | * nsterm.h (FONT_DESCENT, FONT_ASCENT): Define to (f)->ascent and | ||
| 12 | (f)->descent. | ||
| 13 | |||
| 14 | * nsfont.m (ns_tmp_flags, ns_tmp_font): Remove. | ||
| 15 | (nsfont_open): Set font driver type. | ||
| 16 | Set font->ascent and font->descent. Figure out font instead of | ||
| 17 | ns_tmp_font, and flags instead of ns_tmp_flags. | ||
| 18 | Fix indentation. Remove call to ns_draw_text_decoration, | ||
| 19 | moved to nsterm. | ||
| 20 | |||
| 21 | * nsfns.m: Include macfont.h. | ||
| 22 | (Fx_create_frame): Register macfont driver, make a better default font. | ||
| 23 | (Fns_popup_font_panel): Get font from macfont driver, if used. | ||
| 24 | |||
| 25 | * macfont.m, macfont.h, maccuvs.h: New files. | ||
| 26 | |||
| 27 | * font.h: Declare syms_of_macfont. | ||
| 28 | |||
| 29 | * font.c (syms_of_font): Call syms_of_macfont. | ||
| 30 | |||
| 31 | * Makefile.in (NS_OBJ, SOME_MACHINE_OBJECTS): Add macfont.o. | ||
| 32 | |||
| 1 | 2013-09-15 Dmitry Antipov <dmantipov@yandex.ru> | 33 | 2013-09-15 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 34 | ||
| 3 | Drop VERTICAL_SCROLL_BAR_WIDTH_TRIM. For X, it is zero since 1999, | 35 | Drop VERTICAL_SCROLL_BAR_WIDTH_TRIM. For X, it is zero since 1999, |