X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/af6ea8ad8d62810d901561ae4a56d89f22ebacf0..35920d523768481258c93dadaf95e9e6aeb08a2b:/README.unicode diff --git a/README.unicode b/README.unicode index 123fdae35d..4438cb10aa 100644 --- a/README.unicode +++ b/README.unicode @@ -141,6 +141,14 @@ to the new codes, and the new codes are used only when you configure Emacs with the argument "--enable-font-backend" and run Emacs with the same argument. +Which font backends to use can be specified by X resource +"FontBackend". For instance, if you want to use Xft fonts only, + +Emacs.FontBackend: xft + +will work. If this resource is not set, Emacs tries to use all font +backends available on your graphic device. + The configure script, if invoked with "--enable-font-backend", checks existing of libraries freetype and fontconfig. If they are both available, macro "USE_FONT_BACKEND" is defined in src/config.h. In @@ -183,3 +191,12 @@ It may be interesting if Emacs supports a frame buffer directly and have these font driver. ftfbfont.c -- font-driver on FB for FreeType fonts. bdffbfont.c -- font-driver on FB for BDF fonts. + +Note: The fontset related codes are not yet matuared to work well with +the font backend method. So, for instance, even if you start Emacs +as something like this: + % emacs --enable-font-backend -fn tahoma +Non-ASCII Latin characters will not be displayed by the font "tahoma". +In such a case, please try this: + +(set-fontset-font "fontset-default" 'latin '("tahoma" . "unicode-bmp"))