Difference between revisions of "Theme Customization/zh-cn"

From Fcitx
Jump to navigation Jump to search
(Created page with "= 经典用户界面 = 一个基于Fcitx5自己的用类似于ini文件的配置方式定制文件和图片的简单主题引擎。这会同时在服务器侧输入法界面...")
Line 2: Line 2:
  
 
= 经典用户界面 =
 
= 经典用户界面 =
一个基于Fcitx5自己的用类似于ini文件的配置方式定制文件和图片的简单主题引擎。这会同时在服务器侧输入法界面和fcitx5新的客户端侧输入法界面生效。在X11下,输入法的窗口由fcitx的服务器程序渲染。但是在Wayland下面,它可能会由像Qt、Gtk这样的客户端程序渲染。他们会共享相似的逻辑和大多数的特性。但是Qt的情况有例外,由于在Qt下窗口由本地Qt库的API渲染,因此它不支持“输入法语言现实文本”选项。
+
这是一个基于Fcitx5定义的类ini文件的配置文件和图片的简单主题引擎。它会同时在服务器侧输入法界面和fcitx5新的客户端侧输入法界面生效。在X11下,输入法的窗口由fcitx的服务器程序渲染。但是在Wayland下面,它可能会由像Qt、Gtk这样的客户端程序渲染。他们会共享相似的逻辑和大多数的特性。但是Qt的情况有例外,由于在Qt下窗口由本地Qt库的API渲染,因此它不支持“输入法语言现实文本”选项。
  
 
Options for Classic User interface:
 
Options for Classic User interface:

Revision as of 12:08, 13 November 2021

Other languages:
English • ‎中文(中国大陆)‎

经典用户界面

这是一个基于Fcitx5定义的类ini文件的配置文件和图片的简单主题引擎。它会同时在服务器侧输入法界面和fcitx5新的客户端侧输入法界面生效。在X11下,输入法的窗口由fcitx的服务器程序渲染。但是在Wayland下面,它可能会由像Qt、Gtk这样的客户端程序渲染。他们会共享相似的逻辑和大多数的特性。但是Qt的情况有例外,由于在Qt下窗口由本地Qt库的API渲染,因此它不支持“输入法语言现实文本”选项。

Options for Classic User interface:

  • Vertical Candidate List. Display candidate list in vertical direction if it is not specified by engine. The engine logic may still override the direction.
  • Use Per Screen DPI. Render the text with the DPI scaled by the screen where the window is displayed. This option is mostly only relevant to X11. On X11, Fcitx will read the Xft.dpi option and assume it is the DPI used on primary screen. Suppose you have two screen, the physical DPI of primary screen is 120 and the other one is 280. If Xft.dpi is 96, for primary screen it will use 96. For the other screen, it will use 280/120*96=224 to render the text.
  • Use mouse wheel to go to prev or next page
  • Use input method language to display text. Certain character may share the exact same unicode under different languages. This option allow the text to be rendered using the locale of the input method language. For example, it will display character with Chinese variant when using Chinese input method like Pinyin and Japanese variant when using Japanese input method. The font used needs to support different locale to use this feature.

Kimpanel

This is a DBus based interface based user interface that is generic to the input method framework. There are multiple implementations available for different desktop environment.

Due to the nature of the complex situation between Wayland and input method, Kimpanel may not be used under native wayland program for Gtk/Qt when using Fcitx's input method modules under non-GNOME environment. This is mainly because, as a GNOME extension, kimpanel is able to get window information and move window around freely. Same does not apply to other Kimpanel implementations. Having the window in the right position is much more important than appearance, so kimpanel is not used and the client side input panel will be used under such environment.