Mercurial > emacs
view src/s/aix3-2.h @ 26879:b4de7fa9866e
(x_append_glyph): Setup members of struct glyph properly
for composition.
(x_append_composite_glyph): New function.
(VCENTER_BASELINE_OFFSET): New macro.
(x_produce_glyphs): If it->what == IT_COMPOSITION, setup members
of struct it for the composition. Cache pixel offsets in the
struct composition. Delete codes for a composite character.
Handle Vignore_relative_composition in composition code.
(struct glyph_string): Delete member cmpcharp, add new member cmp.
(x_set_cursor_gc): Check s->cmp, not s->cmpcharp.
(x_compute_glyph_string_overhangs): Likewise.
(x_get_glyph_overhangs): Delete codes for a composite character.
(x_right_overwritten): Check s->cmp, not s->cmpcharp.
(x_draw_glyph_string_background): Likewise. Delete codes for
checking s->gidx for a composition.
(x_draw_glyph_string_foreground): Delete code for a composite
character.
(x_draw_composite_glyph_string_foreground): New function.
(x_draw_glyph_string_box): Check s->cmp, not s->cmpcharp.
(x_draw_glyph_string): Handle the case of COMPOSITE_GLYPH.
(struct work): Deleted.
(x_fill_composite_glyph_string): Argument changed. Mostly
rewritten for that.
(x_fill_glyph_string): Don't check CHARSET_COMPOSITION.
(BUILD_CHAR_GLYPH_STRINGS): Don't handle composition here.
(BUILD_COMPOSITE_GLYPH_STRING): New macro.
(BUILD_GLYPH_STRINGS): For composition, call
BUILD_COMPOSITE_GLYPH_STRING.
(x_new_font): Initialize f->output_data.x->baseline_offset, not
f->output_data.x->font_baseline.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Wed, 15 Dec 1999 00:27:21 +0000 |
parents | a487c9509929 |
children | c370bafa362e |
line wrap: on
line source
/* s- file for building Emacs on AIX 3.2. */ #include "aix3-1.h" #define AIX3_2 /* No need to define this--the header files indicate X11R4, and that's supposedly what 3.2 will come with. */ #undef SPECIFY_X11R4 #ifndef __GNUC__ /* Some programs in src produce warnings saying certain subprograms are to comples and need a MAXMEM value greater than 2000 for additional optimization. --nils@exp-math.uni-essen.de */ #define C_SWITCH_SYSTEM -ma -qmaxmem=4000 #endif #define HAVE_ALLOCA /* Adrian Colley <Adrian.Colley@three.serpentine.com> says this is needed. */ #ifndef NOT_C_CODE #ifndef AIX4 #pragma alloca #endif #endif #undef rindex #undef index #define HAVE_FSYNC /* With this defined, a gcc-compiled Emacs crashed in realloc under AIX 3.2, and a cc-compiled Emacs works with this undefined. --karl@cs.umb.edu. */ #undef SYSTEM_MALLOC /* For AIX, it turns out compiling emacs under AIX 3.2.4 REQUIRES "cc -g" because "cc -O" crashes. Under AIX 3.2.5, "cc -O" is required because "cc -g" crashes. Go figure. --floppy@merlin.mit.edu */ #ifndef __GNUC__ #define C_SWITCH_DEBUG -g #define C_SWITCH_OPTIMIZE #endif /* The character-composition stuff is broken in X11R5. Even with XIMStatusNothing aliased to XIMStatusNone, tranle@intellicorp.com (Minh Tran-Le) reports that enabling the internationalization code causes the modifier keys C, M and Shift to beep after a mouse click. */ #define X11R5_INHIBIT_I18N /* string.h defines rindex as a macro, at least with native cc, so we lose declaring char * rindex without this. It is just a guess which versions of AIX need this definition. */ #undef HAVE_STRING_H