Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
brannerchinese opened this issue Apr 25, 2017 · 1 comment

Comments

@brannerchinese
Copy link

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

@xicheng412
Copy link

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;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants