CN103207755A - Terminal and character font changing method - Google Patents
Terminal and character font changing method Download PDFInfo
- Publication number
- CN103207755A CN103207755A CN2012100630774A CN201210063077A CN103207755A CN 103207755 A CN103207755 A CN 103207755A CN 2012100630774 A CN2012100630774 A CN 2012100630774A CN 201210063077 A CN201210063077 A CN 201210063077A CN 103207755 A CN103207755 A CN 103207755A
- Authority
- CN
- China
- Prior art keywords
- font
- user
- input
- terminal
- text
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
- Document Processing Apparatus (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
技术领域 technical field
本发明涉及终端控制技术领域,具体而言,涉及一种终端和一种更改字体的方法。The present invention relates to the technical field of terminal control, in particular to a terminal and a method for changing fonts.
背景技术 Background technique
随着手机等移动终端的普及,用户对其所能提供的个性化体验的需求越来越多,但现有的方案并不能全都满足。例如在手机字体方面,现有方案在手机开机之后,往往是只能被动地设置输入法字体。用户在设置字体时需要到专用的应用程序中操作,并且在选择字体时需要层层进入子目录,操作起来比较麻烦,尤其用户对出厂默认设置的字体不熟悉时,用户设置的难度会更高。另外,现有方案中都只有有限的字体种类,较为单调,带来的用户体验有限。With the popularization of mobile terminals such as mobile phones, users have more and more demands for personalized experiences that they can provide, but existing solutions cannot satisfy all of them. For example, in terms of mobile phone fonts, the existing solutions often only passively set the input method fonts after the mobile phone is turned on. Users need to operate in a dedicated application program when setting fonts, and need to enter subdirectories layer by layer when selecting fonts. . In addition, there are only limited types of fonts in the existing solutions, which are relatively monotonous and bring limited user experience.
因此,需要一种新的更改字体的技术,可以方便、快捷地更换终端上的字体,而不需要在专门的应用程序中进行操作,并且字体种类多样,更加个性化,有利于提升用户体验。Therefore, there is a need for a new font changing technology, which can conveniently and quickly change the font on the terminal without operating in a special application program, and the fonts are diverse and more personalized, which is conducive to improving user experience.
发明内容 Contents of the invention
本发明所要解决的技术问题在于,提供一种新的更改字体的技术,可以方便、快捷地更换终端上的字体,而不需要在专门的应用程序中进行操作,并且字体种类多样,更加个性化,有利于提升用户体验。The technical problem to be solved by the present invention is to provide a new technology for changing fonts, which can conveniently and quickly change the fonts on the terminal without operating in a special application program, and the types of fonts are diverse and more personalized , which is conducive to improving user experience.
有鉴于此,本发明提出了一种终端,具有触摸感应装置,包括:采样模块,利用所述触摸感应装置采样用户输入文字的轨迹;查找模块,在存储模块中的字体库中查找与所述用户输入文字的轨迹相匹配的预设字体;所述存储模块,存储所述字体库;处理模块,将所述预设字体设置为显示字体。在该技术方案中,用户在使用手写方式进行输入时,终端可以通过识别用户写下的文字或字符的轨迹的特征,自动查找到对应的字体文件,并利用该字体文件对终端的显示字体进行设置。需要说明的是,用户进行文字输入时,可以采用输入法程序进行输入,比如在终端屏幕上显示出一个输入界面,也可以是比如没有输入界面,但可以对用户在屏幕上输入的文字进行采集,从而区别于传统意义上的输入法程序。这里的显示字体,是指在用户进行输入时,每次输入后在终端的界面上显示出来的供用户进行选择的文字或字符,也可以是终端的系统文字。此外,在对字体库中的字体文件进行查找时,可以通过对文字形成的轨迹进行分析和匹配,也可以通过其他的如整体图形特征或其他可用于区分不同字体的方式。而对于匹配过程中,可以设定对应的敏感程度,即相似度达到用户确定的阈值后,则认为是相匹配,而不需要完全相同。In view of this, the present invention proposes a terminal with a touch sensing device, including: a sampling module, which uses the touch sensing device to sample the track of the user's input text; a search module, which searches the font library in the storage module and the A preset font matching the trajectory of the user input text; the storage module stores the font library; and a processing module sets the preset font as a display font. In this technical solution, when the user uses handwriting to input, the terminal can automatically find the corresponding font file by recognizing the characteristics of the trajectory of the text or characters written by the user, and use the font file to modify the display font of the terminal. set up. It should be noted that when users input text, they can use the input method program to input, such as displaying an input interface on the terminal screen, or for example, there is no input interface, but the text input by the user on the screen can be collected , which is different from the traditional input method program. The display font here refers to the text or characters displayed on the terminal interface for the user to select after each input when the user inputs, and may also be the system text of the terminal. In addition, when searching for font files in the font library, the trajectory formed by the characters can be analyzed and matched, or other methods such as overall graphic features or other methods that can be used to distinguish different fonts can also be used. For the matching process, the corresponding sensitivity can be set, that is, when the similarity reaches the threshold determined by the user, it is considered to be a match, and it does not need to be exactly the same.
在上述技术方案中,优选地,所述处理模块具体包括:输入法字体设置子单元,在利用输入法程序进行输入时,将所述输入法程序的界面上的文字设置为所述预设字体;系统字体设置子单元,将所述终端的系统文字设置为所述预设字体。在该技术方案中,除了对输入法所显示出的文字或字符的字体进行更改,还可以将终端的系统文字也显示成为与用户输入文字的轨迹相匹配的预设字体。这里的系统文字,是指终端显示出的界面、菜单等部分的文字,甚至应用程序中的文字。In the above technical solution, preferably, the processing module specifically includes: an input method font setting subunit, which sets the text on the interface of the input method program as the preset font when using the input method program for input ; A system font setting subunit, which sets the system text of the terminal as the preset font. In this technical solution, in addition to changing the font of the text or characters displayed by the input method, the system text of the terminal can also be displayed as a preset font matching the trajectory of the text input by the user. The system text here refers to the text of the interface, menu, etc. displayed on the terminal, and even the text in the application program.
在上述技术方案中,优选地,所述的终端,还包括:通信模块,将所述用户输入文字的轨迹发送至服务器,以及从所述服务器接收对应于所述用户输入文字的轨迹的预设字体。在该技术方案中,除了将包含多种字体文件的字体库存储在用户的终端中,还可以存储在服务器中,则通过将用户输入文字的轨迹发送至服务器,以获取匹配的字体。当使用服务器时,显然由于服务器可以随时进行更新,从而使得字体库内容始终是最新最全的,大大地丰富了可选择字体的内容,能够更好地满足用户的需求。In the above technical solution, preferably, the terminal further includes: a communication module, which sends the trajectory of the text input by the user to the server, and receives from the server a preset corresponding to the trajectory of the text input by the user font. In this technical solution, in addition to storing the font library containing multiple font files in the user's terminal, it can also be stored in the server, and then the trajectory of the user's input text is sent to the server to obtain matching fonts. When using the server, it is obvious that the server can be updated at any time, so that the content of the font library is always the latest and most complete, which greatly enriches the content of selectable fonts and can better meet the needs of users.
在上述技术方案中,优选地,所述的终端还包括:采集与生成模块,采集所述用户输入文字,并将所述用户输入文字生成用户字体后,存储至所述存储模块中的字体库,或通过所述通信模块存储至所述服务器。在该技术方案中,可以由终端采集用户输入的文字,并汇总收集到的所有文字、生成对应的字体文件,从而对终端系统或输入法显示的字体进行个性化处理。另外,通过将所生成的用户字体存储在服务器,还可以供其他用户从该服务器中获取该字体对应的字体文件,实现了字体文件的分享,提升了用户体验。In the above technical solution, preferably, the terminal further includes: a collection and generation module, which collects the user input text, generates user fonts from the user input text, and stores them in the font library in the storage module , or store to the server through the communication module. In this technical solution, the terminal can collect the characters input by the user, collect all the collected characters, and generate corresponding font files, so as to personalize the fonts displayed by the terminal system or the input method. In addition, by storing the generated user fonts in the server, other users can also obtain the font files corresponding to the fonts from the server, realizing sharing of font files and improving user experience.
在上述技术方案中,优选地,所述的终端,还包括:轨迹分析与生成模块,对采样得到的所述用户输入文字的轨迹进行分析,得到轨迹特征数据,并利用所述轨迹特征数据生成自定义字体,以及将所述自定义字体存储至所述存储模块中的字体库,或通过所述通信模块存储至所述服务器。在该技术方案中,除了对用户输入的文字进行采集外,还可以根据用户的书写内容,通过分析文字轨迹,了解到用户输入的字体的特征,从而自动生成对应的自定义字体,避免无法完整地收集到所有的文字。In the above technical solution, preferably, the terminal further includes: a trajectory analysis and generation module, which analyzes the trajectory of the sampled user input text to obtain trajectory feature data, and uses the trajectory feature data to generate A custom font, and storing the custom font in the font library in the storage module, or storing it in the server through the communication module. In this technical solution, in addition to collecting the text entered by the user, it is also possible to understand the characteristics of the font entered by the user by analyzing the text trace according to the user's writing content, so as to automatically generate the corresponding custom font to avoid incomplete to collect all the text.
本发明还提供了一种更改字体的方法,用于具有触摸感应装置的终端,包括:步骤202,所述终端利用所述触摸感应装置采样用户输入文字的轨迹;步骤204,在字体库中查找与所述用户输入文字的轨迹相匹配的预设字体,并将所述预设字体设置为显示字体。在该技术方案中,用户在使用手写方式进行输入时,终端可以通过识别用户写下的文字或字符的轨迹的特征,自动查找到对应的字体文件,并利用该字体文件对终端的显示字体进行设置。需要说明的是,用户进行文字输入时,可以采用输入法程序进行输入,比如在终端屏幕上显示出一个输入界面,也可以是比如没有输入界面,但可以对用户在屏幕上输入的文字进行采集,从而区别于传统意义上的输入法程序。这里的显示字体,是指在用户进行输入时,每次输入后在终端的界面上显示出来的供用户进行选择的文字或字符,也可以是终端的系统文字。此外,在对字体库中的字体文件进行查找时,可以通过对文字形成的轨迹进行分析和匹配,也可以通过其他的如整体图形特征或其他可用于区分不同字体的方式。而对于匹配过程中,可以设定对应的敏感程度,即相似度达到用户确定的阈值后,则认为是相匹配,而不需要完全相同。The present invention also provides a method for changing fonts, which is used for a terminal with a touch sensing device, including:
在上述技术方案中,优选地,所述显示字体包括:在利用输入法程序进行输入时,所述输入法程序的界面上的文字;和/或所述终端的系统文字。在该技术方案中,除了对输入法所显示出的文字或字符的字体进行更改,还可以将终端的系统文字也显示成为与用户输入文字的轨迹相匹配的预设字体。这里的系统文字,是指终端显示出的界面、菜单等部分的文字,甚至应用程序中的文字。In the above technical solution, preferably, the display font includes: when the input method program is used for input, the characters on the interface of the input method program; and/or the system characters of the terminal. In this technical solution, in addition to changing the font of the text or characters displayed by the input method, the system text of the terminal can also be displayed as a preset font matching the trajectory of the text input by the user. The system text here refers to the text of the interface, menu, etc. displayed on the terminal, and even the text in the application program.
在上述技术方案中,优选地,包括:所述字体库位于所述终端中或位于服务器中。在该技术方案中,除了将包含多种字体文件的字体库存储在用户的终端中,还可以存储在服务器中,则通过将用户输入文字的轨迹发送至服务器,以获取匹配的字体。当使用服务器时,显然由于服务器可以随时进行更新,从而使得字体库内容始终是最新最全的,大大地丰富了可选择字体的内容,能够更好地满足用户的需求。In the above technical solution, preferably, it includes: the font library is located in the terminal or in the server. In this technical solution, in addition to storing the font library containing multiple font files in the user's terminal, it can also be stored in the server, and then the trajectory of the user's input text is sent to the server to obtain matching fonts. When using the server, it is obvious that the server can be updated at any time, so that the content of the font library is always the latest and most complete, which greatly enriches the content of selectable fonts and can better meet the needs of users.
在上述技术方案中,优选地,还包括:所述终端采集所述用户输入文字,并将所述用户输入文字生成用户字体后,存储至所述字体库。在该技术方案中,可以由终端采集用户输入的文字,并汇总收集到的所有文字、生成对应的字体文件,从而对终端系统或输入法显示的字体进行个性化处理。另外,通过将所生成的用户字体存储在服务器,还可以供其他用户从该服务器中获取该字体对应的字体文件,实现了字体文件的分享,提升了用户体验。In the above technical solution, preferably, further comprising: the terminal collects the user-input text, generates a user font from the user-input text, and stores it in the font library. In this technical solution, the terminal can collect the characters input by the user, collect all the collected characters, and generate corresponding font files, so as to personalize the fonts displayed by the terminal system or the input method. In addition, by storing the generated user fonts in the server, other users can also obtain the font files corresponding to the fonts from the server, realizing sharing of font files and improving user experience.
在上述技术方案中,优选地,还包括:所述终端对采样得到的所述用户输入文字的轨迹进行分析,得到轨迹特征数据,并利用所述轨迹特征数据生成自定义字体,以及将所述自定义字体存储至所述字体库。在该技术方案中,除了对用户输入的文字进行采集外,还可以根据用户的书写内容,通过分析文字轨迹,了解到用户输入的字体的特征,从而自动生成对应的自定义字体,避免无法完整地收集到所有的文字。In the above technical solution, preferably, further comprising: the terminal analyzes the trajectory of the sampled user-input text to obtain trajectory feature data, and uses the trajectory feature data to generate a custom font, and converts the Custom fonts are stored in the font library. In this technical solution, in addition to collecting the text entered by the user, it is also possible to understand the characteristics of the font entered by the user by analyzing the text trace according to the user's writing content, so as to automatically generate the corresponding custom font to avoid incomplete to collect all the text.
通过以上技术方案,实现了能够采集用户所输入字符的字体进行分析,并与字体库或云端服务器中的字体库进行对比,选出与用户手写字体相近而又飘逸潇洒的字体,或根据用户所输入字符的轨迹信息生成自定义字体,并可以将所选或所生成的字体设置为输入信息的显示字体或界面显示字体,使得输入的字体和界面字体不再单调,符合年轻用户对炫酷的追求,比如火星体,楷书、隶书、行书、草书等,更加个性化。另外此种设置字体的方式方便快捷,只需用户在输入法界面中输入字符即可,而不需要在应用程序中进行操作,提高了用户的体验。Through the above technical solutions, it is possible to collect and analyze the fonts of the characters input by the user, compare them with the font library or the font library in the cloud server, and select a font that is similar to the user's handwritten font and elegant, or according to the user's input The trajectory information of the input characters generates a custom font, and the selected or generated font can be set as the display font of the input information or the interface display font, so that the input font and the interface font are no longer monotonous, which meets the young users' cool desire Pursuit, such as Martian body, regular script, official script, running script, cursive script, etc., are more personalized. In addition, this method of setting fonts is convenient and quick, and the user only needs to input characters in the input method interface, instead of operating in the application program, which improves the user experience.
附图说明 Description of drawings
图1示出了根据本发明的实施例的终端的框图;Fig. 1 shows a block diagram of a terminal according to an embodiment of the present invention;
图2示出了根据本发明的实施例的更改字体的方法的流程图;Fig. 2 shows the flowchart of the method for changing font according to an embodiment of the present invention;
图3示出了根据本发明的实施例的更换终端的显示字体的流程图;FIG. 3 shows a flow chart of changing a display font of a terminal according to an embodiment of the present invention;
图4A至图4D示出了根据本发明的实施例的更换终端的显示字体的示意图。4A to 4D show schematic diagrams of changing display fonts of a terminal according to an embodiment of the present invention.
具体实施方式 Detailed ways
为了能够更清楚地理解本发明的上述目的、特征和优点,下面结合附图和具体实施方式对本发明进行进一步的详细描述。In order to understand the above-mentioned purpose, features and advantages of the present invention more clearly, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
在下面的描述中阐述了很多具体细节以便于充分理解本发明,但是,本发明还可以采用其他不同于在此描述的其他方式来实施,因此,本发明并不限于下面公开的具体实施例的限制。In the following description, many specific details are set forth in order to fully understand the present invention, but the present invention can also be implemented in other ways different from those described here, therefore, the present invention is not limited to the specific embodiments disclosed below limit.
图1示出了根据本发明的实施例的终端的框图。FIG. 1 shows a block diagram of a terminal according to an embodiment of the present invention.
如图1所示,根据本发明的实施例的终端100,具有触摸感应装置,包括:采样模块104,利用触摸感应装置采样用户输入文字的轨迹;查找模块106,在存储模块108中的字体库中查找与用户输入文字的轨迹相匹配的预设字体;存储模块108,存储字体库;处理模块110,将预设字体设置为显示字体。在该技术方案中,用户在使用手写方式进行输入时,终端100可以通过识别用户写下的文字或字符的轨迹的特征,自动查找到对应的字体文件,并利用该字体文件对终端100的显示字体进行设置。需要说明的是,用户进行文字输入时,可以采用输入法程序进行输入,比如在终端100的屏幕上显示出一个输入界面,也可以是比如没有输入界面,但可以对用户在屏幕上输入的文字进行采集,从而区别于传统意义上的输入法程序。这里的显示字体,是指在用户进行输入时,每次输入后在终端100的界面上显示出来的供用户进行选择的文字或字符,也可以是终端100的系统文字。此外,在对字体库中的字体文件进行查找时,可以通过对文字形成的轨迹进行分析和匹配,也可以通过其他的如整体图形特征或其他可用于区分不同字体的方式。而对于匹配过程中,可以设定对应的敏感程度,即相似度达到用户确定的阈值后,则认为是相匹配,而不需要完全相同。As shown in FIG. 1, a terminal 100 according to an embodiment of the present invention has a touch sensing device, including: a sampling module 104, which uses a touch sensing device to sample the trajectory of the user input text; a search module 106, a font library in a storage module 108 Find a preset font matching the trajectory of the user input text; the storage module 108 stores the font library; the processing module 110 sets the preset font as the display font. In this technical solution, when the user uses handwriting to input, the terminal 100 can automatically find the corresponding font file by recognizing the characteristics of the trajectory of the text or characters written by the user, and use the font file to display the terminal 100 Font settings. It should be noted that when the user inputs text, the input method program can be used for input. For example, an input interface is displayed on the screen of the terminal 100, or there is no input interface, but the text input by the user on the screen can be input. Collecting, which is different from the input method program in the traditional sense. The display font here refers to the text or characters displayed on the interface of the terminal 100 for the user to select after each input when the user inputs, and may also be the system text of the terminal 100 . In addition, when searching for font files in the font library, the trajectory formed by the characters can be analyzed and matched, or other methods such as overall graphic features or other methods that can be used to distinguish different fonts can also be used. For the matching process, the corresponding sensitivity can be set, that is, when the similarity reaches the threshold determined by the user, it is considered to be a match, and it does not need to be exactly the same.
在上述技术方案中,处理模块110具体包括:输入法字体设置子单元1102,在利用输入法程序进行输入时,将输入法程序的界面上的文字设置为预设字体;系统字体设置子单元1104,将终端100的系统文字设置为预设字体。在该技术方案中,除了对输入法所显示出的文字或字符的字体进行更改,还可以将终端100的系统文字也显示成为与用户输入文字的轨迹相匹配的预设字体。这里的系统文字,是指终端100显示出的界面、菜单等部分的文字,甚至应用程序中的文字。In the above technical solution, the processing module 110 specifically includes: an input method
在上述技术方案中,终端100,还包括:通信模块112,将用户输入文字的轨迹发送至服务器,以及从服务器接收对应于用户输入文字的轨迹的预设字体。在该技术方案中,除了将包含多种字体文件的字体库存储在用户的终端100中,还可以存储在服务器中,则通过将用户输入文字的轨迹发送至服务器,以获取匹配的字体。当使用服务器时,显然由于服务器可以随时进行更新,使字体库内容始终是最新最全的,大大地丰富了可选择字体的内容,能够更好地满足用户的需求。In the above technical solution, the terminal 100 further includes: a communication module 112, which sends the track of the characters input by the user to the server, and receives from the server a preset font corresponding to the track of the characters input by the user. In this technical solution, in addition to storing the font library containing multiple font files in the user's terminal 100, it can also be stored in the server, and the matching font can be obtained by sending the trajectory of the user's input text to the server. When using the server, obviously because the server can be updated at any time, the content of the font library is always the latest and most complete, which greatly enriches the content of selectable fonts and can better meet the needs of users.
在上述技术方案中,终端100还包括:采集与生成模块114,采集用户输入文字,并将用户输入文字生成用户字体后,存储至存储模块108中的字体库,或通过通信模块112存储至服务器。在该技术方案中,可以由终端100采集用户输入的文字,并汇总收集到的所有文字、生成对应的字体文件,从而对终端100的系统或输入法显示的字体进行个性化处理。另外,通过将所生成的用户字体存储在服务器,还可以供其他用户从该服务器中获取该字体对应的字体文件,实现了字体文件的分享,提升了用户体验。In the above technical solution, the terminal 100 also includes: a collection and generation module 114, which collects the user input text, and after the user input text is generated into a user font, it is stored in the font library in the storage module 108, or stored in the server through the communication module 112 . In this technical solution, the terminal 100 can collect the text input by the user, collect all the collected text, and generate a corresponding font file, so as to personalize the font displayed by the system or input method of the terminal 100 . In addition, by storing the generated user fonts in the server, other users can also obtain the font files corresponding to the fonts from the server, realizing sharing of font files and improving user experience.
在上述技术方案中,终端100,还包括:轨迹分析与生成模块116,对采样得到的用户输入文字的轨迹进行分析,得到轨迹特征数据,并利用轨迹特征数据生成自定义字体,以及将自定义字体存储至存储模块108中的字体库,或通过通信模块112存储至服务器。在该技术方案中,除了对用户输入的文字进行采集外,还可以根据用户的书写内容,通过分析文字轨迹,了解到用户输入的字体的特征,从而自动生成对应的自定义字体,避免无法完整地收集到所有的文字。In the above technical solution, the terminal 100 also includes: a trajectory analysis and generation module 116, which analyzes the trajectory of the sampled user input text to obtain trajectory feature data, and uses the trajectory feature data to generate a custom font, and customizes The fonts are stored in the font library in the storage module 108 , or stored in the server through the communication module 112 . In this technical solution, in addition to collecting the text entered by the user, it is also possible to understand the characteristics of the font entered by the user by analyzing the text trace according to the user's writing content, so as to automatically generate the corresponding custom font to avoid incomplete to collect all the text.
图2示出了根据本发明的实施例的更改字体的方法的流程图。Fig. 2 shows a flowchart of a method for changing fonts according to an embodiment of the present invention.
如图2所示,根据本发明的实施例的更改字体的方法,用于具有触摸感应装置的终端,包括:步骤202,终端利用触摸感应装置采样用户输入文字的轨迹;步骤204,在字体库中查找与用户输入文字的轨迹相匹配的预设字体,并将预设字体设置为显示字体。在该技术方案中,用户在使用手写方式进行输入时,终端可以通过识别用户写下的文字或字符的轨迹的特征,自动查找到对应的字体文件,并利用该字体文件对终端的显示字体进行设置。需要说明的是,用户进行文字输入时,可以采用输入法程序进行输入,比如在终端屏幕上显示出一个输入界面,也可以是比如没有输入界面,但可以对用户在屏幕上输入的文字进行采集,从而区别于传统意义上的输入法程序。这里的显示字体,是指在用户进行输入时,每次输入后在终端的界面上显示出来的供用户进行选择的文字或字符,也可以是终端的系统文字。此外,在对字体库中的字体文件进行查找时,可以通过对文字形成的轨迹进行分析和匹配,也可以通过其他的如整体图形特征或其他可用于区分不同字体的方式。而对于匹配过程中,可以设定对应的敏感程度,即相似度达到用户确定的阈值后,则认为是相匹配,而不需要完全相同。As shown in Figure 2, the method for changing fonts according to an embodiment of the present invention is used for a terminal with a touch sensing device, including:
在上述技术方案中,显示字体包括:在利用输入法程序进行输入时,输入法程序的界面上的文字;和/或终端的系统文字。在该技术方案中,除了对输入法所显示出的文字或字符的字体进行更改,还可以将终端的系统文字也显示成为与用户输入文字的轨迹相匹配的预设字体。这里的系统文字,是指终端显示出的界面、菜单等部分的文字,甚至应用程序中的文字。In the above technical solution, the displayed font includes: when the input method program is used for input, the characters on the interface of the input method program; and/or the system characters of the terminal. In this technical solution, in addition to changing the font of the text or characters displayed by the input method, the system text of the terminal can also be displayed as a preset font matching the trajectory of the text input by the user. The system text here refers to the text of the interface, menu, etc. displayed on the terminal, and even the text in the application program.
在上述技术方案中,包括:字体库位于终端中或位于服务器中。在该技术方案中,除了将包含多种字体文件的字体库存储在用户的终端中,还可以存储在服务器中,则通过将用户输入文字的轨迹发送至服务器,以获取匹配的字体。当使用服务器时,显然由于服务器可以随时进行更新,从而使得字体库内容始终是最新最全的,大大地丰富了可选择字体的内容,能够更好地满足用户的需求。In the above technical solution, it includes: the font library is located in the terminal or in the server. In this technical solution, in addition to storing the font library containing multiple font files in the user's terminal, it can also be stored in the server, and then the trajectory of the user's input text is sent to the server to obtain matching fonts. When using the server, it is obvious that the server can be updated at any time, so that the content of the font library is always the latest and most complete, which greatly enriches the content of selectable fonts and can better meet the needs of users.
在上述技术方案中,还包括:终端采集用户输入文字,并将用户输入文字生成用户字体后,存储至字体库。在该技术方案中,可以由终端采集用户输入的文字,并汇总收集到的所有文字、生成对应的字体文件,从而对终端系统或输入法显示的字体进行个性化处理。另外,通过将所生成的用户字体存储在服务器,还可以供其他用户从该服务器中获取该字体对应的字体文件,实现了字体文件的分享,提升了用户体验。In the above technical solution, it also includes: the terminal collects the text input by the user, generates a user font from the input text of the user, and stores the font in the font library. In this technical solution, the terminal can collect the characters input by the user, collect all the collected characters, and generate corresponding font files, so as to personalize the fonts displayed by the terminal system or the input method. In addition, by storing the generated user fonts in the server, other users can also obtain the font files corresponding to the fonts from the server, realizing sharing of font files and improving user experience.
在上述技术方案中,优选地,还包括:终端对采样得到的用户输入文字的轨迹进行分析,得到轨迹特征数据,并利用轨迹特征数据生成自定义字体,以及将自定义字体存储至字体库。在该技术方案中,除了对用户输入的文字进行采集外,还可以根据用户的书写内容,通过分析文字轨迹,了解到用户输入的字体的特征,从而自动生成对应的自定义字体,避免无法完整地收集到所有的文字。In the above technical solution, preferably, it further includes: the terminal analyzes the trajectory of the sampled user-input characters to obtain trajectory feature data, and uses the trajectory feature data to generate a custom font, and stores the custom font in the font library. In this technical solution, in addition to collecting the text entered by the user, it is also possible to understand the characteristics of the font entered by the user by analyzing the text trace according to the user's writing content, so as to automatically generate the corresponding custom font to avoid incomplete to collect all the text.
图3示出了根据本发明的实施例的更换终端的显示字体的流程图。Fig. 3 shows a flow chart of changing a display font of a terminal according to an embodiment of the present invention.
如图3所示,根据本发明的实施例的更换终端的显示字体的流程如下:As shown in Figure 3, the process of replacing the display font of the terminal according to the embodiment of the present invention is as follows:
步骤302,用户在输入法界面输入字符。
步骤304,终端中的采集模块会对用户所输入字符的信息进行采样,此时用户进行选择,如果选择采用字体库中的某种字体,转至步骤306A;如果选择生成自定义字体,则转至步骤306B。In
步骤306A,将所采样的字体和字体库或云端服务器字体库字体进行比对,判断其中是否存在相匹配的字体,若存在,则转至步骤308,否则转至步骤316。
步骤306B,采集用户输入的文字,打包成自定义字体,或对采样得到的用户输入文字的轨迹进行分析后,自动生成自定义字体。In
步骤307,选择是否使用该种字体,如果是,则转至步骤310;如果否,则转至步骤316。
步骤308,对从字体库或云端服务器字体库所选出的字体进行选择,从中选择出一种字体。
步骤310,执行选择的字体文件,从而使用对应的字体显示输入法的输入文字。Step 310, execute the selected font file, so as to use the corresponding font to display the input text of the input method.
步骤312,选择是否更换界面上所显示的字体,如果更换,转至步骤314,否则转至步骤316。
步骤314,采用步骤308中所选择的字体显示界面。
步骤316,按照常规方式显示字体,即不更换显示的文字或字符的字体。
综上,根据上述技术方案,只需要用户在输入法界面中撰写首个文字,手机就可以根据用户自己书法特点,在字体库或者云端服务器中的字体库选择既符合自己风格,又飘逸潇洒的字体,对输入法字体、甚至系统界面的字体进行更换和设置。To sum up, according to the above technical solution, the user only needs to write the first text in the input method interface, and the mobile phone can choose the font library in the font library or the font library in the cloud server according to the user's own calligraphy characteristics, which is not only in line with his own style, but also elegant and unrestrained. Fonts, to change and set the fonts of the input method and even the fonts of the system interface.
图4A至图4D示出了根据本发明的实施例的更换终端的显示字体的示意图。4A to 4D show schematic diagrams of changing display fonts of a terminal according to an embodiment of the present invention.
如图4A所示,在显示界面400上,用户需要通过手写输入法进行文字的输入。用户在书写区402的区域上进行输入后,终端识别出用户输入的文字,并在输入法显示区404将匹配的文字显示出来,以供用户进行选择。As shown in FIG. 4A , on the
当用户在书写区402写下文字后,终端首先对该文字的轨迹进行分析,获取其轨迹特征,而该轨迹特征对应着其字体特征。然后,终端将得到的分析结果在终端内的字体库或服务器上的字体库中进行搜索,查找匹配的字体。After the user writes a character in the writing area 402, the terminal first analyzes the trajectory of the character to obtain its trajectory feature, and the trajectory feature corresponds to its font feature. Then, the terminal searches the obtained analysis results in the font library in the terminal or in the font library on the server to find a matching font.
如图4B所示,在终端找过对应的匹配的字体后,在显示界面400上显示出字体选择菜单406,其中包含了系统认为与用户写下的文字的字体相匹配的字体,并按照匹配度的大小进行了排列,由用户进行选择使用。As shown in Figure 4B, after the terminal finds the corresponding matching font, the
如图4C所示,比如用户选择了“华文行楷”,则在输入法显示区404中显示出了对应的文字,这些文字首先是终端对用户书写的文字进行辨别后选择出的匹配的文字,同时它们的字体也已经被更换为了用户选择出的字体,与书写区402中用户写下的文字的字体相似。As shown in FIG. 4C, for example, if the user selects "Chinese Xingkai", the corresponding text is displayed in the input
当然,可以看到的是,在显示界面400上的系统显示区408中,比如在用户选择后显示出的“字”、以及“发送”等,还是原来的字体,这些类似的没有改变的文字属于终端的“系统文字”,不属于输入法显示区404,因而没有进行字体的更改。而显然,这部分系统文字也是可以进行更改的,具体如图4D所示。Of course, it can be seen that in the
如图4D所示,在显示界面400上,输入法显示区404、系统显示区408以及显示界面400上的系统时间“20:04”的字体,都已经发生了变化,被更换为与书写区402中的文字相匹配的字体。As shown in Figure 4D, on the
以上结合附图详细说明了本发明的技术方案,考虑到相关技术中,对于终端中的文字进行修改的过程很繁琐,因此,本发明提供了一种终端和一种改变字体的方法,从而能够采集用户所输入字符的字体进行分析,并与字体库或云端服务器中的字体库进行对比,选出与用户手写字体相近而又飘逸潇洒的字体,或根据用户所输入字符的轨迹信息生成自定义字体,并可以将所选或所生成的字体设置为输入信息的显示字体或界面显示字体,使得输入的字体和界面字体不再单调,符合年轻用户对炫酷的追求,比如火星体,楷书、隶书、行书、草书等,更加个性化。另外此种设置字体的方式方便快捷,只需用户在输入法界面中输入字符即可,而不需要在应用程序中进行操作,提高了用户的体验。The above describes the technical solution of the present invention in detail in conjunction with the accompanying drawings. Considering that in the related art, the process of modifying the text in the terminal is very cumbersome, therefore, the present invention provides a terminal and a method for changing fonts, so that Collect and analyze the fonts of the characters entered by the user, compare them with the font library or the font library in the cloud server, select a font that is similar to the user's handwritten font and elegant, or generate a custom font based on the trajectory information of the characters entered by the user Fonts, and the selected or generated fonts can be set as the display fonts of input information or interface display fonts, so that the input fonts and interface fonts are no longer monotonous, which meets the cool pursuit of young users, such as Martian, regular script, Official script, running script, cursive script, etc. are more personalized. In addition, this method of setting fonts is convenient and quick, and the user only needs to input characters in the input method interface, instead of operating in the application program, which improves the user experience.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210063077.4A CN103207755B (en) | 2012-01-13 | 2012-01-13 | Terminal and the method for change font |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210063077.4A CN103207755B (en) | 2012-01-13 | 2012-01-13 | Terminal and the method for change font |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103207755A true CN103207755A (en) | 2013-07-17 |
| CN103207755B CN103207755B (en) | 2016-09-21 |
Family
ID=48754994
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201210063077.4A Expired - Fee Related CN103207755B (en) | 2012-01-13 | 2012-01-13 | Terminal and the method for change font |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103207755B (en) |
Cited By (16)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103685519A (en) * | 2013-12-11 | 2014-03-26 | 无锡职业技术学院 | Auxiliary exercise method and auxiliary exercise system for brush calligraphy |
| CN104965834A (en) * | 2014-06-25 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Method and apparatus for displaying fonts |
| CN106528144A (en) * | 2016-11-04 | 2017-03-22 | 上海传英信息技术有限公司 | Method for changing system font and user terminal |
| CN107451155A (en) * | 2016-06-01 | 2017-12-08 | 上海精灵天下数字技术有限公司 | A kind of character library on-line processing method and system |
| WO2018027770A1 (en) * | 2016-08-11 | 2018-02-15 | 王志远 | Method for matching text format according to gesture, and text system |
| WO2018027771A1 (en) * | 2016-08-11 | 2018-02-15 | 王志远 | Method for pushing information when matching text format according to gesture, and text system |
| CN109992749A (en) * | 2017-12-29 | 2019-07-09 | 珠海金山办公软件有限公司 | A text display method, device, electronic device and readable storage medium |
| CN110297678A (en) * | 2018-03-22 | 2019-10-01 | 北京搜狗科技发展有限公司 | A kind for the treatment of method and apparatus of interface of input method |
| CN110858305A (en) * | 2018-08-24 | 2020-03-03 | 英业达科技有限公司 | System and method for identifying picture characters by using installed fonts |
| CN111198742A (en) * | 2019-12-31 | 2020-05-26 | 深圳Tcl新技术有限公司 | Customized font realization method, device, terminal and readable storage medium |
| WO2020124449A1 (en) * | 2018-12-19 | 2020-06-25 | 深圳市欢太科技有限公司 | Font setting method and device |
| WO2020124454A1 (en) * | 2018-12-19 | 2020-06-25 | 深圳市欢太科技有限公司 | Font switching method and related product |
| CN111651229A (en) * | 2020-06-03 | 2020-09-11 | 北京百度网讯科技有限公司 | Font replacement method, device and equipment |
| CN112464616A (en) * | 2019-09-06 | 2021-03-09 | 北京搜狗科技发展有限公司 | Method and device for displaying personalized font |
| CN112486362A (en) * | 2019-09-12 | 2021-03-12 | 北京搜狗科技发展有限公司 | Font setting method and device for setting fonts |
| CN114489447A (en) * | 2022-03-28 | 2022-05-13 | 山东大学 | Word processing control method and system based on user behavior and readable storage medium |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090202153A1 (en) * | 2000-03-01 | 2009-08-13 | Palmsource, Inc. | Method and apparatus for using pressure information for improved computer controlled handwriting recognition data entry and user authentication |
| CN101533317A (en) * | 2008-03-13 | 2009-09-16 | 三星电子株式会社 | Fast recording device with handwriting identifying function and method thereof |
| CN102289322A (en) * | 2011-08-25 | 2011-12-21 | 盛乐信息技术(上海)有限公司 | Method and system for processing handwriting |
-
2012
- 2012-01-13 CN CN201210063077.4A patent/CN103207755B/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090202153A1 (en) * | 2000-03-01 | 2009-08-13 | Palmsource, Inc. | Method and apparatus for using pressure information for improved computer controlled handwriting recognition data entry and user authentication |
| CN101533317A (en) * | 2008-03-13 | 2009-09-16 | 三星电子株式会社 | Fast recording device with handwriting identifying function and method thereof |
| CN102289322A (en) * | 2011-08-25 | 2011-12-21 | 盛乐信息技术(上海)有限公司 | Method and system for processing handwriting |
Cited By (26)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103685519A (en) * | 2013-12-11 | 2014-03-26 | 无锡职业技术学院 | Auxiliary exercise method and auxiliary exercise system for brush calligraphy |
| CN104965834B (en) * | 2014-06-25 | 2018-09-28 | 腾讯科技(深圳)有限公司 | Font display methods and device |
| CN104965834A (en) * | 2014-06-25 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Method and apparatus for displaying fonts |
| CN107451155A (en) * | 2016-06-01 | 2017-12-08 | 上海精灵天下数字技术有限公司 | A kind of character library on-line processing method and system |
| WO2018027770A1 (en) * | 2016-08-11 | 2018-02-15 | 王志远 | Method for matching text format according to gesture, and text system |
| WO2018027771A1 (en) * | 2016-08-11 | 2018-02-15 | 王志远 | Method for pushing information when matching text format according to gesture, and text system |
| CN106528144B (en) * | 2016-11-04 | 2019-09-17 | 上海传英信息技术有限公司 | Replace the method and user terminal of system font |
| CN106528144A (en) * | 2016-11-04 | 2017-03-22 | 上海传英信息技术有限公司 | Method for changing system font and user terminal |
| CN109992749A (en) * | 2017-12-29 | 2019-07-09 | 珠海金山办公软件有限公司 | A text display method, device, electronic device and readable storage medium |
| CN110297678B (en) * | 2018-03-22 | 2024-02-06 | 北京搜狗科技发展有限公司 | Input method interface processing method and device |
| CN110297678A (en) * | 2018-03-22 | 2019-10-01 | 北京搜狗科技发展有限公司 | A kind for the treatment of method and apparatus of interface of input method |
| CN110858305A (en) * | 2018-08-24 | 2020-03-03 | 英业达科技有限公司 | System and method for identifying picture characters by using installed fonts |
| CN110858305B (en) * | 2018-08-24 | 2024-02-20 | 英业达科技有限公司 | System and method for recognizing picture characters by using installed fonts |
| WO2020124449A1 (en) * | 2018-12-19 | 2020-06-25 | 深圳市欢太科技有限公司 | Font setting method and device |
| CN112805674A (en) * | 2018-12-19 | 2021-05-14 | 深圳市欢太科技有限公司 | Font setting method and device |
| CN112840305A (en) * | 2018-12-19 | 2021-05-25 | 深圳市欢太科技有限公司 | Font switching method and related products |
| CN112840305B (en) * | 2018-12-19 | 2023-11-28 | 深圳市欢太科技有限公司 | Font switching methods and related products |
| WO2020124454A1 (en) * | 2018-12-19 | 2020-06-25 | 深圳市欢太科技有限公司 | Font switching method and related product |
| CN112805674B (en) * | 2018-12-19 | 2024-04-02 | 深圳市欢太科技有限公司 | Font setting method and device |
| CN112464616A (en) * | 2019-09-06 | 2021-03-09 | 北京搜狗科技发展有限公司 | Method and device for displaying personalized font |
| CN112486362A (en) * | 2019-09-12 | 2021-03-12 | 北京搜狗科技发展有限公司 | Font setting method and device for setting fonts |
| CN111198742A (en) * | 2019-12-31 | 2020-05-26 | 深圳Tcl新技术有限公司 | Customized font realization method, device, terminal and readable storage medium |
| CN111198742B (en) * | 2019-12-31 | 2024-07-05 | 深圳Tcl新技术有限公司 | Customized font implementation method, device, terminal and readable storage medium |
| CN111651229A (en) * | 2020-06-03 | 2020-09-11 | 北京百度网讯科技有限公司 | Font replacement method, device and equipment |
| CN114489447A (en) * | 2022-03-28 | 2022-05-13 | 山东大学 | Word processing control method and system based on user behavior and readable storage medium |
| CN114489447B (en) * | 2022-03-28 | 2022-07-12 | 山东大学 | Word processing control method and system based on user behavior and readable storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103207755B (en) | 2016-09-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103207755B (en) | Terminal and the method for change font | |
| CN105830011B (en) | User interface for overlapping handwritten text input | |
| WO2020187118A1 (en) | Page presentation method and apparatus | |
| US8943092B2 (en) | Digital ink based contextual search | |
| JP6180888B2 (en) | Electronic device, method and program | |
| CN106201177B (en) | An operation execution method and mobile terminal | |
| US20180121074A1 (en) | Freehand table manipulation | |
| US9274704B2 (en) | Electronic apparatus, method and storage medium | |
| CN104375665B (en) | input method error correction method and device | |
| US20160062634A1 (en) | Electronic device and method for processing handwriting | |
| JP6426417B2 (en) | Electronic device, method and program | |
| WO2020187117A1 (en) | Figure page display method and apparatus, and text page display method and apparatus | |
| JP6092418B2 (en) | Electronic device, method and program | |
| CN104808903B (en) | Text selection method and device | |
| US8952897B2 (en) | Single page soft input panels for larger character sets | |
| CN109614847A (en) | Manage real-time handwriting recognition | |
| CN101581992A (en) | Touch screen device and input method thereof | |
| US10049114B2 (en) | Electronic device, method and storage medium | |
| US20160154580A1 (en) | Electronic apparatus and method | |
| CN104516674B (en) | Literal processing method and device | |
| CN104508616A (en) | Text input method, device and terminal | |
| CN104423800A (en) | Electronic device and method of executing application thereof | |
| CN103500158A (en) | Method and device for annotating electronic document | |
| JP2025039632A (en) | Processing device and display method | |
| CN115509413A (en) | Display method, display device, dictionary pen, electronic device and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160921 |