I commented out line 1423 and line 1426 which are "enable_font_backend=1"
and " enable_font_backend=0" in emacs.c , then compiled it without
--enable-font-backend, and it worked. However, when I tried to run it, it
was so slow that I can not use it at all! Also, the main window kept
blinking. BTW, I was using it under gnome.
On 12/25/06, Peter Dyballa <[EMAIL PROTECTED]> wrote:
Am 25.12.2006 um 18:32 schrieb Lin Li:
> if I use "--enable-font-backend", I will get this error:
>
> font.o: In function `syms_of_font':
> /home/ak70/Desktop/emacs-23.0.0_NS-9.0rc1/src/font.c:3848:
> undefined reference to `syms_of_ftfont'
This comes from libfreetype. The font backend needs libfreetype and
libfontconfig, but I think it can only work, i.e. display anti-
aliased fonts, when GTK+ is enabled as X windows environment.
Did you install the patches? Where some rejected?
If you look into emacs.c you'll see a some
#ifdef USE_FONT_BACKEND
<C code>
#endif /* USE_FONT_BACKEND */
So enable_font_backend should be in a block like this real example
(around line #1480 in my copy of emacs.c from Unicode Emacs 23.0.0
from CVS):
#ifdef USE_FONT_BACKEND
enable_font_backend = 0;
if (argmatch (argv, argc, "-enable-font-backend",
"--enable-font-
backend",
4, NULL, &skip_args))
enable_font_backend = 1;
#endif /* USE_FONT_BACKEND */
and was declared 700 lines earlier, like:
#ifdef USE_FONT_BACKEND
extern int enable_font_backend;
#endif /* USE_FONT_BACKEND */
--
Greetings
Pete
If all else fails read the instructions.
- Donald Knuth
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Emacs-app-dev- mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-