On Fri Dec 11 2009 02:47:26 GMT-0500 (EST), Jan D. wrote:
On 2009-12-09 22:20, Steven Knight wrote:
On Wed Dec 09 2009 15:44:06 GMT-0500 (EST), Jan Djärv wrote:
First we need to find out what font you are trying to use. Can you
start 23.1 that works and in *scratch* evaluate
(frame-parameter nil 'font)
and see what it returns?
Jan D.
Hi,
You bet. I started emacs (using emacs -Q) and evaluated the above code.
Here is the result:
-unknown-DejaVu Sans Mono-normal-normal-normal-*-16-*-*-*-m-0-iso10646-1
Hmm. I think you must debug this, I'm trying to figure out where.
Does starting with -fn Monospace-12 work?
$ emacs -Q -fn Monospace-12
Arithmetic error
Can you start gdb on emacs and set a breakpoint in
x_default_font_parameter? A session would look something like:
(gdb) b x_default_font_parameter
(gdb) r -Q
break in x_default_font_parameter
And then type n to step through and print out variables as they are
assigned:
(gdb) p font
(gdb) pr
and
(gdb) p system_font
I will do this and let you know.