emacs-devel
[Top][All Lists]
Advanced

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

Re: Status of MAC/W32/X consolidation -- first major patch committed.


From: Benjamin Riefenstahl
Subject: Re: Status of MAC/W32/X consolidation -- first major patch committed.
Date: 17 Mar 2003 15:56:01 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Hi Kim,


address@hidden (Kim F. Storm) writes:
> I have only been able to test this on X (under GNU/Linux), so there
> may be some problems compiling (and running) the consolidated code on
> W32 and MAC.  Please report any problems to me (unless you can fix
> them yourself).

On MacOSX I had to do this small patch:

<<<<
diff -c -p -r1.811 xdisp.c
*** src/xdisp.c 16 Mar 2003 20:45:46 -0000      1.811
--- src/xdisp.c 17 Mar 2003 14:31:51 -0000
*************** x_produce_glyphs (it)
*** 17475,17481 ****
              if (font == NULL)
                {
                  font = FRAME_FONT (it->f);
!                 boff = it->f->output_data.x->baseline_offset;
                  font_info = NULL;
                }
              else
--- 17475,17481 ----
              if (font == NULL)
                {
                  font = FRAME_FONT (it->f);
!                 boff = FRAME_BASELINE_OFFSET(it->f);
                  font_info = NULL;
                }
              else
>>>>

Note that FRAME_BASELINE_OFFSET() refers to the same variable "int
baseline_offset" in the different system-specific structs and the
variable is always accessed through the macro.  So it may properly
belong into the common data structure struct frame instead anyway.


so long, benny





reply via email to

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