unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Gao Feng <pinacle2000@msn.com>
Cc: 68339@debbugs.gnu.org
Subject: bug#68339: 29.1; Emacs doesn't support Microsoft PinYin Input Method well
Date: Tue, 09 Jan 2024 16:13:12 +0200	[thread overview]
Message-ID: <83il42ppc7.fsf@gnu.org> (raw)
In-Reply-To: <CY8PR12MB7684EEA66AA3746F0DA0EB0EBB6B2@CY8PR12MB7684.namprd12.prod.outlook.com> (message from Gao Feng on Mon, 8 Jan 2024 23:54:18 +0000)

> From: Gao Feng <pinacle2000@msn.com>
> Date: Mon, 8 Jan 2024 23:54:18 +0000
> 
> Many of us are using Microsoft PinYin Input Method to input Chinese in Windows System. However,
> its font size in emacs is too small to be seen while VIM doesn't have this issue.
> 
> With the help of emacser from Emacs China, it seems that the cause is that the im font size is fixed in
> emacs while VIM has code to deal with it
> (https://github.com/vim/vim/blob/124371c5a149a8c0c75c04b6c90ac11e71a0aa97/src/gui_w32.c#L5862-L5875).

Maybe that Emacs user from China could also suggest a patch for Emacs
to fix this issue?

Po Lu, any comments or suggestions?

The Vim code uses ImmSetCompositionFont function to set the font.  I
don't have a good idea how to choose a font for that function, but
perhaps we could use ImmGetCompositionFont to retrieve the font used
by default, and then change its height and call ImmSetCompositionFont?

I'm just stabbing in the dark, and I don't have a way of testing these
ideas anyway.





  reply	other threads:[~2024-01-09 14:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-08 23:54 bug#68339: 29.1; Emacs doesn't support Microsoft PinYin Input Method well Gao Feng
2024-01-09 14:13 ` Eli Zaretskii [this message]
2024-01-10  1:48   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-10 13:08     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83il42ppc7.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=68339@debbugs.gnu.org \
    --cc=pinacle2000@msn.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).