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

From Fcitx
Jump to navigation Jump to search
(Created page with "经典用户界面的选项")
(Created page with "* 竖向选词列表。启用此项,在输入法引擎没有指定的情况下,则默认会以竖向的方式显示候选词列表。但是输入法引擎逻辑也可能...")
Line 6: Line 6:
 
经典用户界面的选项
 
经典用户界面的选项
  
* 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.
+
* 使用独立屏幕DPI。使用输入窗口所在屏幕的DPI缩放来渲染文字。这个选项大多数情况下只会影响X11。在X11下,Fcitx会读取配置的Xft.dpi值,并且将此值当作为您主屏幕所使用的DPI值。如果您使用的是双屏幕配置,并且主屏幕的物理DPI是120,副屏幕的是280。如果Xft.dpi值被设置为96,那么fcitx在您的主屏幕中使用的渲染DPI将会是96,另一个屏幕则按照等比例缩放使用280/120*96=224的DPI来渲染文字。
* 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.
+
* 使用输入法语言来显示文字。特性的字符在不同的语言环境下可能会使用同一个Unicode编码进行表示。此选项允许文字使用输入法语言的本地设置来显示文字。举个例子,使用像拼音等中文输入法时它会显示为中文变体的字符,使用日文输入法时的日文变体就会显示为日文变体。使用此选项要求所使用的字体支持不同地区设置。
  
 
= Kimpanel =
 
= Kimpanel =

Revision as of 12:24, 13 November 2021

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

经典用户界面

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

经典用户界面的选项

  • 竖向选词列表。启用此项,在输入法引擎没有指定的情况下,则默认会以竖向的方式显示候选词列表。但是输入法引擎逻辑也可能会覆盖这个显示方向。
  • 使用独立屏幕DPI。使用输入窗口所在屏幕的DPI缩放来渲染文字。这个选项大多数情况下只会影响X11。在X11下,Fcitx会读取配置的Xft.dpi值,并且将此值当作为您主屏幕所使用的DPI值。如果您使用的是双屏幕配置,并且主屏幕的物理DPI是120,副屏幕的是280。如果Xft.dpi值被设置为96,那么fcitx在您的主屏幕中使用的渲染DPI将会是96,另一个屏幕则按照等比例缩放使用280/120*96=224的DPI来渲染文字。
  • 使用鼠标滚轮来前后翻页
  • 使用输入法语言来显示文字。特性的字符在不同的语言环境下可能会使用同一个Unicode编码进行表示。此选项允许文字使用输入法语言的本地设置来显示文字。举个例子,使用像拼音等中文输入法时它会显示为中文变体的字符,使用日文输入法时的日文变体就会显示为日文变体。使用此选项要求所使用的字体支持不同地区设置。

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.