bug#68339: [patch] Set the IME window font to an appropriate size

Eli Zaretskii <[email protected]> Fri, 07 Aug 2026 08:45:28 +0300
Newsgroups gmane.emacs.bugs
Message-ID <[email protected]>
> From: dANiuu zHaO <[email protected]>
> Date: Fri, 7 Aug 2026 11:36:41 +0800
> Cc: Eason Huang <[email protected]>, [email protected]
> 
> @@ -6682,6 +6686,8 @@ w32_draw_window_cursor (struct window *w, struct glyph_row *glyph_row,
>  	    + WINDOW_HEADER_LINE_HEIGHT (w);
>  	  w32_system_caret_mode_height = WINDOW_MODE_LINE_HEIGHT (w);
>  
> +	  w32_system_remap_font = face ? face->font : FRAME_FONT (f);

face->font can yield NULL in some rare cases, so there's another
face->fallback missing here, to use FRAME_FONT in that case as well.

Otherwise, I think we should wait for a while for people to test this
patch (and for your copyright-assignment paperwork), before we install
it.

Thanks.