Mercurial > emacs
annotate src/s/irix6-5.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 | 8a6fbe59406d |
children | 7994f21f53e5 |
rev | line source |
---|---|
23913 | 1 #define IRIX6 |
2 #define IRIX6_5 | |
3 #include "irix5-0.h" | |
4 | |
5 /* Irix 6 tries to do 64 bits, but doesn't do it fully, | |
6 so inhibit that. */ | |
7 #define IRIX_FORCE_32_BITS | |
8 | |
9 #ifndef __GNUC__ | |
10 #ifndef IRIX6_5 | |
11 #define LD_SWITCH_SYSTEM -32 | |
12 #else | |
13 #define LD_SWITCH_SYSTEM -n32 | |
14 #endif | |
15 #endif | |
16 | |
17 /* This macro definition, which we inherited from irix5-0.h, | |
18 is needed in configure on Irix 5, but gets in the way there | |
19 on Irix 6. So get rid of it except in Makefile.in where we need it. */ | |
20 #ifndef THIS_IS_MAKEFILE | |
21 #undef C_SWITCH_SYSTEM | |
22 #endif | |
23 | |
24 /* The only supported configuration of GCC under IRIX6.x produces | |
25 n32 MIPS ABI binaries and also supports -g. */ | |
26 #ifdef __GNUC__ | |
27 #undef C_DEBUG_SWITCH | |
28 #define C_DEBUG_SWITCH -g | |
25338
8a6fbe59406d
(C_DEBUG_SWITCH): Set for debug and optimize.
Dave Love <fx@gnu.org>
parents:
23913
diff
changeset
|
29 #else |
8a6fbe59406d
(C_DEBUG_SWITCH): Set for debug and optimize.
Dave Love <fx@gnu.org>
parents:
23913
diff
changeset
|
30 /* Optimize, inaccurate debugging. This should also be applicable |
8a6fbe59406d
(C_DEBUG_SWITCH): Set for debug and optimize.
Dave Love <fx@gnu.org>
parents:
23913
diff
changeset
|
31 other than on Irix 6.5, but I don't know for which compiler |
8a6fbe59406d
(C_DEBUG_SWITCH): Set for debug and optimize.
Dave Love <fx@gnu.org>
parents:
23913
diff
changeset
|
32 versions. -- fx */ |
8a6fbe59406d
(C_DEBUG_SWITCH): Set for debug and optimize.
Dave Love <fx@gnu.org>
parents:
23913
diff
changeset
|
33 #define C_DEBUG_SWITCH -g3 -O |
23913 | 34 #endif |
35 | |
36 #undef SA_RESTART | |
37 | |
38 /* It turns out that the #define in irix5-0.h is needed in Irix 6 as well. */ | |
39 #if 0 | |
40 /* Canced the #define that is in irix5-0.h. */ | |
41 #undef ospeed | |
42 #endif |