&& linedraw_cmds[unicode - 0x2500])
return true;
- if (IS_PSEUDO (unicode))
+ if (IS_COMPOSE (unicode))
return true;
switch (unicode)
gcv.line_width = 0;
XChangeGC (d.display->display, GC, GCLineWidth, &gcv);
}
- else if (IS_PSEUDO (t))
+ else if (IS_COMPOSE (t))
{
- const compose_char &cc = r->composite (t);
+ const compose_char &cc = rxvt_composite[t];
(void)0; //D ADD pseudo handling here
}
else
// order must match the table in encoding.C(!)
enum codeset {
CS_UNKNOWN = 0,
- CS_SPECIAL,
CS_US_ASCII,
CS_ISO8859_1,
enum {
ZERO_WIDTH_CHAR = 0x200b,
+ REPLACEMENT_CHAR = 0xfffd,
NOCHAR = 65535, // must be invalid in ANY codeset (!)
};
extern const rxvt_codeset_conv *rxvt_codeset[NUM_CODESETS];
+extern uint32_t rxvt_compose (uint32_t c1, uint32_t c2);
+
#define FROM_UNICODE(cs,code) rxvt_codeset[cs]->from_unicode (code)
#define TO_UNICODE(cs,code) rxvt_codeset[cs]->to_unicode (code)