CN112840305B - Font switching method and related product - Google Patents

Font switching method and related product Download PDF

Info

Publication number
CN112840305B
CN112840305B CN201880098629.0A CN201880098629A CN112840305B CN 112840305 B CN112840305 B CN 112840305B CN 201880098629 A CN201880098629 A CN 201880098629A CN 112840305 B CN112840305 B CN 112840305B
Authority
CN
China
Prior art keywords
font
user
handwriting
text information
characters
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.)
Active
Application number
CN201880098629.0A
Other languages
Chinese (zh)
Other versions
CN112840305A (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

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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A font switching method and related products are applied to electronic equipment, and the method comprises the following steps: determining the font and display density of the text information when the text information is detected to be displayed on the currently displayed application interface (S201); when the fonts are detected to be default fonts and the display density is smaller than a target preset density threshold, a pre-stored user handwriting font resource library is obtained, wherein the user handwriting font resource library is a set of characters which are generated through a pre-trained artificial intelligent AI font model and match with handwriting habits of a user, and the AI font model is obtained after training through handwriting font data input by the user (S202); and switching the font of the text information into the handwriting font of the user through the handwriting font resource library of the user (S203). The method is beneficial to more individualizing font switching.

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 related products.
Background
In the prior art, when a user uses an electronic device, text information in different display interfaces is generally displayed by default fonts, and when some applications are used, fonts can be set, but the selectable fonts are all conventional fonts of the applications, and under some scenes, the user may want to have a handwriting font resource library specific to the user, and the fonts of the display interfaces are switched to the handwriting fonts of the user, so that the font switching is more in line with the reading habit of the user.
Disclosure of Invention
The embodiment of the application provides a font switching method and related products, 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, applied to an electronic device, where the method includes:
when the fact that the text information is displayed on the currently displayed application interface is detected, determining the font and the display density of the text information;
when the fonts are detected to be default fonts and the display density is smaller than a target preset density threshold, a pre-stored user handwriting font resource library is obtained, wherein the user handwriting font resource library is a set of characters which are generated through a pre-trained artificial intelligent AI font model and match with handwriting habits of a user, and the AI font model is obtained after training through handwriting font data input by the user;
and switching the fonts of the text information into the handwriting fonts of the user through the handwriting font resource library of the user.
In a second aspect, an embodiment of the present application provides a font switching device, applied to an electronic apparatus, where the font switching device includes a processing unit and a communication unit, where,
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; when the fonts are detected to be default fonts and the display density is smaller than a target preset density threshold, a pre-stored user handwriting font resource library is obtained through the communication unit, wherein the user handwriting font resource library is a set of characters which are generated through a pre-trained artificial intelligent AI font model and match with handwriting habits of a user, and the AI font model is obtained after training through handwriting font data input by the user; and the font of the text information is switched to the handwriting font of the user through the handwriting font resource library of the user.
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, the programs including instructions for performing steps in any of the methods of the first aspect of the embodiments of the present application.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes a computer to perform part or all of the steps as described in any of the methods of the first aspect of the embodiments of the present application.
In a fifth aspect, embodiments of the present application provide a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps described in any 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 the embodiment of the present application, the electronic device first determines, when it detects that the currently displayed application interface displays text information, a font and a display density of the text information, and then, when it detects that the font is a default font and the display density is less than a target preset density threshold, obtains a pre-stored user handwriting font resource library, where the user handwriting font resource library is a set of text matching a handwriting habit of a user generated by a pre-trained artificial intelligence AI font model, where the AI font model is obtained after training by handwriting font data input by a user, and finally, switches, by the user handwriting font resource library, a font of the text information into the user handwriting font. The electronic equipment can determine the fonts and the display density of the characters in the information according to the text information of the currently displayed application interface, so that when the fonts of the text information are detected to be default fonts and the display density is smaller than a preset density threshold value, a pre-stored user handwriting font resource library is obtained, the fonts of the text information are switched to the user handwriting fonts through the user handwriting font resource library, and the fonts of the text information are switched from the default fonts to the handwriting fonts of the user, so that the font setting is more personalized, and the reading experience of the user is improved.
Drawings
In order to more clearly describe the embodiments of the present application or the technical solutions in the background art, the following description will describe the drawings that are required to be used in the embodiments of the present application or the background art.
FIG. 1A is a schematic diagram of a program run space of a smart phone;
FIG. 1B is a system architecture diagram of an android system;
fig. 2 is a schematic flow chart of a font switching method according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating another font switching method according to an embodiment of the present application;
FIG. 4 is a flowchart illustrating another font switching method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 6 is a functional unit composition block diagram of a font switching device according to an embodiment of the present application.
Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
The following will describe in detail.
The terms "first," "second," "third," and "fourth" and the like in the description and in the claims and drawings are used for distinguishing between different objects and not necessarily for describing a particular sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may 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 may be included in at least one embodiment of the application. The appearances of such phrases 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. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
As shown in fig. 1A, at present, electronic devices such as smart phones and the like 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, where the one or more application programs are third party application programs installed on the electronic device, and a software algorithm corresponding to the resource downloading method described in the embodiment of the present application runs in the user space, and the operating system space runs an operating system of the electronic device.
The electronic device can specifically run an Android system, a mobile operating system iOS developed by apple corporation, and the like, and is not limited only herein. As shown in fig. 1B, taking an example that the electronic device runs with 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 layer (including a system Runtime layer library and an Android Runtime), and a Linux Kernel layer (Linux Kernel). The application layer comprises various application programs which directly interact with a user or service programs which are written by Java language and run in the background. For example, programs of common basic functions implemented on smartphones, such as short message service (Short Messaging Service, SMS) short messages, telephone dialing, picture browser, calendar, games, maps, world Wide Web (Web) browser, and other application programs developed by developers. The application framework layer provides a series of class libraries required for developing the Android application program, can be used for reusing components, and can also realize personalized expansion through inheritance. The system runtime layer is a support for the application framework and provides services for each component in the Android system. The system operation library layer is composed of a system class library and an Android operation time. The Android running time comprises a core library and a Dalvik virtual machine. The Linux kernel layer is used for realizing the core functions of hardware device driving, process and memory management, 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, where the electronic device may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and various types of User Equipment (UE), mobile Station (MS), terminal device (terminal device), and so on.
Embodiments of the present application are described in detail below.
Referring to fig. 2, fig. 2 is a flow chart of a font switching method applied to an electronic device according to an embodiment of the present application. The character switching method comprises the following steps:
s201, when the electronic equipment detects that the text information is displayed on the currently displayed application interface, determining the font and the display density of the text information.
When the electronic equipment uses the unused application interface, different text information is displayed, and the text information can comprise the fonts, the font sizes, the display areas, the display area sizes, the display contents 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 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 is determined, but when the number of displayed text is small, or the size of the font is small, or the display area of the text is remote (the corner area of the screen) or the display area is small, the user can not obviously feel that the font is switched when the font is switched, so that the text information can be further set, and when the text information meets a certain preset condition, the font and display density of the text information are determined.
S202, when the electronic equipment detects that the fonts are default fonts and the display density is smaller than a target preset density threshold, a pre-stored user handwriting font resource library is obtained, wherein the user handwriting font resource library is a set of characters which are generated through a pre-trained artificial intelligent AI font model and match with handwriting habits of a user, and the AI font model is obtained after training through handwriting font data input by the user.
When the electronic device 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, the electronic device can determine that the font of the text information is switched.
The method comprises the steps of obtaining a pre-stored user handwriting font resource library, wherein each type of font corresponds to one font resource library, and the font resource library comprises a specific character image corresponding to each character, namely a character set comprising the type of font. The user handwriting fonts are a set of characters which can be obtained by an artificial intelligence (Artificial Intelligence, AI) model and are matched with the handwriting habit of the user, namely a user handwriting font resource library, generated by the pre-trained artificial intelligence AI font model, so that when the fonts are switched, the corresponding characters can be obtained from the user handwriting font resource library, and the fonts are switched.
The AI font model can be obtained by training handwriting font data input by a user, wherein the handwriting font data input by the user comprises some characters handwritten by the user, and the AI model can obtain rules of the characters handwritten by the user according to some characters handwritten by the user by training the AI model, so that other characters handwritten by the user are obtained, and further a user handwriting font resource library is generated.
S203, the electronic equipment switches the fonts of the text information into the handwriting fonts of the user through the handwriting fonts resource library of the user.
When the font switching operation of the user is detected, or in a preset scene set by the user and needing to be subjected to font switching, the font of the text information can be switched into the handwriting font of the user according to the handwriting font resource library of the user and the text information.
It can be seen that, in the embodiment of the present application, the electronic device first determines, when it detects that the currently displayed application interface displays text information, a font and a display density of the text information, and then, when it detects that the font is a default font and the display density is less than a target preset density threshold, obtains a pre-stored user handwriting font resource library, where the user handwriting font resource library is a set of text matching a handwriting habit of a user generated by a pre-trained artificial intelligence AI font model, where the AI font model is obtained after training by handwriting font data input by a user, and finally, switches, by the user handwriting font resource library, a font of the text information into the user handwriting font. The electronic equipment can determine the fonts and the display density of the characters in the information according to the text information of the currently displayed application interface, so that when the fonts of the text information are detected to be default fonts and the display density is smaller than a preset density threshold value, a pre-stored user handwriting font resource library is obtained, the fonts of the text information are switched to the user handwriting fonts through the user handwriting font resource library, and the fonts of the text information are switched from the default fonts to the handwriting fonts of the user, so that the font setting is more personalized, and the reading experience of the user is improved.
In one possible example, the determining the display density of the text information includes: determining a first display area and a first text number corresponding to the text information in the application interface; acquiring pre-stored user handwriting font template characters, and selecting target user handwriting font template characters with the display area being the first display area from the user handwriting font template characters, wherein the fonts of the user handwriting font template characters are the user handwriting fonts; determining the number of second characters corresponding to the characters of the handwriting font template of the target user; and determining the display density according to the ratio of the first text number to the second text number.
The method comprises the steps of determining a first display area and a first word number of word information displayed by an application interface, wherein the first display area can be the display area of all word information, the first word number corresponds to the number of all words displayed, the first display area can also be the display area of word information of a selected area, and the first word number corresponds to the word number of the display area.
The method comprises the steps of obtaining prestored user handwriting font template characters, wherein the character fonts in the user handwriting font template characters are user handwriting fonts, and the character font sizes are the same as characters in character information. Selecting target user handwriting font template characters with a first display area from the handwriting font template characters, determining a second character number corresponding to the user handwriting font template characters, and determining the display density of the characters in the character information according to the first character number and the second character number.
For example, the text information with the display area being the first display area contains 300 text, and only 200 text in the text of the target user handwriting font template with the display area being the first display area is visible, the text information is detected to have the display density which is 1.5 times of that of the user handwriting font template by taking the text of the user handwriting font template as a standard, and the more text displayed in the text information, the greater the display density of the text information.
In this example, the size of the text font in the handwriting font template of the user is the same as the size of the text font in the text information, and the space between the text is the standard space which is set by the user or the system and suitable for the user to read, so that the ratio between the text number in the text information with the same display area and the text number of the handwriting font template of the user is determined, and the display density of the text information is further determined, which is favorable for determining whether the text information of the current display interface meets the condition of font switching according to the size of the display density.
In one possible example, the determining the display density of the text information includes: determining a first interval between characters displayed by the application interface; and determining the display density of the text information according to the first interval.
In this example, the display density of the text information is determined according to the first distance between the text displayed on the application interface, and in general, the larger the distance is, the smaller the text density is, the larger the text density is, and whether the display density of the text information meets the condition of font switching is determined by the distance, 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 pitch includes: acquiring prestored characters of the user handwriting font template, and determining a second interval between characters in the user handwriting font template; and determining the display density according to the ratio between the second interval and the first interval.
The electronic equipment stores user handwriting font template characters, the user handwriting font template characters comprise user handwriting font characters with the same font size, and the space between the characters can be the space between the characters which are counted by the system according to big data and read by a user, so that the reading fatigue can be reduced.
The method comprises the steps of obtaining prestored user handwriting font template characters, determining a second interval between characters in the user handwriting font template characters, and determining display density according to the ratio between the first interval and the second interval, wherein the font size of the prestored user handwriting font template characters is the same as that of character information. The first pitch and the second pitch may be left-right pitch between characters, or up-down pitch.
In this example, according to the second spacing between characters in the standard handwriting font template characters of the user and the first spacing between the character information displayed by the current application interface, the ratio between the second spacing and the first spacing is determined, when the ratio is larger, the display density of the explanatory character information is larger, and when the ratio is smaller, the display density of the explanatory character information is smaller.
In one possible example, the switching, by the user handwriting font resource library, the font of the text information to a handwriting font 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 handwriting font of the user; when the difference between the second display area and the first display area is detected to be larger than a first preset threshold, the text information of the handwriting font of the user is adjusted, so that the difference between the adjusted display area of the text information and the first display area is smaller than the first preset threshold.
The handwriting fonts of each user are different, the characters of the handwriting fonts of the user are possibly longer, the characters of the handwriting fonts of the user are possibly wider, but after the characters in the character information are switched from the default fonts to the handwriting fonts of the user, the left-right spacing and the up-down spacing between the characters are unchanged, because the character information after the font switching can be caused to correspond to a second display area, when the difference between the second display area and the first display area is detected to be larger than a first preset threshold, the adjusted character information can be adjusted, so that the difference between the display area of the adjusted character information and the first display area is smaller than the first preset threshold.
The adjustment method may be to scale the converted font information to scale the display area from the second display area to the first display area, which is not limited in any way.
In this example, after the font of the text information is switched from the default font to the handwriting font of the user, the second display area corresponding to the text information is detected, and when the difference between the second display area and the first display area before the font is switched is detected to be 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, by the user handwriting font resource library, the font of the text information to a handwriting font includes: acquiring a history use record of an application scene corresponding to the application interface; determining the times of receiving font switching instructions in the application scene according to the historical use record; and when the times are detected to be larger than a second preset threshold value, switching the fonts of the text information into the handwriting fonts of the user.
The electronic device can also acquire a historical usage record of an application scene corresponding to the current application interface, determine the times of received font switching instructions in the application scene according to the historical usage record, and can directly switch the fonts of the text information into handwriting fonts of the user when the times are detected to be greater than a second preset threshold value, so that the user does not need to execute the operation of switching the fonts.
In this example, the number of times of receiving the font switching instruction in the application scene corresponding to the application interface is determined, and when the number of times exceeds the second preset threshold, it is indicated that the user more hopefully uses the handwriting font of the user 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 handwriting font of the user, and the manual font switching of the user is omitted.
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 set corresponding to the application; determining an application scene of the application according to the application interface of the application; 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 that text information displayed by preset applications in a plurality of application scenes can be obtained, so that according to the displayed text information, the text information is trained through an AI font model, a preset density threshold set of the preset applications is obtained, and each preset density threshold in the preset density threshold set corresponds to one application scene.
In this example, in different application scenarios of the same application, the preset density threshold corresponding to each application scenario 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 scenario corresponding to the current interface in the first preset density threshold set is determined, and whether the font switching operation is needed is determined by judging whether the display density of the text information is smaller than the target preset density threshold.
In one possible example, the method further comprises: when the electronic equipment is detected to enable a handwriting input method, acquiring characters handwritten by a user; training the characters handwritten by the user through the pre-trained artificial intelligence AI font model to obtain the handwriting fonts of the user.
In this example, the pre-trained artificial intelligence AI font model may determine the user handwriting font resource library according to the handwriting font data input by the user, for example, when the electronic device is detected to enable the handwriting input method, acquire the text handwritten by the user, may acquire an image of the handwritten text, train the text handwritten by the user through the AI model, and obtain the user handwriting font resource library according to the partial text 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 of handwriting fonts of a user; and extracting the characters of the handwriting fonts of the user from the target picture, training the characters of the handwriting fonts of the user through the pre-trained artificial intelligent AI font model, and determining the handwriting font resource library of the user.
In this example, the user handwriting font resource library can be obtained by acquiring handwriting font data of the user, for example, shooting a target picture including characters of the user handwriting font, extracting the characters of the user handwriting font from the target picture, and training the characters of the user handwriting font through the pre-trained artificial intelligence AI font model.
Referring to fig. 3, fig. 3 is a schematic flow chart of a font switching method according to an embodiment of the present application, which is consistent with the embodiment shown in fig. 2, and is applied to an electronic device. As shown in the figure, the character switching method comprises the following steps:
s301, when the electronic equipment detects that the text information is displayed on the currently displayed application interface, determining the font and the display density of the text information.
S302, when the electronic equipment detects that the fonts are default fonts and the display density is smaller than a target preset density threshold, a pre-stored user handwriting font resource library is obtained, wherein the user handwriting font resource library is a set of characters which are generated through a pre-trained artificial intelligent AI font model and match with handwriting habits of a user, and the AI font model is obtained after training through handwriting font data input by the user.
S303, the electronic equipment determines a second display area corresponding to the text information after the font of the text information is switched from the default font to the handwriting font of the user.
And S304, when the electronic equipment detects that the difference value between the second display area and the first display area is larger than a first preset threshold value, the electronic equipment adjusts the text information of the handwriting 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 the embodiment of the present application, the electronic device first determines, when it detects that the currently displayed application interface displays text information, a font and a display density of the text information, and then, when it detects that the font is a default font and the display density is less than a target preset density threshold, obtains a pre-stored user handwriting font resource library, where the user handwriting font resource library is a set of text matching a handwriting habit of a user generated by a pre-trained artificial intelligence AI font model, where the AI font model is obtained after training by handwriting font data input by a user, and finally, switches, by the user handwriting font resource library, a font of the text information into the user handwriting font. The electronic equipment can determine the fonts and the display density of the characters in the information according to the text information of the currently displayed application interface, so that when the fonts of the text information are detected to be default fonts and the display density is smaller than a preset density threshold value, a pre-stored user handwriting font resource library is obtained, the fonts of the text information are switched to the user handwriting fonts through the user handwriting font resource library, and the fonts of the text information are switched from the default fonts to the handwriting fonts of the user, so that the font setting is more personalized, and the reading experience of the user is improved.
In addition, after the fonts of the text information are switched from the default fonts to the handwriting fonts of the user, the second display area corresponding to the text information is detected, and when the difference between the second display area and the first display area before the font switching is detected to be 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.
In accordance with the embodiments shown in fig. 2 and fig. 3, please refer to fig. 4, and fig. 4 is a schematic flow chart of a font switching method according to an embodiment of the present application, which is applied to an electronic device, wherein the electronic device enables a plurality of wireless communication links. As shown in the figure, the character switching method comprises the following steps:
s401, when the electronic equipment detects that the text information is displayed on the currently displayed application interface, determining the font and the display density of the text information.
S402, when the electronic equipment detects that the fonts are default fonts and the display density is smaller than a target preset density threshold, a pre-stored user handwriting font resource library is obtained, wherein the user handwriting font resource library is a set of characters which are generated through a pre-trained artificial intelligent AI font model and match with handwriting habits of a user, and the AI font model is obtained after training through handwriting font data input by the user.
S403, the electronic equipment acquires a history use record of the application scene corresponding to the application interface.
S404, the electronic equipment determines the times of receiving the font switching instruction in the application scene according to the historical use record.
And S405, when the electronic equipment detects that the times are larger than a second preset threshold value, switching the fonts of the text information into the handwriting fonts of the user.
It can be seen that, in the embodiment of the present application, the electronic device first determines, when it detects that the currently displayed application interface displays text information, a font and a display density of the text information, and then, when it detects that the font is a default font and the display density is less than a target preset density threshold, obtains a pre-stored user handwriting font resource library, where the user handwriting font resource library is a set of text matching a handwriting habit of a user generated by a pre-trained artificial intelligence AI font model, where the AI font model is obtained after training by handwriting font data input by a user, and finally, switches, by the user handwriting font resource library, a font of the text information into the user handwriting font. The electronic equipment can determine the fonts and the display density of the characters in the information according to the text information of the currently displayed application interface, so that when the fonts of the text information are detected to be default fonts and the display density is smaller than a preset density threshold value, a pre-stored user handwriting font resource library is obtained, the fonts of the text information are switched to the user handwriting fonts through the user handwriting font resource library, and the fonts of the text information are switched from the default fonts to the handwriting fonts of the user, so that the font setting is more personalized, and the reading experience of the user is improved.
In addition, through judging the times of receiving the font switching instructions in the application scene corresponding to the application interface, when the times exceed a second preset threshold value, the user is shown to be more hopeful to use the handwriting fonts of the user to display the text information in the application scene, so that when the electronic equipment enters the application scene, the fonts of the text information are directly switched into the handwriting fonts of the user, and the manual font switching of the user is omitted.
Referring to fig. 5, in accordance with the embodiments shown in fig. 2, 3, and 4, fig. 5 is a schematic structural diagram of an electronic device 500 according to an embodiment of the present application, where the electronic device 500 runs one or more application programs and an operating system, and as shown, 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 the fact that the text information is displayed on the currently displayed application interface is detected, determining the font and the display density of the text information;
When the fonts are detected to be default fonts and the display density is smaller than a target preset density threshold, a pre-stored user handwriting font resource library is obtained, wherein the user handwriting font resource library is a set of characters which are generated through a pre-trained artificial intelligent AI font model and match with handwriting habits of a user, and the AI font model is obtained after training through handwriting font data input by the user;
and switching the fonts of the text information into the handwriting fonts of the user through the handwriting font resource library of the user.
It can be seen that, in the embodiment of the present application, the electronic device first determines, when it detects that the currently displayed application interface displays text information, a font and a display density of the text information, and then, when it detects that the font is a default font and the display density is less than a target preset density threshold, obtains a pre-stored user handwriting font resource library, where the user handwriting font resource library is a set of text matching a handwriting habit of a user generated by a pre-trained artificial intelligence AI font model, where the AI font model is obtained after training by handwriting font data input by a user, and finally, switches, by the user handwriting font resource library, a font of the text information into the user handwriting font. The electronic equipment can determine the fonts and the display density of the characters in the information according to the text information of the currently displayed application interface, so that when the fonts of the text information are detected to be default fonts and the display density is smaller than a preset density threshold value, a pre-stored user handwriting font resource library is obtained, the fonts of the text information are switched to the user handwriting fonts through the user handwriting font resource library, and the fonts of the text information are switched from the default fonts to the handwriting fonts of the user, so that the font setting is more personalized, and the reading experience of the user is improved.
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 text number corresponding to the text information in the application interface; acquiring pre-stored user handwriting font template characters, and selecting target user handwriting font template characters with the display area being the first display area from the user handwriting font template characters, wherein the fonts of the user handwriting font template characters are the user handwriting fonts; determining the number of second characters corresponding to the characters of the handwriting font template of the target user; and determining the display density according to the ratio of the first text number to the second text 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 interval between characters displayed by the application interface; and determining the display density of the text information according to the first interval.
In one possible example, in the aspect of determining the display density of the text information according to the first pitch, the instructions in the program are specifically configured to: acquiring prestored characters of the user handwriting font template, and determining a second interval between characters in the user handwriting font template; and determining the display density according to the ratio between the second interval and the first interval.
In one possible example, in the aspect of switching the font of the text information to a handwriting font through the handwriting font resource library of the user, the instructions in the program are 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 handwriting font of the user; when the difference between the second display area and the first display area is detected to be larger than a first preset threshold, the text information of the handwriting font of the user is adjusted, so that the difference between the adjusted display area of the text information and the first display area is smaller than the first preset threshold.
In one possible example, in the aspect of switching the font of the text information to a handwriting font through the handwriting font resource library of the user, the instructions in the program are specifically configured to: acquiring a history use record of an application scene corresponding to the application interface; determining the times of receiving font switching instructions in the application scene according to the historical use record; and when the times are detected to be larger than a second preset threshold value, switching the fonts of the text information into the handwriting fonts of the user.
In one possible example, the instructions in the program are specifically for performing the following operations: when the current application is detected to be a preset application, determining a first preset density threshold set corresponding to the application; determining an application scene of the application according to the application interface of the application; 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 operations: when the electronic equipment is detected to enable a handwriting input method, acquiring characters handwritten by a user; training the characters handwritten by the user through the pre-trained artificial intelligent AI font model to obtain the handwriting font resource library of the user.
In one possible example, the instructions in the program are specifically for performing the following operations: shooting a target picture through a camera, wherein the target picture is a shot picture containing characters of handwriting fonts of a user; and extracting the characters of the handwriting fonts of the user from the target picture, training the characters of the handwriting fonts of the user through the pre-trained artificial intelligent AI font model, and determining the handwriting font resource library of the user.
The foregoing embodiments mainly describe the solution of the embodiment of the present application from the point of view of the method-side execution process. It will be appreciated that the electronic device, in order to achieve the above-described functions, includes corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will 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 implemented as hardware or computer software driven 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.
According to the embodiment of the application, the electronic equipment can be divided into the functional units according to the method examples, for example, each functional unit can be divided corresponding to each function, and two or more functions can be integrated into one processing unit. The integrated units may be implemented in hardware or in software functional units. It should be noted that, in the embodiment of the present application, the division of the units is schematic, which is merely a logic function division, and other division manners may be implemented in actual practice.
Fig. 6 is a functional block diagram of a font switching device 600 according to an embodiment of the present application. The font switching device 600 is applied to an electronic apparatus, and comprises 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 the currently displayed application interface displays text information; and when the fonts are detected to be default fonts and the display density is smaller than a target preset density threshold, acquiring a pre-stored user handwriting font resource library through the communication unit 602, wherein the user handwriting font resource library is a set of characters which are generated through a pre-trained artificial intelligent AI font model and match the handwriting habit of the user, and the AI font model is obtained after training through handwriting font data input by the user; and the font of the text information is switched to the handwriting font of the user through the handwriting font resource library of the user.
The font switching device 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 the embodiment of the present application, the electronic device first determines, when it detects that the currently displayed application interface displays text information, a font and a display density of the text information, and then, when it detects that the font is a default font and the display density is less than a target preset density threshold, obtains a pre-stored user handwriting font resource library, where the user handwriting font resource library is a set of text matching a handwriting habit of a user generated by a pre-trained artificial intelligence AI font model, where the AI font model is obtained after training by handwriting font data input by a user, and finally, switches, by the user handwriting font resource library, a font of the text information into the user handwriting font. The electronic equipment can determine the fonts and the display density of the characters in the information according to the text information of the currently displayed application interface, so that when the fonts of the text information are detected to be default fonts and the display density is smaller than a preset density threshold value, a pre-stored user handwriting font resource library is obtained, the fonts of the text information are switched to the user handwriting fonts through the user handwriting font resource library, and the fonts of the text information are switched from the default fonts to the handwriting fonts of the user, so that the font setting is more personalized, and the reading experience of the user is improved.
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 text number corresponding to the text information in the application interface; the method comprises the steps of obtaining pre-stored user handwriting font template characters, and selecting target user handwriting font template characters with the display area being the first display area from the user handwriting font template characters, wherein the fonts of the user handwriting font template characters are the user handwriting fonts; and determining a second text number corresponding to the text of the template of the handwriting font of the target user; and determining the display density according to the ratio of the first text number to the second text 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 interval between characters displayed by the application interface; and the display density of the text information is determined according to the first interval.
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 prestored characters of the user handwriting font template, and determining a second interval between characters in the user handwriting font template; and 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 a handwriting font through the handwriting font resource library of the user, 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 handwriting font of the user; and when the difference between the second display area and the first display area is detected to be larger than a first preset threshold, the text information of the handwriting font of the user is adjusted, so that the difference between the adjusted display area of the text information and the first display area is smaller than the first preset threshold.
In one possible example, in the aspect that the font of the text information is switched to a handwriting font through the handwriting font resource library of the user, the processing unit 601 is specifically configured to: acquiring a history use record of an application scene corresponding to the application interface; the number of times of receiving the font switching instruction in the application scene is determined according to the historical use record; and switching the font of the text information to the handwriting font of the user when the times are detected to be larger than a second preset threshold value.
In a possible example, the processing unit 601 is further configured to determine, when detecting that the current application is a preset application, 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 the preset application scene and the preset density threshold is searched, and a target preset density threshold corresponding to the application scene in the first preset density threshold set is determined.
In a possible example, the processing unit 601 is specifically further configured to obtain text handwritten by a user when it is detected that the electronic device enables a handwriting input method; and training the characters handwritten by the user through the pre-trained artificial intelligent AI font model to obtain the handwriting font resource library 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 including text of a handwriting font of the user; and the user handwriting font resource library is determined by training the characters of the user handwriting fonts through the pre-trained artificial intelligent AI font model.
The embodiment of the application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program makes a computer execute part or all of the steps of any one of 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 part or all of the steps of any one of the methods described in the method embodiments above. The computer program product may be a software installation package, said computer comprising an electronic device.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present application is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, such as the above-described division of units, merely a division of logic functions, and there may be additional manners of dividing in actual implementation, such as multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, or may be in electrical or other forms.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units described above, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a memory, comprising several instructions for causing a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the above-mentioned method of the various embodiments of the present application. And the aforementioned memory includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Those of ordinary skill in the art will appreciate that all or a portion of the steps in the various methods of the above embodiments may be implemented by a program that instructs associated hardware, and the program may be stored in a computer readable memory, which may include: flash disk, read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
The foregoing has outlined rather broadly the more detailed description of embodiments of the application, wherein the principles and embodiments of the application are explained in detail using specific examples, the above examples being provided solely to facilitate the understanding of the method and core concepts of the application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (18)

1. A font switching method, applied to an electronic device, the method comprising:
when the fact that the text information is displayed on the currently displayed application interface is detected, determining the font and the display density of the text information;
When the fonts are detected to be default fonts and the display density is smaller than a target preset density threshold, a pre-stored user handwriting font resource library is obtained, wherein the user handwriting font resource library is a set of characters which are generated through a pre-trained artificial intelligent AI font model and match with handwriting habits of a user, the AI font model is obtained after training through handwriting font data input by the user, the display density is determined by the ratio of the number of characters displayed by the character information under a first display area to the number of characters displayed by a user handwriting font template character under the first display area, or the display density is determined by the ratio of the spacing of the character information to the spacing of the user handwriting font template character;
and switching the fonts of the text information into the handwriting fonts of the user through the handwriting font resource library of the user.
2. The method of claim 1, wherein said determining a display density of said text information comprises:
determining the first display area and the first text number corresponding to the text information in the application interface;
acquiring prestored user handwriting font template characters, and selecting target user handwriting font template characters with the display area being the first display area from the user handwriting font template characters, wherein the fonts of the user handwriting font template characters are the user handwriting fonts;
Determining the number of second characters corresponding to the characters of the handwriting font template of the target user;
and determining the display density according to the ratio of the first text number to the second text number.
3. The method of claim 1, wherein said determining a display density of said text information comprises:
determining a first interval between characters displayed by the application interface;
acquiring prestored characters of the user handwriting font template, and determining a second interval between characters in the user handwriting font template;
and determining the display density according to the ratio between the second interval and the first interval.
4. A method according to any of claims 1-3, wherein said switching the font of said text information to a handwritten font by said user handwriting font repository 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 handwriting font of the user;
when the difference between the second display area and the first display area is detected to be larger than a first preset threshold, the text information of the handwriting font of the user is adjusted, so that the difference between the adjusted display area of the text information and the first display area is smaller than the first preset threshold.
5. A method according to any of claims 1-3, wherein said switching the font of said text information to a handwritten font by said user handwriting font repository comprises:
acquiring a history use record of an application scene corresponding to the application interface;
determining the times of receiving font switching instructions in the application scene according to the historical use record;
and when the times are detected to be larger than a second preset threshold value, switching the fonts of the text information into the handwriting fonts of the user.
6. The method according to claim 1, wherein the method further comprises:
when the current application is detected to be a preset application, determining a first preset density threshold set corresponding to the application;
determining an application scene of the application according to the application interface of the application;
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.
7. The method according to claim 1, wherein the method further comprises:
when the electronic equipment is detected to enable a handwriting input method, acquiring characters handwritten by a user;
Training the characters handwritten by the user through the pre-trained artificial intelligent AI font model to obtain the handwriting font resource library of the user.
8. The method according to claim 1, wherein the method further comprises:
shooting a target picture through a camera, wherein the target picture is a shot picture containing characters of handwriting fonts of a user;
and extracting the characters of the handwriting fonts of the user from the target picture, training the characters of the handwriting fonts of the user through the pre-trained artificial intelligent AI font model, and determining the handwriting font resource library of the user.
9. A font switching device is characterized by being applied to an electronic device, and comprises 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; when the fonts are detected to be default fonts and the display density is smaller than a target preset density threshold, a pre-stored user handwriting font resource library is obtained through the communication unit, wherein the user handwriting font resource library is a set of characters matched with handwriting habits of a user and generated through a pre-trained artificial intelligent AI font model, the AI font model is obtained after training through handwriting font data input by the user, the display density is determined by the ratio of the number of characters displayed by the character information under a first display area to the number of characters displayed by a user handwriting font template character under the first display area, or the display density is determined by the ratio of the spacing of the character information to the spacing of the user handwriting font template character; and the font of the text information is switched to the handwriting font of the user through the handwriting font resource library of the user.
10. The font switching device according to claim 9, wherein in the determining of the display density of the text information, the processing unit is specifically configured to: determining the first display area and the first text number corresponding to the text information in the application interface; the method comprises the steps of obtaining pre-stored user handwriting font template characters, and selecting target user handwriting font template characters with the display area being the first display area from the user handwriting font template characters, wherein the fonts of the user handwriting font template characters are the user handwriting fonts; and determining a second text number corresponding to the text of the template of the handwriting font of the target user; and determining the display density according to the ratio of the first text number to the second text number.
11. The font switching device according to claim 9, wherein in the determining of the display density of the text information, the processing unit is specifically configured to: determining a first interval between characters displayed by the application interface;
acquiring prestored characters of the user handwriting font template, and determining a second interval between characters in the user handwriting font template; and determining the display density according to a ratio between the second pitch and the first pitch.
12. The font switching device according to any of the claims 9-11, wherein the processing unit is specifically configured to, in terms of said switching of the font of the text information to a handwritten font by means of the user handwriting font repository: 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 handwriting font of the user; and when the difference between the second display area and the first display area is detected to be larger than a first preset threshold, the text information of the handwriting font of the user is adjusted, so that the difference between the adjusted display area of the text information and the first display area is smaller than the first preset threshold.
13. The font switching device according to any of the claims 9-11, wherein the processing unit is specifically configured to, in terms of said switching of the font of the text information to a handwritten font by means of the user handwriting font repository: acquiring a history use record of an application scene corresponding to the application interface; the number of times of receiving the font switching instruction in the application scene is determined according to the historical use record; and switching the font of the text information to the handwriting font of the user when the times are detected to be larger than a second preset threshold value.
14. The font switching device according to claim 9, wherein the processing unit is further configured to determine, when detecting that the current application is a preset application, 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 the preset application scene and the preset density threshold is searched, and a target preset density threshold corresponding to the application scene in the first preset density threshold set is determined.
15. The font switching device according to claim 9, wherein the processing unit is further specifically configured to obtain a text handwritten by a user when the electronic device is detected to enable a handwriting input method; and training the characters handwritten by the user through the pre-trained artificial intelligent AI font model to obtain the handwriting font resource library of the user.
16. The font switching device according to claim 9, wherein in the determining of the display density of the text information, the processing unit is further configured to take a target picture by a camera, the target picture being a taken picture of text containing a handwriting font of the user; and the user handwriting font resource library is determined by training the characters of the user handwriting fonts through the pre-trained artificial intelligent AI font model.
17. 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-8.
18. 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-8.
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 CN112840305A (en) 2021-05-25
CN112840305B true 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)

Families Citing this family (2)

* 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
CN116048363B (en) * 2023-04-03 2023-08-25 数孪模型科技(北京)有限责任公司 Display method, system, equipment and medium of software interface based on artificial intelligence

Citations (7)

* 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
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
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 (4)

* 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
US8543914B2 (en) * 2009-05-22 2013-09-24 Blackberry Limited Method and device for proportional setting of font attributes
US9633255B2 (en) * 2015-06-26 2017-04-25 Intel Corporation Substitution of handwritten text with a custom handwritten font
CN107229470B (en) * 2017-05-24 2021-01-01 努比亚技术有限公司 System font switching method, mobile terminal and computer readable storage medium

Patent Citations (7)

* 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
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
CN107644006A (en) * 2017-09-29 2018-01-30 北京大学 A kind of Chinese script character library automatic generation method based on deep neural network

Also Published As

Publication number Publication date
WO2020124454A1 (en) 2020-06-25
CN112840305A (en) 2021-05-25

Similar Documents

Publication Publication Date Title
CN109725975B (en) Method and device for prompting read state of message and electronic equipment
CN110852332B (en) Training sample generation method and device, storage medium and electronic equipment
CN105447204A (en) Website recognition method and apparatus
CN109901881B (en) Plug-in loading method and device of application program, computer equipment and storage medium
EP3242447A1 (en) Information recommendation management method, device and system
CN108921918B (en) Video creation method and related device
CN111459586A (en) Remote assistance method, device, storage medium and terminal
CN103544954A (en) Method and device for adding text label to voice message
CN112840305B (en) Font switching method and related product
CN105376719A (en) Information pushing method and device
CN109542878B (en) List creation method and device
CN108737655B (en) Picture processing method and related device
CN108762983B (en) Multimedia data recovery method and device
CN108921530B (en) Information judgment method and device, storage medium and terminal
CN108037839B (en) Character input method and related product
CN107968799B (en) Information acquisition method, terminal equipment and system
CN107888772B (en) Method, device and storage medium for determining configuration information
CN106302821B (en) Data request method and equipment thereof
CN107679205B (en) Multimedia data playing method and device, computer equipment and storage medium
CN108920591A (en) Recall video creation method and relevant apparatus
CN113141530B (en) Remote control interaction based method and device, electronic equipment and storage medium
EP4021117A1 (en) Transmission bandwidth determination method and device
CN109151557B (en) Video creation method and related device
CN112071313A (en) Voice broadcasting method and device, electronic equipment and medium
CN109782925B (en) Processing method and device and electronic equipment

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