CN112840305A - Font switching method and related product - Google Patents

Font switching method and related product Download PDF

Info

Publication number
CN112840305A
CN112840305A CN201880098629.0A CN201880098629A CN112840305A CN 112840305 A CN112840305 A CN 112840305A CN 201880098629 A CN201880098629 A CN 201880098629A CN 112840305 A CN112840305 A CN 112840305A
Authority
CN
China
Prior art keywords
font
user
handwritten
characters
determining
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
Application number
CN201880098629.0A
Other languages
Chinese (zh)
Other versions
CN112840305B (en
Inventor
陈岩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd, Shenzhen Huantai Technology Co Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of CN112840305A publication Critical patent/CN112840305A/en
Application granted granted Critical
Publication of CN112840305B publication Critical patent/CN112840305B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

A font switching method and related products are applied to electronic equipment, and the method comprises the following steps: when detecting that the currently displayed application interface displays text information, determining the font and the display density of the text information (S201); when the font is detected to be a default font and the display density is smaller than a target preset density threshold value, acquiring a pre-stored user handwritten font resource library, wherein the user handwritten font resource library is a set of characters which are generated through a pre-trained Artificial Intelligence (AI) font model and are matched with the handwriting habits of the user, and the AI font model is obtained after being trained through handwritten font data input by the user (S202); and switching the font of the character information into the user handwritten font through the user handwritten font resource library (S203). The method is beneficial to enabling font switching to be more personalized.

Description

Font switching method and related product Technical Field
The present application relates to the field of electronic technologies, and in particular, to a font switching method and a related product.
Background
In the prior art, when a user uses electronic equipment, text information in different display interfaces is generally displayed by using default fonts, and when some applications are used, fonts can be set, but selectable fonts are conventional fonts carried by the applications, and under some scenes, the user may want to have a handwriting font resource library which is exclusive to the user, and the fonts of the display interfaces are switched to handwriting fonts of the user, so that the font switching is more in line with reading habits of the user.
Disclosure of Invention
The embodiment of the application provides a font switching method and a related product, which are beneficial to enabling font switching to be more personalized and improving user experience.
In a first aspect, an embodiment of the present application provides a font switching method, which is applied to an electronic device, and the method includes:
when detecting that the currently displayed application interface displays text information, determining the font and the display density of the text information;
when the font is detected to be a default font and the display density is smaller than a target preset density threshold value, acquiring a pre-stored user handwritten font resource library, wherein the user handwritten font resource library is a set of characters which are generated through a pre-trained Artificial Intelligence (AI) font model and are matched with the handwriting habits of a user, and the AI font model is obtained after being trained through handwritten font data input by the user;
and switching the font of the character information into the user handwriting font through the user handwriting font resource library.
In a second aspect, an embodiment of the present application provides a font switching apparatus applied to an electronic device, the font switching apparatus includes a processing unit and a communication unit, wherein,
the processing unit is used for determining the font and the display density of the text information when the text information is detected to be displayed on the currently displayed application interface; the communication unit is used for acquiring a pre-stored user handwritten font resource library when the font is detected to be a default font and the display density is smaller than a target preset density threshold value, wherein the user handwritten font resource library is a set of characters which are generated through a pre-trained artificial intelligent AI font model and are matched with the handwriting habits of the user, and the AI font model is obtained after being trained through handwritten font data input by the user; and the font switching module is used for switching the font of the character information into the user handwritten font through the user handwritten font resource library.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing steps in any method of the first aspect of the embodiment of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps described in any one of the methods of the first aspect of the present application.
In a fifth aspect, the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
It can be seen that, in this application embodiment, electronic equipment at first when detecting the application interface display of current demonstration has the character information, confirms the typeface and the display density of character information, secondly, is detecting the typeface is acquiescent typeface, just when the display density is less than the preset density threshold value of target, acquires the user of prestoring and writes by hand typeface resource bank, the user writes by hand the collection of the characters of typeface resource bank for the matching user's custom of writing by hand that artificial intelligence AI typeface model through the training in advance generated, AI typeface model obtains after the handwritten typeface data through user input trains, finally, through the user writes by hand typeface resource bank will the typeface of character information switches into the user writing by hand typeface. Because electronic equipment can confirm the typeface and the display density of characters in the information according to the literal information of the application interface that shows at present to can be when detecting the typeface of literal information for acquiescence typeface, and the display density is less than and predetermines the density threshold value, acquire the user that prestores and write by hand the typeface resource storehouse, thereby write by hand the typeface resource storehouse through the user and switch the typeface of literal information into user's typeface of writing by default typeface, make the typeface setting more individualized, be favorable to improving user's reading experience.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the background art of the present application, the drawings required to be used in the embodiments or the background art of the present application will be described below.
FIG. 1A is a schematic diagram of a program runtime space of a smart phone;
FIG. 1B is a system architecture diagram of an android system;
fig. 2 is a schematic flowchart of a font switching method provided in an embodiment of the present application;
fig. 3 is a schematic flowchart of another font switching method provided in an embodiment of the present application;
fig. 4 is a schematic flowchart of another font switching method provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 6 is a block diagram illustrating functional units of a font switching apparatus according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The following are detailed below.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of this application and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
As shown in fig. 1A, currently, electronic devices such as smart phones are generally provided with a program running space, where the program running space includes a user space and an operating system space, where the user space runs one or more application programs, and the one or more application programs are third-party application programs installed in the electronic devices.
The electronic device can specifically run an Android system, a mobile operating system iOS developed by apple Inc., and the like, and the electronic device is not limited herein. As shown in fig. 1B, for example that the electronic device runs an Android system, the corresponding user space includes an Application layer (Applications) in the Android system, and the operating system space may include an Application Framework layer (Application Framework) in the Android system, a system Runtime library layer (including system Runtime Libraries and Android Runtime runtimes), and a Linux Kernel layer (Linux Kernel). The application layer comprises various application programs which are directly interacted with the user or service programs which are written by Java language and run in the background. For example, programs that implement common basic functions on smartphones, such as Short Messaging Service (SMS) SMS, phone dialing, picture viewer, calendar, games, maps, World Wide Web (Web) browser, and other applications developed by developers. The application framework layer provides a series of class libraries required by Android application development, can be used for reusing components, and can also realize personalized extension through inheritance. And the system operation library layer is a support of an application program framework and provides services for each component in the Android system. The system operation library layer is composed of a system class library and Android operation. The Android runtime comprises two parts, namely a core library and a Dalvik virtual machine. The Linux kernel layer is used for realizing core functions such as hardware device driving, process and memory management, a network protocol stack, power management, wireless communication and the like.
The electronic device according to the embodiment of the present application may be an electronic device with domain name resolution capability, and the electronic device may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and the like.
The following describes embodiments of the present application in detail.
Referring to fig. 2, fig. 2 is a schematic flowchart of a font switching method provided in an embodiment of the present application, and the method is applied to an electronic device. The font switching method comprises the following steps:
s201, when detecting that the currently displayed application interface displays text information, the electronic equipment determines the font and the display density of the text information.
When the electronic device uses a different application interface, different text information is displayed, and the text information may include a font, a font size, a display area, display content, and the like of the displayed text. Generally, the text information is displayed by using a default font, and the default font may be a default font configured by the electronic device or a default font configured by the application.
The font and the display density of the text information can be determined according to the text information, so that whether the font switching method provided by the embodiment of the application is executed or not is determined, but when the number of displayed texts is small, or the font size is small, or the display area of the texts is remote (corner area of a screen), or the display area is small, the font switching is performed, possibly, a user cannot obviously feel that the fonts are switched, so that the text information can be further set, and when the text information meets certain preset conditions, the font and the display density of the text information are determined.
S202, when the electronic equipment detects that the font is a default font and the display density is smaller than a target preset density threshold value, a pre-stored user handwriting font resource library is obtained, the user handwriting font resource library is a set of characters which are generated through a pre-trained artificial intelligent AI font model and are matched with the handwriting habits of the user, and the AI font model is obtained after being trained through handwriting font data input by the user.
When the electronic equipment detects that the font of the text information is the default font and the display density of the text information is smaller than the target preset density threshold value, the font switching of the font of the text information can be determined.
The method comprises the steps of obtaining a pre-stored user handwritten font resource library, wherein each type of font corresponds to one font resource library, and the font resource libraries comprise specific character images corresponding to each character, namely character sets comprising the type of font. The user handwriting font can be obtained by an Artificial Intelligence (AI) model, and a set of characters matched with the handwriting habit of the user is generated by the pre-trained AI font model, namely the user handwriting font resource library, so that when the font is switched, the corresponding characters can be obtained from the user handwriting font resource library, and the font is switched for the characters.
The AI model can be obtained after the handwritten font data input by the user are trained, the handwritten font data input by the user comprise some characters handwritten by the user, and the rules of the handwritten characters of the user can be obtained by the AI model according to the characters handwritten by the user, so that other characters handwritten by the user can be obtained, and a user handwritten font resource library can be generated.
S203, the electronic equipment switches the font of the character information into the user handwritten font through the user handwritten font resource library.
When the font switching operation of the user is detected, or in a preset scene set by the user and needing font switching, the font of the character information can be switched into the user handwritten font according to the user handwritten font resource library and the character information.
It can be seen that, in this application embodiment, electronic equipment at first when detecting the application interface display of current demonstration has the text information, confirms the typeface and the display density of text information, secondly, is detecting the typeface is acquiescent typeface, just when the display density is less than the target and predetermines the density threshold value, acquires the user that prestores and writes by hand the typeface resource bank, the user writes by hand the collection of the characters of typeface resource bank for the matching user's handwriting custom that artificial intelligence AI typeface model through the pre-training generated, AI typeface model obtains after training through the handwritten typeface data of user input, finally, through the user writes by hand the typeface resource bank will the typeface of text information switches into the user's handwriting typeface. Because electronic equipment can confirm the typeface and the display density of characters in the information according to the literal information of the application interface that shows at present to can be when detecting the typeface of literal information for acquiescence typeface, and the display density is less than and predetermines the density threshold value, acquire the user that prestores and write by hand the typeface resource storehouse, thereby write by hand the typeface resource storehouse through the user and switch the typeface of literal information into user's typeface of writing by default typeface, make the typeface setting more individualized, be favorable to improving user's reading experience.
In one possible example, the determining the display density of the text information includes: determining a first display area and a first character number corresponding to the character information in the application interface; acquiring pre-stored user handwritten font template characters, and selecting target user handwritten font template characters with the display area being the first display area from the user handwritten font template characters, wherein the fonts of the user handwritten font template characters are the user handwritten fonts; determining a second character number corresponding to the target user handwritten font template characters; and determining the display density according to the ratio of the first character number to the second character number.
The method comprises the steps of determining a first display area and a first character number of character information displayed by the application interface, wherein the first display area can be the display area of all character information, the first character number corresponds to the number of all characters displayed, the first display area can also be the display area of the selected character information in a certain area, and the first character number corresponds to the character number of the display area.
The method comprises the steps of obtaining pre-stored user handwritten font template characters, wherein character fonts in the user handwritten font template characters are user handwritten fonts, and the size of the character fonts is the same as that of characters in character information. Selecting target user handwritten font template characters with the display area as the first display area from the handwritten font template characters, determining the second character number corresponding to the handwritten font template characters of the user, and determining the display density of characters in character information according to the first character number and the second character number.
For example, the text information with the display area of the first display area includes 300 characters, and the target user handwritten font template characters with the display area also being the first display area only have 200 characters, so that it is obvious that, by using the user handwritten font template characters as a standard, it is detected that the display density of the text information is 1.5 times of that of the user handwritten font template, and the more characters are displayed in the text information, the greater the display density of the text information is.
It can be seen that, in this example, the user handwriting font template is used as a standard, because the size of the text font in the user handwriting font template is the same as the size of the text font in the text information, and the distance between the texts is a standard distance that is set by the user or a system and is suitable for the user to read, according to the number of the texts in the text information with the same display area and the number of the texts in the user handwriting font template, the ratio between the number of the texts and the number of the texts in the text information with the same display area is determined to determine the display density of the text information, which is beneficial to determining whether the text information of the current display interface meets the condition.
In one possible example, the determining the display density of the text information includes: determining a first distance between characters displayed by the application interface; and determining the display density of the text information according to the first distance.
In this example, the first interval between the characters displayed on the application interface is determined, and the display density of the character information is determined according to the size of the first interval, in general, the larger the interval is, the smaller the character density is, the smaller the interval is, and the larger the character density is, and whether the display density of the character information meets the condition of font switching is determined according to the interval, which is beneficial to improving the processing efficiency.
In one possible example, the determining the display density of the text information according to the first distance includes: acquiring pre-stored user handwritten font template characters, and determining a second space between characters in the user handwritten font template characters; determining the display density according to a ratio between the second pitch and the first pitch.
The electronic equipment stores user handwritten font template characters, the user handwritten font template characters comprise user handwritten fonts, the user handwritten font template characters have the same font size, the space between the characters can be used for a user to read, and the space can reduce the reading fatigue.
The method comprises the steps of obtaining pre-stored user handwritten font template characters, determining a second interval between characters in the user handwritten font template characters, and determining display density according to the ratio of the first interval to the second interval, wherein the font size of the pre-stored user handwritten font template characters is the same as the font size of character information. The first and second pitches may be left-right pitches between letters, or up-down pitches.
As can be seen, in this example, according to the second distance between the characters in the standard user handwritten font template characters and the first distance between the character information displayed on the current application interface, the ratio between the second distance and the first distance is determined, where the larger the ratio is, the greater the display density of the description character information is, and the smaller the ratio is, the smaller the display density of the description character information is.
In one possible example, the switching the font of the text information into a handwritten font through the user handwritten font resource library includes: determining a second display area corresponding to the text information after the font of the text information is switched from the default font to the user handwritten font; when detecting that the difference value between the second display area and the first display area is larger than a first preset threshold value, adjusting the text information of the handwritten font of the user, so that the difference value between the adjusted display area of the text information and the first display area is smaller than the first preset threshold value.
The handwriting fonts of all users are different, the characters of the handwriting fonts of some users are possibly longer, the characters of the handwriting fonts of some users are possibly wider, but after the characters in the character information are switched to the handwriting fonts of the users from default fonts, the left-right spacing and the up-down spacing between the characters are not changed, because the character information after the characters are switched possibly corresponds to a second display area, when the fact that the difference between the second display area and the first display area is larger than a first preset threshold value is detected, the adjusted character information can be adjusted, and therefore the difference between the display area of the adjusted character information and the first display area is smaller than the first preset threshold value.
The adjustment manner may be to scale the font information after switching, and scale the display area from the second display area to the first display area, which is not limited herein.
It can be seen that, in this example, after the font of the text information is switched from the default font to the user handwritten font, the second display area corresponding to the text information is detected, and when the difference between the detected second display area and the first display area before the font is switched is greater than the first preset threshold, the text information is adjusted so that the display of the text information does not affect the visual experience of the user.
In one possible example, the switching the font of the text information into a handwritten font through the user handwritten font resource library includes: acquiring a historical use record of an application scene corresponding to the application interface; determining the number of times of receiving font switching instructions in the application scene according to the historical usage record; and when the frequency is detected to be greater than a second preset threshold value, switching the font of the text information into the user handwriting font.
The electronic equipment can also obtain a historical use record of an application scene corresponding to the current application interface, determine the number of times of the received font switching instruction in the application scene according to the historical use record, and directly switch the font of the text information into the user handwritten font when the detected number of times is greater than a second preset threshold value, so that the user is not required to execute the operation of switching the font.
As can be seen, in this example, the number of times that the font switching instruction is received in the application scene corresponding to the application interface is determined, and when the number of times exceeds the second preset threshold, it indicates that the user is more likely to use the user handwritten font to display the text information in the application scene, so that when the electronic device enters the application scene, the font of the text information is directly switched to the user handwritten font, thereby omitting the manual font switching by the user.
In one possible example, the method further comprises: when the current application is detected to be a preset application, determining a first preset density threshold value set corresponding to the application; determining an application scene of the application according to the application interface of the application; and searching a mapping relation between a preset application scene and a preset density threshold value, and determining a target preset density threshold value corresponding to the application scene in the first preset density threshold value set.
The method comprises the steps of obtaining character information displayed under a plurality of application scenes by a preset application, and training the character information through an AI font model according to the displayed character information to obtain a preset density threshold value set of the preset application, wherein each preset density threshold value in the preset density threshold value set corresponds to one application scene.
As can be seen, in this example, in different application scenes of the same application, the preset density threshold corresponding to each application scene is different, and the first preset density threshold set corresponding to the current application is determined, so that the target preset density threshold of the application scene corresponding to the current interface in the first preset density threshold set is determined, and by determining whether the display density of the text information is smaller than the target preset density threshold, it is beneficial to determine whether font switching operation is required.
In one possible example, the method further comprises: when the electronic equipment is detected to start a handwriting input method, acquiring characters handwritten by a user; and training the characters handwritten by the user through the pre-trained artificial intelligence AI font model to obtain the handwritten characters of the user.
As can be seen, in this example, the pre-trained artificial intelligence AI font model may determine the resource library of the handwritten fonts of the user according to the handwritten font data input by the user, for example, when it is detected that the electronic device starts a handwriting input method, the handwritten characters of the user are obtained, the images of the handwritten characters may be obtained, the handwritten characters of the user are trained through the AI model, and the resource library of the handwritten fonts of the user is obtained according to a part of the characters handwritten by the user.
In one possible example, the method further comprises: shooting a target picture through a camera, wherein the target picture is a shot picture containing characters written by a user through handwriting; extracting characters of the user handwritten fonts from the target pictures, training the characters of the user handwritten fonts through the pre-trained artificial intelligence AI font model, and determining the user handwritten font resource library.
As can be seen, in this example, the user handwritten font resource library may be obtained by obtaining handwritten font data of the user, for example, taking a target picture including characters of the user handwritten font, extracting the characters of the user handwritten font from the target picture, and training the characters of the user handwritten font through a pre-trained artificial intelligence AI font model.
Referring to fig. 3, fig. 3 is a schematic flowchart of a font switching method provided in an embodiment of the present application, and is applied to an electronic device, consistent with the embodiment shown in fig. 2. As shown in the figure, the font switching method includes:
s301, when detecting that the text information is displayed on the currently displayed application interface, the electronic equipment determines the font and the display density of the text information.
S302, when the electronic equipment detects that the font is a default font and the display density is smaller than a target preset density threshold value, a pre-stored user handwriting font resource library is obtained, the user handwriting font resource library is a set of characters which are generated through a pre-trained artificial intelligent AI font model and are matched with the handwriting habits of the user, and the AI font model is obtained after being trained through handwriting font data input by the user.
And S303, after the electronic equipment determines to switch the font of the text information from the default font to the user handwritten font, the electronic equipment determines a second display area corresponding to the text information.
S304, when detecting that the difference value between the second display area and the first display area is larger than a first preset threshold value, the electronic device adjusts the text information of the handwritten font of the user, so that the difference value between the adjusted display area of the text information and the first display area is smaller than the first preset threshold value.
It can be seen that, in this application embodiment, electronic equipment at first when detecting the application interface display of current demonstration has the text information, confirms the typeface and the display density of text information, secondly, is detecting the typeface is acquiescent typeface, just when the display density is less than the target and predetermines the density threshold value, acquires the user that prestores and writes by hand typeface resource bank, the collection of the characters of matching user's handwriting custom that user's manual intelligence AI typeface resource bank produced through the artificial intelligence AI typeface model of training in advance, AI typeface model obtains after training through the handwritten typeface data of user input, finally, through user's handwritten typeface resource bank will the typeface of text information switches into user's handwritten typeface. Because electronic equipment can confirm the typeface and the display density of characters in the information according to the literal information of the application interface that shows at present to can be when detecting the typeface of literal information for acquiescence typeface, and the display density is less than and predetermines the density threshold value, acquire the user that prestores and write by hand the typeface resource storehouse, thereby write by hand the typeface resource storehouse through the user and switch the typeface of literal information into user's typeface of writing by default typeface, make the typeface setting more individualized, be favorable to improving user's reading experience.
In addition, after the font of the text information is switched from the default font to the handwritten font of the user, a second display area corresponding to the text information is detected, and when a difference value between the detected second display area and a first display area before the font is switched is larger than a first preset threshold value, the text information is adjusted, so that the display of the text information does not influence the visual experience of the user.
Referring to fig. 4, fig. 4 is a schematic flowchart of a font switching method provided in an embodiment of the present application, and the method is applied to an electronic device, where the electronic device enables multiple wireless communication links, consistent with the embodiments shown in fig. 2 and fig. 3. As shown in the figure, the font switching method includes:
s401, when detecting that the currently displayed application interface displays text information, the electronic equipment determines the font and the display density of the text information.
S402, when the electronic equipment detects that the font is a default font and the display density is smaller than a target preset density threshold value, a pre-stored user handwriting font resource library is obtained, the user handwriting font resource library is a set of characters which are generated through a pre-trained artificial intelligent AI font model and are matched with the handwriting habits of the user, and the AI font model is obtained after being trained through handwriting font data input by the user.
S403, the electronic equipment acquires the historical use record of the application scene corresponding to the application interface.
S404, the electronic equipment determines the number of times of receiving font switching instructions in the application scene according to the historical usage record.
S405, when the electronic equipment detects that the times are larger than a second preset threshold value, the font of the text information is switched to the user handwriting font.
It can be seen that, in this application embodiment, electronic equipment at first when detecting the application interface display of current demonstration has the text information, confirms the typeface and the display density of text information, secondly, is detecting the typeface is acquiescent typeface, just when the display density is less than the target and predetermines the density threshold value, acquires the user that prestores and writes by hand the typeface resource bank, the user writes by hand the collection of the characters of typeface resource bank for the matching user's handwriting custom that artificial intelligence AI typeface model through the pre-training generated, AI typeface model obtains after training through the handwritten typeface data of user input, finally, through the user writes by hand the typeface resource bank will the typeface of text information switches into the user's handwriting typeface. Because electronic equipment can confirm the typeface and the display density of characters in the information according to the literal information of the application interface that shows at present to can be when detecting the typeface of literal information for acquiescence typeface, and the display density is less than and predetermines the density threshold value, acquire the user that prestores and write by hand the typeface resource storehouse, thereby write by hand the typeface resource storehouse through the user and switch the typeface of literal information into user's typeface of writing by default typeface, make the typeface setting more individualized, be favorable to improving user's reading experience.
In addition, the number of times of receiving the font switching instruction is judged in the application scene corresponding to the application interface, and when the number of times exceeds a second preset threshold value, the fact that the user wants to display the character information by using the user handwritten font in the application scene is indicated, so that when the electronic equipment enters the application scene, the font of the character information is directly switched to the user handwritten font, and the fact that the user manually switches the font is omitted.
Consistent with the embodiments shown in fig. 2, fig. 3, and fig. 4, please refer to fig. 5, fig. 5 is a schematic structural diagram of an electronic device 500 provided in the embodiments of the present application, where the electronic device 500 runs one or more application programs and an operating system, as shown in the figure, the electronic device 500 includes a processor 510, a memory 520, a communication interface 530, and one or more programs 521, where the one or more programs 521 are stored in the memory 520 and configured to be executed by the processor 510, and the one or more programs 521 include instructions for performing the following steps;
when detecting that the currently displayed application interface displays text information, determining the font and the display density of the text information;
when the font is detected to be a default font and the display density is smaller than a target preset density threshold value, acquiring a pre-stored user handwritten font resource library, wherein the user handwritten font resource library is a set of characters which are generated through a pre-trained Artificial Intelligence (AI) font model and are matched with the handwriting habits of a user, and the AI font model is obtained after being trained through handwritten font data input by the user;
and switching the font of the character information into the user handwriting font through the user handwriting font resource library.
It can be seen that, in this application embodiment, electronic equipment at first when detecting the application interface display of current demonstration has the text information, confirms the typeface and the display density of text information, secondly, is detecting the typeface is acquiescent typeface, just when the display density is less than the target and predetermines the density threshold value, acquires the user that prestores and writes by hand the typeface resource bank, the user writes by hand the collection of the characters of typeface resource bank for the matching user's handwriting custom that artificial intelligence AI typeface model through the pre-training generated, AI typeface model obtains after training through the handwritten typeface data of user input, finally, through the user writes by hand the typeface resource bank will the typeface of text information switches into the user's handwriting typeface. Because electronic equipment can confirm the typeface and the display density of characters in the information according to the literal information of the application interface that shows at present to can be when detecting the typeface of literal information for acquiescence typeface, and the display density is less than and predetermines the density threshold value, acquire the user that prestores and write by hand the typeface resource storehouse, thereby write by hand the typeface resource storehouse through the user and switch the typeface of literal information into user's typeface of writing by default typeface, make the typeface setting more individualized, be favorable to improving user's reading experience.
In one possible example, in the determining the display density of the text information, the instructions in the program are specifically configured to: determining a first display area and a first character number corresponding to the character information in the application interface; acquiring pre-stored user handwritten font template characters, and selecting target user handwritten font template characters with the display area being the first display area from the user handwritten font template characters, wherein the fonts of the user handwritten font template characters are the user handwritten fonts; determining a second character number corresponding to the target user handwritten font template characters; and determining the display density according to the ratio of the first character number to the second character number.
In one possible example, in the determining the display density of the text information, the instructions in the program are specifically configured to: determining a first distance between characters displayed by the application interface; and determining the display density of the text information according to the first distance.
In one possible example, in the determining the display density of the text information according to the first distance, the instructions in the program are specifically configured to: acquiring pre-stored user handwritten font template characters, and determining a second space between characters in the user handwritten font template characters; determining the display density according to a ratio between the second pitch and the first pitch.
In one possible example, in the aspect that the font of the text information is switched to the handwritten font by the user handwritten font resource library, the instructions in the program are specifically configured to perform the following operations: determining a second display area corresponding to the text information after the font of the text information is switched from the default font to the user handwritten font; when detecting that the difference value between the second display area and the first display area is larger than a first preset threshold value, adjusting the text information of the handwritten font of the user, so that the difference value between the adjusted display area of the text information and the first display area is smaller than the first preset threshold value.
In one possible example, in the aspect that the font of the text information is switched to the handwritten font by the user handwritten font resource library, the instructions in the program are specifically configured to perform the following operations: acquiring a historical use record of an application scene corresponding to the application interface; determining the number of times of receiving font switching instructions in the application scene according to the historical usage record; and when the frequency is detected to be greater than a second preset threshold value, switching the font of the text information into the user handwriting font.
In one possible example, the instructions in the program are specifically for performing the following: when the current application is detected to be a preset application, determining a first preset density threshold value set corresponding to the application; determining an application scene of the application according to the application interface of the application; and searching a mapping relation between a preset application scene and a preset density threshold value, and determining a target preset density threshold value corresponding to the application scene in the first preset density threshold value set.
In one possible example, the instructions in the program are specifically for performing the following: when the electronic equipment is detected to start a handwriting input method, acquiring characters handwritten by a user; and training the characters handwritten by the user through the pre-trained artificial intelligence AI font model to obtain the user handwritten font resource library.
In one possible example, the instructions in the program are specifically for performing the following: shooting a target picture through a camera, wherein the target picture is a shot picture containing characters written by a user through handwriting; extracting characters of the user handwritten fonts from the target pictures, training the characters of the user handwritten fonts through the pre-trained artificial intelligence AI font model, and determining the user handwritten font resource library.
The above embodiments mainly introduce the scheme of the embodiments of the present application from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 6 is a block diagram showing functional units of a font switching apparatus 600 according to an embodiment of the present application. The font switching apparatus 600 is applied to an electronic device, and includes a processing unit 601 and a communication unit 602, wherein,
the processing unit 601 is configured to determine a font and a display density of text information when it is detected that text information is displayed on a currently displayed application interface; and is configured to, when it is detected that the font is a default font and the display density is smaller than a target preset density threshold, obtain, through the communication unit 602, a pre-stored user handwritten font resource library, where the user handwritten font resource library is a set of characters matching a user handwriting habit, generated through a pre-trained artificial intelligence AI font model, and the AI font model is obtained by training handwritten font data input by a user; and the font switching module is used for switching the font of the character information into the user handwritten font through the user handwritten font resource library.
The font switching apparatus 600 may further include a storage unit 603 for storing program codes and data of the electronic device. The processing unit 601 may be a processor, the communication unit 602 may be a touch display screen or a transceiver, and the storage unit 603 may be a memory.
It can be seen that, in this application embodiment, electronic equipment at first when detecting the application interface display of current demonstration has the text information, confirms the typeface and the display density of text information, secondly, is detecting the typeface is acquiescent typeface, just when the display density is less than the target and predetermines the density threshold value, acquires the user that prestores and writes by hand the typeface resource storehouse, the user writes by hand the collection of the characters of typeface resource storehouse for the matching user that artificial intelligence AI typeface model through the pre-training generated custom of writing by hand, AI typeface model obtains after the hand-written typeface data through user input trains, finally, through the user writes by hand the typeface resource storehouse will the typeface of text information switches into the user typeface of writing by hand. Because electronic equipment can confirm the typeface and the display density of characters in the information according to the literal information of the application interface that shows at present to can be when detecting the typeface of literal information for acquiescence typeface, and the display density is less than and predetermines the density threshold value, acquire the user that prestores and write by hand the typeface resource storehouse, thereby write by hand the typeface resource storehouse through the user and switch the typeface of literal information into user's typeface of writing by default typeface, make the typeface setting more individualized, be favorable to improving user's reading experience.
In one possible example, in the aspect of determining the display density of the text information, the processing unit 601 is specifically configured to: determining a first display area and a first character number corresponding to the character information in the application interface; the method comprises the steps of acquiring pre-stored user handwritten font template characters, and selecting target user handwritten font template characters with the display area being the first display area from the user handwritten font template characters, wherein the fonts of the user handwritten font template characters are the user handwritten fonts; and the second character number is used for determining the second character number corresponding to the target user handwritten font template characters; and the display density is determined according to the ratio of the first character number to the second character number.
In one possible example, in the aspect of determining the display density of the text information, the processing unit 601 is specifically configured to: determining a first distance between characters displayed by the application interface; and the display density of the text information is determined according to the first distance.
In one possible example, in the aspect of determining the display density of the text information, the processing unit 601 is specifically configured to: acquiring pre-stored user handwritten font template characters, and determining a second space between characters in the user handwritten font template characters; and for determining the display density in dependence on a ratio between the second pitch and the first pitch.
In one possible example, in terms of switching the font of the text information into a handwritten font through the user handwritten font repository, the processing unit 601 is specifically configured to: determining a second display area corresponding to the text information after the font of the text information is switched from the default font to the user handwritten font; and the display control unit is used for adjusting the text information of the handwritten font of the user when detecting that the difference value between the second display area and the first display area is larger than a first preset threshold value, so that the difference value between the adjusted display area of the text information and the first display area is smaller than the first preset threshold value.
In one possible example, in terms of switching the font of the text information into a handwritten font through the user handwritten font repository, the processing unit 601 is specifically configured to: acquiring a historical use record of an application scene corresponding to the application interface; the number of times of receiving font switching instructions in the application scene is determined according to the historical usage record; and the font switching module is used for switching the font of the text information into the user handwritten font when the times are detected to be larger than a second preset threshold value.
In one possible example, the processing unit 601 is further configured to, when it is detected that the current application is a preset application, determine a first preset density threshold set corresponding to the application; the application scene of the application is determined according to the application interface of the application; and the mapping relation between a preset application scene and a preset density threshold value is searched, and a target preset density threshold value corresponding to the application scene in the first preset density threshold value set is determined.
In a possible example, the processing unit 601 is further specifically configured to, when it is detected that the electronic device enables a handwriting input method, obtain a text handwritten by a user; and the artificial intelligence AI font model is used for training the characters handwritten by the user through the pre-trained artificial intelligence AI font model to obtain the resource library of the handwritten characters of the user.
In one possible example, in the aspect of determining the display density of the text information, the processing unit 601 is further configured to take a target picture through a camera, where the target picture is a taken picture of text containing a user handwritten font; and the artificial intelligence AI font model is used for training the characters of the handwritten fonts of the user and determining the resource library of the handwritten fonts of the user.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (20)

  1. A font switching method is applied to an electronic device, and the method comprises the following steps:
    when detecting that the currently displayed application interface displays text information, determining the font and the display density of the text information;
    when the font is detected to be a default font and the display density is smaller than a target preset density threshold value, acquiring a pre-stored user handwritten font resource library, wherein the user handwritten font resource library is a set of characters which are generated through a pre-trained Artificial Intelligence (AI) font model and are matched with the handwriting habits of a user, and the AI font model is obtained after being trained through handwritten font data input by the user;
    and switching the font of the character information into the user handwriting font through the user handwriting font resource library.
  2. The method of claim 1, wherein determining the display density of the textual information comprises:
    determining a first display area and a first character number corresponding to the character information in the application interface;
    acquiring pre-stored user handwritten font template characters, and selecting target user handwritten font template characters with the display area being the first display area from the user handwritten font template characters, wherein the fonts of the user handwritten font template characters are the user handwritten fonts;
    determining a second character number corresponding to the target user handwritten font template characters;
    and determining the display density according to the ratio of the first character number to the second character number.
  3. The method of claim 1, wherein determining the display density of the textual information comprises:
    determining a first distance between characters displayed by the application interface;
    and determining the display density of the text information according to the first distance.
  4. The method of claim 3, wherein determining the display density of the textual information according to the first spacing comprises:
    acquiring pre-stored user handwritten font template characters, and determining a second space between characters in the user handwritten font template characters;
    determining the display density according to a ratio between the second pitch and the first pitch.
  5. The method according to any one of claims 1-4, wherein said switching the font of the text information into a handwritten font through the user handwritten font resource library comprises:
    determining a second display area corresponding to the text information after the font of the text information is switched from the default font to the user handwritten font;
    when detecting that the difference value between the second display area and the first display area is larger than a first preset threshold value, adjusting the text information of the handwritten font of the user, so that the difference value between the adjusted display area of the text information and the first display area is smaller than the first preset threshold value.
  6. The method according to any one of claims 1-4, wherein said switching the font of the text information into a handwritten font through the user handwritten font resource library comprises:
    acquiring a historical use record of an application scene corresponding to the application interface;
    determining the number of times of receiving font switching instructions in the application scene according to the historical usage record;
    and when the frequency is detected to be greater than a second preset threshold value, switching the font of the text information into the user handwriting font.
  7. The method according to any one of claims 1-6, further comprising:
    when the current application is detected to be a preset application, determining a first preset density threshold value set corresponding to the application;
    determining an application scene of the application according to the application interface of the application;
    and searching a mapping relation between a preset application scene and a preset density threshold value, and determining a target preset density threshold value corresponding to the application scene in the first preset density threshold value set.
  8. The method according to any one of claims 1-7, further comprising:
    when the electronic equipment is detected to start a handwriting input method, acquiring characters handwritten by a user;
    and training the characters handwritten by the user through the pre-trained artificial intelligence AI font model to obtain the user handwritten font resource library.
  9. The method according to any one of claims 1-7, further comprising:
    shooting a target picture through a camera, wherein the target picture is a shot picture containing characters written by a user through handwriting;
    extracting characters of the user handwritten fonts from the target pictures, training the characters of the user handwritten fonts through the pre-trained artificial intelligence AI font model, and determining the user handwritten font resource library.
  10. A font switching apparatus applied to an electronic device, the font switching apparatus comprising a processing unit and a communication unit, wherein,
    the processing unit is used for determining the font and the display density of the text information when the text information is detected to be displayed on the currently displayed application interface; the communication unit is used for acquiring a pre-stored user handwritten font resource library when the font is detected to be a default font and the display density is smaller than a target preset density threshold value, wherein the user handwritten font resource library is a set of characters which are generated through a pre-trained artificial intelligent AI font model and are matched with the handwriting habits of the user, and the AI font model is obtained after being trained through handwritten font data input by the user; and the font switching module is used for switching the font of the character information into the user handwritten font through the user handwritten font resource library.
  11. The font switching apparatus according to claim 10, wherein in said determining the display density of the text information, the processing unit is specifically configured to: determining a first display area and a first character number corresponding to the character information in the application interface; the method comprises the steps of acquiring pre-stored user handwritten font template characters, and selecting target user handwritten font template characters with the display area being the first display area from the user handwritten font template characters, wherein the fonts of the user handwritten font template characters are the user handwritten fonts; and the second character number is used for determining the second character number corresponding to the target user handwritten font template characters; and the display density is determined according to the ratio of the first character number to the second character number.
  12. The font switching apparatus according to claim 10, wherein in said determining the display density of the text information, the processing unit is specifically configured to: determining a first distance between characters displayed by the application interface; and the display density of the text information is determined according to the first distance.
  13. The font switching apparatus according to claim 12, wherein in said determining the display density of the text information, the processing unit is specifically configured to: acquiring pre-stored user handwritten font template characters, and determining a second space between characters in the user handwritten font template characters; and for determining the display density in dependence on a ratio between the second pitch and the first pitch.
  14. The font switching apparatus according to any one of claims 10 to 13, wherein in said switching the font of the text information into a handwritten font through the user handwritten font resource library, the processing unit is specifically configured to: determining a second display area corresponding to the text information after the font of the text information is switched from the default font to the user handwritten font; and the display control unit is used for adjusting the text information of the handwritten font of the user when detecting that the difference value between the second display area and the first display area is larger than a first preset threshold value, so that the difference value between the adjusted display area of the text information and the first display area is smaller than the first preset threshold value.
  15. The font switching apparatus according to any one of claims 10 to 13, wherein in said switching the font of the text information into a handwritten font through the user handwritten font resource library, the processing unit is specifically configured to: acquiring a historical use record of an application scene corresponding to the application interface; the number of times of receiving font switching instructions in the application scene is determined according to the historical usage record; and the font switching module is used for switching the font of the text information into the user handwritten font when the times are detected to be larger than a second preset threshold value.
  16. The font switching apparatus according to any one of claims 10 to 15, wherein the processing unit is further configured to, when detecting that the current application is a preset application, determine a first preset density threshold set corresponding to the application; the application scene of the application is determined according to the application interface of the application; and the mapping relation between a preset application scene and a preset density threshold value is searched, and a target preset density threshold value corresponding to the application scene in the first preset density threshold value set is determined.
  17. The font switching apparatus according to any one of claims 10 to 16, wherein the processing unit is further configured to, when it is detected that the electronic device enables a handwriting input method, obtain a text handwritten by a user; and the artificial intelligence AI font model is used for training the characters handwritten by the user through the pre-trained artificial intelligence AI font model to obtain the resource library of the handwritten characters of the user.
  18. The font switching apparatus according to any one of claims 10 to 16, wherein in said determining the display density of the text information, the processing unit is further configured to take a target picture through a camera, wherein the target picture is a taken picture containing text in a user-handwritten font; and the artificial intelligence AI font model is used for training the characters of the handwritten fonts of the user and determining the resource library of the handwritten fonts of the user.
  19. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-9.
  20. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-9.
CN201880098629.0A 2018-12-19 2018-12-19 Font switching method and related product Active CN112840305B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/122150 WO2020124454A1 (en) 2018-12-19 2018-12-19 Font switching method and related product

Publications (2)

Publication Number Publication Date
CN112840305A true CN112840305A (en) 2021-05-25
CN112840305B CN112840305B (en) 2023-11-28

Family

ID=71102559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880098629.0A Active CN112840305B (en) 2018-12-19 2018-12-19 Font switching method and related product

Country Status (2)

Country Link
CN (1) CN112840305B (en)
WO (1) WO2020124454A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116048363A (en) * 2023-04-03 2023-05-02 成都苏扶软件开发有限公司 Display method, system, equipment and medium of software interface based on artificial intelligence

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111833688A (en) * 2020-07-30 2020-10-27 上海松鼠课堂人工智能科技有限公司 Calligraphy practicing system based on generation of confrontation network

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1508722A (en) * 2002-12-18 2004-06-30 Interantional system and method for automatically measuing string height, character size and character style
US20100299395A1 (en) * 2009-05-22 2010-11-25 Research In Motion Limited Method and device for proportional setting of font attributes
CN103207755A (en) * 2012-01-13 2013-07-17 宇龙计算机通信科技(深圳)有限公司 Terminal and character font changing method
JP2013228856A (en) * 2012-04-25 2013-11-07 Kyocera Document Solutions Inc Display input device and image formation apparatus including the same
CN104238890A (en) * 2014-09-19 2014-12-24 小米科技有限责任公司 Text display method and device
CN105630511A (en) * 2016-02-18 2016-06-01 青岛海信移动通信技术股份有限公司 Font switching method and terminal equipment
CN106250020A (en) * 2016-07-28 2016-12-21 维沃移动通信有限公司 The input of a kind of font and display packing and mobile terminal
US20160379048A1 (en) * 2015-06-26 2016-12-29 Arvind Kumar Substitution of handwritten text with a custom handwritten font
CN107644006A (en) * 2017-09-29 2018-01-30 北京大学 A kind of Chinese script character library automatic generation method based on deep neural network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002229974A (en) * 2001-02-02 2002-08-16 Seiko Epson Corp Switching apparatus and switching method for display font, switching apparatus and switching method for printing font, program and recording medium for the apparatus and methods
CN107229470B (en) * 2017-05-24 2021-01-01 努比亚技术有限公司 System font switching method, mobile terminal and computer readable storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1508722A (en) * 2002-12-18 2004-06-30 Interantional system and method for automatically measuing string height, character size and character style
US20100299395A1 (en) * 2009-05-22 2010-11-25 Research In Motion Limited Method and device for proportional setting of font attributes
CN103207755A (en) * 2012-01-13 2013-07-17 宇龙计算机通信科技(深圳)有限公司 Terminal and character font changing method
JP2013228856A (en) * 2012-04-25 2013-11-07 Kyocera Document Solutions Inc Display input device and image formation apparatus including the same
CN104238890A (en) * 2014-09-19 2014-12-24 小米科技有限责任公司 Text display method and device
US20160379048A1 (en) * 2015-06-26 2016-12-29 Arvind Kumar Substitution of handwritten text with a custom handwritten font
CN105630511A (en) * 2016-02-18 2016-06-01 青岛海信移动通信技术股份有限公司 Font switching method and terminal equipment
CN106250020A (en) * 2016-07-28 2016-12-21 维沃移动通信有限公司 The input of a kind of font and display packing and mobile terminal
CN107644006A (en) * 2017-09-29 2018-01-30 北京大学 A kind of Chinese script character library automatic generation method based on deep neural network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116048363A (en) * 2023-04-03 2023-05-02 成都苏扶软件开发有限公司 Display method, system, equipment and medium of software interface based on artificial intelligence
CN116048363B (en) * 2023-04-03 2023-08-25 数孪模型科技(北京)有限责任公司 Display method, system, equipment and medium of software interface based on artificial intelligence

Also Published As

Publication number Publication date
CN112840305B (en) 2023-11-28
WO2020124454A1 (en) 2020-06-25

Similar Documents

Publication Publication Date Title
EP3751418B1 (en) Resource configuration method and apparatus, terminal, and storage medium
US10181305B2 (en) Method of controlling display and electronic device for providing the same
EP3206110B1 (en) Method of providing handwriting style correction function and electronic device adapted thereto
CN106911943B (en) Video display method and device and storage medium
CN111459586A (en) Remote assistance method, device, storage medium and terminal
CN110177295B (en) Subtitle out-of-range processing method and device and electronic equipment
CN103870799A (en) Character direction judging method and device
CN103886025A (en) Method and device for displaying pictures in webpage
CN112990188A (en) Text recognition method and device
CN111198724A (en) Application program starting method and device, storage medium and terminal
EP4174627A1 (en) Page display method and apparatus, storage medium, and electronic device
CN103544954A (en) Method and device for adding text label to voice message
CN108984339B (en) Data recovery method and related product
CN112840305A (en) Font switching method and related product
CN108491232B (en) Method and system for loading control on voice conversation platform
CN112487871B (en) Handwriting data processing method and device and electronic equipment
CN111400575B (en) User identification generation method, user identification method and device
CN117555459A (en) Application group processing method and device, storage medium and electronic equipment
CN111639158A (en) Learning content display method and electronic equipment
CN103631872A (en) Method for playing multimedia files and electronic terminal
US20210073458A1 (en) Comic data display system, method, and program
CN108989703B (en) Memory video creating method and related device
CN114443022A (en) Method for generating page building block and electronic equipment
CN109151557B (en) Video creation method and related device
CN112840312B (en) Font setting method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant