diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/fontset.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/fontset.c b/src/fontset.c index 842aad5d6cf..2caa087c33b 100644 --- a/src/fontset.c +++ b/src/fontset.c | |||
| @@ -756,6 +756,11 @@ free_realized_fontsets (base) | |||
| 756 | { | 756 | { |
| 757 | int id; | 757 | int id; |
| 758 | 758 | ||
| 759 | #if 0 | ||
| 760 | /* For the moment, this doesn't work because free_realized_face | ||
| 761 | doesn't remove FACE from a cache. Until we find a solution, we | ||
| 762 | suppress this code, and simply use Fclear_face_cache even though | ||
| 763 | that is not efficient. */ | ||
| 759 | BLOCK_INPUT; | 764 | BLOCK_INPUT; |
| 760 | for (id = 0; id < ASIZE (Vfontset_table); id++) | 765 | for (id = 0; id < ASIZE (Vfontset_table); id++) |
| 761 | { | 766 | { |
| @@ -778,6 +783,9 @@ free_realized_fontsets (base) | |||
| 778 | } | 783 | } |
| 779 | } | 784 | } |
| 780 | UNBLOCK_INPUT; | 785 | UNBLOCK_INPUT; |
| 786 | #else /* not 0 */ | ||
| 787 | Fclear_face_cache (Qt); | ||
| 788 | #endif /* not 0 */ | ||
| 781 | } | 789 | } |
| 782 | 790 | ||
| 783 | 791 | ||