ibus icon indicating copy to clipboard operation
ibus copied to clipboard

No change to menu size after font-size increase in Preferences => Use custom font

Open brannerchinese opened this issue 7 years ago • 1 comments

I have a number of different Chinese input methods installed, but in all cases the pop-up menu of character or compound choices is very small and hard to read. I've tried changing the custom font to include rather high font-sizes (up to 48pt), with various Chinese and generic fonts, but I see no change in the size of the characters in the menu. Display resolution is 1920 x 1080; if I reduce it (say to 960x540), the menu becomes enlarged satisfactorily, but the change in resolution is bad for the rest of my workflow.

I am using Debian v. 9.0 with MATE Desktop v. 1.16.1 and IBus 1.5.14-2. My hardware is an Acer Chromebook, and Debian is running in a chroot populated by Crouton.

ibus preferences screenshot at 2017-04-25 11-24-01

brannerchinese avatar Apr 25 '17 16:04 brannerchinese

I have the same problem. you can follow the instruction below. only chinese version has the instruction.but I think it's not perferct solution.

https://wiki.archlinux.org/index.php/IBus_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)

修改 Gnome-shell 中 ibus 候选框的字体和字号

很多人对 Gnome-shell 不能独立的设置 ibus 输入法的候选词字体和字号颇有微词,下面,介绍一种修改的办法。 首先,你需要安装一个 Gnome-Shell 主题,且激活它,然后你需要修改主题的 gnome-shell.css 文件。这个文件一般在目录 /usr/share/themes/主题名/gnome-shell/ 下。使用你喜欢的编辑器打开它,搜索 .candidate-popup-content 字段(如果没有就新建一个):

.candidate-popup-content { }

然后根据需要添加以下两行(添加后应该是下框中的样子),通过本设置可以改变输入的字母的字体和字号:

.candidate-popup-content { /* 设置字体 / font-family: "Microsoft YaHei UI", serif,cantarell,sans-serif; / 设置号 */ font-size: 15px; }

如果需要修改候选框的字体和字号,你需要搜索 .candidate-box 字段(如果没有就新建一个):

.candidate-box { }

然后根据需要添加以下两行(添加后应该是下框中的样子),通过本设置可以改变输入的字母的字体和字号:

.candidate-box { /* 设置字体 / font-family: "Microsoft YaHei UI", serif,cantarell,sans-serif; / 设置号 */ font-size: 15px; }

xicheng412 avatar May 24 '17 09:05 xicheng412