Mercurial > emacs
comparison src/xterm.c @ 23151:dad3317e5d8c
(dumpglyphs): If Vnonascii_translation_table is non-nil, try
to convert a character less than 160 to multibyteL.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 31 Aug 1998 03:50:17 +0000 |
parents | b992f7bb67d7 |
children | b36799069143 |
comparison
equal
deleted
inserted
replaced
23150:d2f7ed631ea7 | 23151:dad3317e5d8c |
---|---|
580 GLYPH_FOLLOW_ALIASES (tbase, tlen, g); | 580 GLYPH_FOLLOW_ALIASES (tbase, tlen, g); |
581 cf = (cmpcharp ? cmpcharp->face_work : FAST_GLYPH_FACE (g)); | 581 cf = (cmpcharp ? cmpcharp->face_work : FAST_GLYPH_FACE (g)); |
582 ch = FAST_GLYPH_CHAR (g); | 582 ch = FAST_GLYPH_CHAR (g); |
583 if (unibyte_display_via_language_environment | 583 if (unibyte_display_via_language_environment |
584 && SINGLE_BYTE_CHAR_P (ch) | 584 && SINGLE_BYTE_CHAR_P (ch) |
585 && ch >= 160) | 585 && (ch >= 0240 || !NILP (Vnonascii_translation_table))) |
586 ch = unibyte_char_to_multibyte (ch); | 586 ch = unibyte_char_to_multibyte (ch); |
587 if (gidx == 0) XSETFASTINT (first_ch, ch); | 587 if (gidx == 0) XSETFASTINT (first_ch, ch); |
588 charset = CHAR_CHARSET (ch); | 588 charset = CHAR_CHARSET (ch); |
589 if (charset == CHARSET_COMPOSITION) | 589 if (charset == CHARSET_COMPOSITION) |
590 { | 590 { |
621 g = *gp; | 621 g = *gp; |
622 GLYPH_FOLLOW_ALIASES (tbase, tlen, g); | 622 GLYPH_FOLLOW_ALIASES (tbase, tlen, g); |
623 ch = FAST_GLYPH_CHAR (g); | 623 ch = FAST_GLYPH_CHAR (g); |
624 if (unibyte_display_via_language_environment | 624 if (unibyte_display_via_language_environment |
625 && SINGLE_BYTE_CHAR_P (ch) | 625 && SINGLE_BYTE_CHAR_P (ch) |
626 && ch >= 160) | 626 && (ch >= 0240 || !NILP (Vnonascii_translation_table))) |
627 ch = unibyte_char_to_multibyte (ch); | 627 ch = unibyte_char_to_multibyte (ch); |
628 SPLIT_CHAR (ch, this_charset, c1, c2); | 628 SPLIT_CHAR (ch, this_charset, c1, c2); |
629 if (this_charset != charset | 629 if (this_charset != charset |
630 || (cmpcharp == NULL && FAST_GLYPH_FACE (g) != cf)) | 630 || (cmpcharp == NULL && FAST_GLYPH_FACE (g) != cf)) |
631 break; | 631 break; |