emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unicode font-backend + tiling


From: Miles Bader
Subject: Re: unicode font-backend + tiling
Date: Wed, 06 Dec 2006 13:24:34 +0900

Kenichi Handa <address@hidden> writes:
> On Windows and Mac, we can't make it on.

Wouldn't one just not use "configure --enable-font-backend" on those systems?

> If someone would like to work on changing the default only for
> Unix/GNU-Linux and on providing a way to disable font-backend on such
> systems, please go ahead.

I was just thinking of something like this:


--- orig/src/emacs.c
+++ mod/src/emacs.c
@@ -1441,10 +1441,14 @@
     = argmatch (argv, argc, "-nl", "--no-loadup", 6, NULL, &skip_args);
 
 #ifdef USE_FONT_BACKEND
-  enable_font_backend = 0;
+  enable_font_backend = 1;
   if (argmatch (argv, argc, "-enable-font-backend", "--enable-font-backend",
                4, NULL, &skip_args))
     enable_font_backend = 1;
+  else if (argmatch (argv, argc,
+                    "-disable-font-backend", "--disable-font-backend",
+                    4, NULL, &skip_args))
+    enable_font_backend = 0;
 #endif /* USE_FONT_BACKEND */
 
 #ifdef HAVE_X_WINDOWS
@@ -1850,6 +1854,7 @@
   { "-no-multibyte", "--no-multibyte", 80, 0 },
   { "-nl", "--no-loadup", 70, 0 },
   { "-enable-font-backend", "--enable-font-backend", 65, 0 },
+  { "-disable-font-backend", "--disable-font-backend", 65, 0 },
   /* -d must come last before the options handled in startup.el.  */
   { "-d", "--display", 60, 1 },
   { "-display", 0, 60, 1 },


-Miles
-- 
Next to fried food, the South has suffered most from oratory.
                        -- Walter Hines Page




reply via email to

[Prev in Thread] Current Thread [Next in Thread]