minad / corfu

:desert_island: corfu.el - COmpletion in Region FUnction
GNU General Public License v3.0
1.11k stars 43 forks source link

Show full list of candidates with Chinese lines #420

Closed dwrz closed 8 months ago

dwrz commented 8 months ago

If the candidates are Chinese text, corfu doesn't seem to display all the candidates.

https://github.com/minad/corfu/assets/21134999/ab2d7306-df76-476a-99aa-1f6ae0e4beb7

minad commented 8 months ago

Hi! I suspect that this a font problem, see similar issues #148, #329 and #360. Can you make sure that your font has a consistent size? Maybe you use two different fonts which differ in size?

EDIT: I looked more closely at your video and also at the video in https://github.com/minad/cape/issues/85. There the line height changes as soon as the Chinese character appears. The Chinese characters are larger than the Latin ones. The popup size is computed based on the default font.