Mercurial > emacs
view .bzrignore @ 106755:574dd89b7759
Fix slowdown and wrong font choosed by XSETTINGS changes. bug #5157.
* font.c (font_open_entity): Enable chache and call cached_font_ok
for the driver if defined.
(QCuser_spec): New symbol.
(font_spec_from_name): Save name as user-spec.
(font_load_for_lface): Keep user-spec instead of name.
(font_open_by_name): Save name as user-spec.
(syms_of_font): Initialize QCuser_spec.
* xftfont.c (xftfont_open): Call xftfont_add_rendering_parameters.
(xftfont_add_rendering_parameters, xftfont_cached_font_ok): New.
(syms_of_xftfont): Initialize xftfont_driver.cached_font_ok.
* font.h (struct font_driver): Add cached_font_ok.
* font-setting.el (font-setting-change-default-font): Use user-spec
instead of name.
author | Jan D. <jan.h.d@swipnet.se> |
---|---|
date | Wed, 06 Jan 2010 20:38:39 +0100 |
parents | a7854ddcdd85 |
children | 5cb0f4fd512e |
line wrap: on
line source
./bin ./BIN ./data ./etc/icons ./lock ./site-lisp ./_dir-locals.el ./config.log ./config.status oo oo-spd autom4te.cache *.elc DOC DOC-* makefile Makefile Makefile.c stamp_BLD subdirs.el TAGS info/* leim/leim-list.el leim/quail/*.el leim/changed.misc leim/changed.tit lib-src/ctags.c lib-src/echolisp.tmp lib-src/getopt.h lib-src/b2m lib-src/ctags lib-src/digest-doc lib-src/digest-doc.exe lib-src/ebrowse lib-src/emacsclient lib-src/etags lib-src/fakemail lib-src/fakemail.exe lib-src/hexl lib-src/make-docfile lib-src/make-docfile.exe lib-src/movemail lib-src/profile lib-src/profile.exe lib-src/sorted-doc lib-src/sorted-doc.exe lib-src/test-distrib lib-src/test-distrib.exe lib-src/update-game-score lib-src/update-game-score.exe lisp/**/*-loaddefs.el lisp/**/loaddefs.el lisp/cus-load.el lisp/eshell/esh-groups.el lisp/finder-inf.el nt/config.log src/buildobj.h src/config.h src/epaths.h src/_dbxinit src/_gdbinit src/gdb.ini src/bootstrap-emacs src/b-emacs.exe src/emacs src/emacs-* src/prefix-args* src/stamp-oldxmenu src/temacs src/temacs.exe src/deps