Font editing method and device, equipment and storage medium

By providing adjustment controls and font preview components in the font editing interface, users can flexibly edit and enrich text styles, solving the problem of inflexible editing of text styles in the existing technology, and achieving higher text presentation and expression capabilities.

CN119862853APending Publication Date: 2025-04-22BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510045609.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-10
Publication Date
2025-04-22

AI Technical Summary

Technical Problem

It is difficult for the existing technology to effectively edit and enrich text styles, resulting in insufficient text presentation effect and expression hierarchy.

Method used

By presenting a font editing interface, including adjustment controls and font preview components, users can adjust font styles based on preset properties and preview and update characters' font styles in real time.

Benefits of technology

It realizes flexible editing and enriching text styles, improves the readability and aesthetics of text, and enhances the sense of layering and expressiveness of text expression.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119862853A_ABST
    Figure CN119862853A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to a font editing method and device, equipment and a storage medium. The method comprises the steps that a font editing interface is presented, the font editing interface comprises a first set of adjustment controls and a font preview assembly, and the first set of adjustment controls correspond to a set of preset attributes of font styles; in the font preview component, presenting at least one character based on the first font style; determining a second font style based on a first configuration operation associated with the first set of adjustment controls; and updating at least one character in the font preview component into the second font style. In this way, according to the embodiment of the invention, font editing can be carried out more efficiently.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to a method, apparatus, device, and computer-readable storage medium for editing fonts. Background Art

[0002] With the rapid development of the Internet, people have higher and higher requirements for text presentation and text style editing, and font editing technology has flourished. Font editing technology not only improves the readability and aesthetics of text, but also greatly enriches the layering and expressiveness of text expression, bringing more font style options to advertising design, publishing and printing, web page production and other fields. Summary of the invention

[0003] In a first aspect of the present disclosure, a method for editing a font is provided. The method comprises: presenting a font editing interface, the font editing interface comprising a first set of adjustment controls and a font preview component, the first set of adjustment controls corresponding to a set of preset attributes of a font style; presenting at least one character based on a first font style in the font preview component; determining a second font style based on a first configuration operation associated with the first set of adjustment controls; and updating the at least one character in the font preview component to the second font style.

[0004] In a second aspect of the present disclosure, a device for editing fonts is provided. The device comprises: a first rendering module configured to render a font editing interface, the font editing interface comprising a first set of adjustment controls and a font preview component, the first set of adjustment controls corresponding to a set of preset attributes of a font style; a second rendering module configured to render at least one character based on a first font style in the font preview component; a first determination module configured to determine a second font style based on a first configuration operation associated with the first set of adjustment controls; and a first update module configured to update the at least one character in the font preview component to the second font style.

[0005] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the device executes the method of the first aspect.

[0006] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect.

[0007] It should be understood that the contents described in this content section are not intended to limit the key features or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:

[0009] Figure 1 A schematic diagram showing an example environment in which embodiments according to the present disclosure may be implemented;

[0010] FIG. 2A to FIG. 2H shows an example interface according to some embodiments of the present disclosure;

[0011] Figure 3 A flowchart illustrating an example process of editing a font according to some embodiments of the present disclosure;

[0012] Figure 4 A schematic structural block diagram showing an example apparatus for editing fonts according to some embodiments of the present disclosure; and

[0013] Figure 5 A block diagram of an electronic device capable of implementing various embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0014] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0015] It should be noted that the titles of any sections / subsections provided herein are not restrictive. Various embodiments are described throughout this article, and any type of embodiment may be included under any section / subsection. In addition, the embodiments described in any section / subsection may be combined in any manner with any other embodiments described in the same section / subsection and / or different sections / subsections.

[0016] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may be included below. The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may be included below.

[0017] The embodiments of the present disclosure may involve user data, data acquisition and / or use, etc. These aspects are subject to the corresponding laws, regulations and relevant provisions. In the embodiments of the present disclosure, all data collection, acquisition, processing, processing, forwarding, use, etc. are carried out on the premise that the user knows and confirms. Accordingly, when implementing each embodiment of the present disclosure, the type, scope of use, usage scenario, etc. of the data or information that may be involved should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with the relevant laws and regulations. The specific notification and / or authorization method can vary according to the actual situation and application scenario, and the scope of the present disclosure is not limited in this respect.

[0018] In this specification and the embodiments, if personal information processing is involved, it will be processed on the premise of having a legal basis (such as obtaining the consent of the subject of personal information, or it is necessary to perform a contract, etc.), and will only be processed within the scope of regulations or agreements. If a user refuses to process personal information other than the necessary information for basic functions, it will not affect the user's use of basic functions.

[0019] As mentioned above, with the rapid development of the Internet, people have higher and higher requirements for text presentation effects, and the demand for text style editing is also increasing, so font editing technology has flourished. Font editing technology not only improves the readability and aesthetics of text, but also greatly enriches the layering and expressiveness of text expression, bringing more font style options to advertising design, publishing and printing, web page production and other fields.

[0020] The embodiment of the present disclosure proposes a solution for editing fonts. The solution includes: presenting a font editing interface, the font editing interface including a first group of adjustment controls and a font preview component, the first group of adjustment controls corresponding to a set of preset attributes of a font style; in the font preview component, presenting at least one character based on the first font style; determining a second font style based on a first configuration operation associated with the first group of adjustment controls; and updating the at least one character in the font preview component to the second font style.

[0021] In this way, the disclosed example can support the electronic device 110 to adjust the font style of at least one character through the user's configuration operation, thereby effectively enriching the font style library and improving the editing efficiency of the font style.

[0022] Various example implementations of the solution are described in detail below in conjunction with the accompanying drawings.

[0023] Example Environment

[0024] Figure 1 1 is a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. Figure 1 As shown, example environment 100 may include electronic device 110 .

[0025] In this example environment 100, the electronic device 110 may run an application 120 that supports editing fonts. The application 120 may be any suitable type of application for editing fonts, examples of which may include, but are not limited to, design applications, drawing applications, text editing applications, or other suitable applications. The user 140 may interact with the application 120 via the electronic device 110 and / or its attached devices.

[0026] exist Figure 1 In the environment 100 , if the application 120 is active, the electronic device 110 may present an interface 150 for supporting font editing through the application 120 .

[0027] In some embodiments, the electronic device 110 communicates with the server 130 to provide services for the application 120. The electronic device 110 can be any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a handheld computer, a portable game terminal, a VR / AR device, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio receiver, an e-book device, a game device, or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. In some embodiments, the electronic device 110 can also support any type of interface for the user (such as a "wearable" circuit, etc.).

[0028] The server 130 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and big data and artificial intelligence platforms. The server 130 may include, for example, a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, etc. The server 130 may provide background services for the application 120 that supports font editing in the electronic device 110.

[0029] A communication connection may be established between the server 130 and the electronic device 110. The communication connection may be established in a wired manner or a wireless manner. The communication connection may include, but is not limited to, a Bluetooth connection, a mobile network connection, a Universal Serial Bus (USB) connection, a Wireless Fidelity (WiFi) connection, etc., and the embodiments of the present disclosure are not limited in this respect. In the embodiments of the present disclosure, the server 130 and the electronic device 110 may implement signaling interaction through the communication connection between the two.

[0030] It should be understood that the structure and function of the various elements in the environment 100 are described for exemplary purposes only and do not imply any limitation on the scope of the present disclosure.

[0031] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.

[0032] Example Interaction 1

[0033] FIG. 2A to FIG. 2H 200A to 200H according to some embodiments of the present disclosure. The interfaces 200A to 200H may be composed of, for example, Figure 1 The electronic device 110 is provided as shown.

[0034] In some embodiments, the electronic device 110 may provide a font editing interface to the user, and the font editing interface may be used to edit the font style of the character. Specifically, the electronic device 110 presents the font editing interface, and the font editing interface includes a first group of adjustment controls and a font preview control, and the first group of adjustment controls corresponds to a set of preset attributes of the font style.

[0035] As an example, Figure 2A After receiving the font editing request, the electronic device 110 may present the following Figure 2AInterface 200A shown. Interface 200A can be, for example, a font editing interface provided by the electronic device 110 to the user, and the font editing interface can be used to adjust the style of the font. Interface 200A includes a first group of adjustment controls 201 and a font preview control 202. The first group of adjustment controls 201 includes a plurality of components for adjusting the attributes of the font style, and the attributes of the font style include basic attributes and high-order attributes. Basic attributes can include, for example, the width, height, and weight of the font, and high-order attributes can include, for example, the smoothness, curvature, and stroke misalignment of the font. Font preview control 202 is used to present a visual representation of a character. For example, the electronic device 110 can use style 1 to present characters in font preview control 202.

[0036] In some embodiments, the electronic device 110 may present characters in the font preview component in a first font style. Specifically, the electronic device 110 presents at least one character in the font preview component based on the first font style. The first font style here may be, for example, a default font style of the electronic device 110.

[0037] As an example, Figure 2A As shown, the electronic device 110 can present the target character 203 in the font preview component 202 in a 20% bold style. The target character 20 can be, for example, the character “cap”.

[0038] In some embodiments, the electronic device 110 may also present multiple characters in the font preview control 202 in a style selected by the user. Specifically, the electronic device 110 may present a set of reference font styles. Further, the electronic device 110 may receive a selection of a first style in a set of reference font styles. As an example, after receiving a font editing request, the electronic device 110 may present a font selection window in the interface 200A to determine an initial font for presenting the target character 203. When the electronic device 110 receives the font style selected by the user in the font selection window, the target character 203 may be presented in the selected font style. In this way, the electronic device 110 may present the target character 203 in the font preview control 202 in the font style selected by the user, so that the user can edit the font style of the target character 203 based on the selected font style. Thus, the embodiments of the present disclosure can effectively improve the editing efficiency of the font style.

[0039] In some embodiments, the electronic device 110 may receive a first configuration operation for adjusting the font style of the target character 203 through the first group of adjustment controls 201, and adjust the font style of the target character 203 based on the first configuration operation. Specifically, the electronic device 110 determines the second font style based on the first configuration operation associated with the first group of adjustment controls.

[0040] As an example, Figure 2A As shown, the electronic device 110 may receive a first configuration operation associated with a user through the first group of adjustment controls 201. Such a configuration operation may be, for example, an interactive operation on any parameter adjustment control in the first group of adjustment controls 201, for example, a sliding operation on the parameter adjustment control 204. After the electronic device 110 receives the first configuration operation, the electronic device 110 may determine a second font style based on the first configuration operation, and the second font style may be, for example, presenting the target character 203 with a width A and a height B.

[0041] In some embodiments, the electronic device 110 may adjust the font style of all characters based on the first configuration operation. Specifically, the electronic device 110 may determine a global style applied to all characters based on the first configuration operation. Further, the electronic device 110 may determine a second font style based on the global style. As an example, when the electronic device 110 receives the first configuration operation, it may generate a global style based on the first configuration operation by default. The global style may act on all characters in the font preview component 202, i.e., "c", "a", and "p" in the target character 203.

[0042] In some embodiments, the electronic device 110 can also adjust the font style of a separate character. Specifically, the electronic device 110 can determine the local style applied to the specified second character based on the first configuration operation. Further, the electronic device 110 can determine the second font style based on the local style. When adjusting the font style of a separate character, the electronic device 110 can also provide a character selection control in the font editing interface, and determine the second character (i.e., the single character to be adjusted) based on the input information of the character selection control.

[0043] As an example, Figure 2A As shown, the electronic device 110 can determine the single character to be adjusted (i.e., the second character) through the character lock control 205. The single character to be adjusted can be any character in the target characters 203, such as the character "a" in the target characters 203. After determining that the character "a" is the single character to be adjusted, the electronic device 110 can generate a second font style for the character "a" based on the first configuration operation to adjust the font style of the character "a" separately.

[0044] In some embodiments, the electronic device 110 can update the current first style of the target character 203 to the second font style. Specifically, the electronic device 110 updates at least one character in the font preview component to the second font style.

[0045] As an example, Figures 2A to 2BAs shown, the electronic device 110 can adjust the overall style of the target character 203. Specifically, after determining the second font style, the electronic device 110 can adjust the initial style (ie, the first style) of the target character 203 to Figure 2B Bold style shown.

[0046] Additionally or alternatively, the electronic device 110 may not only adjust the width of the target character 203 based on the second font style, but may also adjust the height of the target character 203. Figures 2B to 2D As shown, the electronic device 110 may provide a control 206 to the user, and the control 206 is used to trigger the switching of the first group of parameter adjustment components in the first group of adjustment controls 201. When the control 206 is selected, the electronic device 110 may switch the first group of parameter adjustment components in the first group of adjustment controls 201 to Figure 2C The second group of parameter adjustment controls shown. The second group of parameter adjustment controls can be associated with the height attribute of the target character 203, that is, the second group of parameter adjustment controls are used to adjust the height attribute of the target character 203. The second group of parameter adjustment controls includes a height adjustment panel 207, and the height adjustment panel 207 includes multiple height baselines, and the multiple height baselines correspond to different parts of the character. The user can adjust the height attribute of the target character 203 by adjusting any height baseline in the height adjustment panel 207. The height attribute of the target character 203 can be adjusted by adjusting the height baseline. Such an interactive method can make it easier for the user to adjust the font style, thereby further increasing the adjustment efficiency of the font style.

[0047] After the electronic device 110 determines the second font style for adjusting the height attribute of the target character 203 through the second set of parameter adjustment controls, the height attribute of the target character 203 can be adjusted based on the second font style to present the height attribute of the target character 203 in the font preview component 202 as follows: Figure 2D The target character 203 is shown.

[0048] Additionally or alternatively, the electronic device 110 may also receive a user selection for other controls for switching parameter adjustment components, and switch the parameter adjustment components in the first group of adjustment controls 201 to parameter adjustment components associated with other attributes in the font to adjust other attributes of the font.

[0049] In some scenarios, the electronic device 110 may also adjust the font style of a single character. Figure 2EAs shown, the electronic device 110 can present a character lock control 205 in the interface 200E. The electronic device 110 can receive at least one character input by the user through the character lock control 205 to determine the character that needs to be adjusted. Alternatively, when the character lock control 205 is selected, the electronic device 110 can present a character selection panel in the interface 200E, and such a character selection panel can be associated with multiple characters in the font preview component 202, for example. The characters to be selected in the character selection panel can include, for example, "c", "a" and "p". The electronic device 110 can obtain at least one character to be adjusted through the character selection panel.

[0050] When the character “a” is determined as the character to be adjusted, the electronic device 110 may adjust the style of the character “a” individually based on the second font style to present the target character 203 after the style adjustment in the interface 200E.

[0051] In some embodiments, after the second font style is determined, the electronic device 110 may present the newly received character in the second font style in the font preview component 202. Specifically, the electronic device 110 may receive an input operation of a user inputting a first character in the font preview component. Further, the electronic device 110 may present the first character in the font preview component based on the second font style.

[0052] As an example, after the second font style is determined, the electronic device 110 may receive a plurality of characters input by the user in the font preview component 202. After receiving the plurality of characters input by the user, the electronic device 110 may present the inputted plurality of characters in the second style, so that the user can view the second font style through the font preview component 202. In this way, the user can more conveniently view the created font style, and can make further adjustments based on the created font style.

[0053] In some embodiments, the electronic device 110 can also save and publish the created font style (i.e., the second font style). Specifically, the electronic device 110 can create a font file corresponding to the second font style in response to receiving a publishing request. As an example, the electronic device 110 can also provide a font publishing control to the user in the font editing interface. When the font publishing control is selected by the user, the electronic device 110 can save the second font style and generate a font resource package (i.e., font file) based on the second font style. Such a font resource package (i.e., font file) can be used to provide the user with a saved second font style, so that after the user selects the font resource package (i.e., font file), the electronic device 110 can use the second font style associated with the font resource package (i.e., font file) in other scenarios. Such a scene can be, for example, any text editing scene, such as an image drawing scene (e.g., poster drawing), text content editing, video editing, etc. In this way, the font style can be effectively enriched, so that various media content drawn based on the second font style is more beautiful.

[0054] In this way, the disclosed example can support the electronic device 110 to adjust the font style of at least one character through the user's configuration operation, thereby effectively enriching the font style library and improving the editing efficiency of the font style.

[0055] Example Interaction 2

[0056] In some embodiments, the electronic device 110 may edit the skeleton structure of the target character 203 to determine the second font style. Specifically, in response to receiving a preset operation, the electronic device 110 may present a skeleton editing window, wherein the skeleton editing window includes a canvas component.

[0057] As an example, Figure 2F As shown, the electronic device 110 can present the following to the user: Figure 2F The interface 200F shown in FIG. 200F may be, for example, a font editing interface. The electronic device 110 may also present a control 207 in the interface 200F. The control 207 is used to trigger the presentation of a skeleton editing window in the interface 200F. After receiving the user's selection of the control 207, the electronic device 110 may present the following: Figure 2G The skeleton editing window 210 shown in the figure. The user can select the character of the skeleton to be adjusted and the font to be adjusted in the skeleton editing window 210.

[0058] In some scenes, the electronic device 110 can also present a control 208 in the interface 200F, and the control 208 can be bound to the character 209. When the control 208 is selected, the electronic device 110 can also present a skeleton editing window 210. When the electronic device 110 triggers the presentation of the skeleton editing window 210 through the control 208, the character of the skeleton to be adjusted is defaulted to the character 209 (i.e., the character "M"), without the user selecting again in the skeleton editing window 210. In this way, the font adjustment process can be simplified, thereby increasing the efficiency of the font adjustment. Of course, after the skeleton editing window 210 is presented, the user can still modify the character to be subjected to skeleton adjustment through the skeleton editing window 210.

[0059] When the skeleton editing window 210 is presented, the electronic device 110 presents a base film 212 of the character “M” in the canvas component 211. The base film 212 can be used to assist the user in determining the skeleton structure of the character “M”.

[0060] In some embodiments, the electronic device 110 may determine a set of skeleton points associated with a third character via the canvas component. Such a third character may be a character selected from the canvas component, or a character determined based on the first control in the skeleton editing window.

[0061] As an example, the electronic device 110 may provide a control 213 in the skeleton editing window 210, and the control 213 is used to select a third character. The electronic device 110 may obtain the user's selection operation through the control 213 to determine the third character. After the third character is selected, the electronic device 110 may present a base film 212 in the canvas component 211, and the base film 212 is used to assist the user in determining the skeleton structure of the third character. Further, the electronic device 110 may obtain a user interaction operation through the canvas component 211. Such an interaction operation may be, for example, a painting operation. The electronic device 110 may determine a set of skeleton points associated with the third character through the skeleton structure 214 indicated by the user's painting operation. In this way, the font adjustment process can be effectively simplified, thereby lowering the threshold for font editing and improving the efficiency of font editing.

[0062] In some scenarios, the electronic device 110 may also determine the third character through the user's drawing operation on the canvas component 211. Specifically, the electronic device 110 may obtain the user's drawing operation through the canvas component, and determine the skeletal structure to be identified based on the drawing operation. Further, the electronic device 110 may identify the skeletal structure to be identified to determine the third character corresponding to the skeletal structure to be identified.

[0063] In some embodiments, the electronic device 110 can determine the reference font style via the second control in the skeleton editing window. Further, the electronic device 110 can present a reference visual representation of the third character in the canvas component based on the reference font style. As an example, the electronic device 110 can provide a second control 215 in the skeleton editing window 210. The second control 215 can be used to select a reference font style. After the user selects the reference font style through the second control 214, the electronic device 110 can present a base film 212 corresponding to the reference font style in the canvas component 211 with the reference font style.

[0064] In some embodiments, after the reference font style is selected, the electronic device 110 may also present a set of reference skeleton points associated with the reference visual representation in the canvas component 211 .

[0065] As an example, when the reference font style is selected, the electronic device 110 may also present a preset bone structure associated with the reference font style in the canvas component 211. Further, the electronic device 110 may determine a set of reference bone points, such a set of reference bone points may be manually set by the user, or may be automatically determined by the electronic device 110 based on the preset bone structure. The electronic device 110 may receive the user's adjustment of the target bone point in the set of reference bone points to determine a set of bone points for adjusting the character style of the third character.

[0066] For example, Figure 2G As shown, the user can adjust the position of the skeleton point 216 in the character "M" so that the position of the skeleton point 216 is adjusted to the position of the point 217. After receiving the user's adjustment operation on the character "M", the electronic device 110 can determine a set of skeleton points for adjusting the third character style based on the adjusted skeleton structure of the character "M".

[0067] In some embodiments, the electronic device 110 can also adjust the connection style between each skeleton point. Specifically, the electronic device 110 can provide a second group of adjustment controls in the skeleton editing window. Further, the electronic device 110 updates the position of a group of skeleton points and / or the connection style between a group of skeleton points based on the second configuration operation associated with the second group of adjustment controls.

[0068] As an example, Figure 2G As shown, the electronic device 110 may also provide a second set of adjustment controls in the skeleton editing window 210. The second set of adjustment controls includes at least a connection mode adjustment control 218. The connection mode adjustment control 218 is used to select the connection style between the skeleton points, such as a straight line connection, a curve connection, etc.

[0069] In some embodiments, the electronic device 110 may update the character style corresponding to the third character based on a set of skeleton points. Figure 2G and 2H As shown, after the electronic device 110 obtains a set of skeleton points through the skeleton editing window 210, the character style can be determined based on the obtained set of skeleton points. Further, the electronic device 110 can adjust the character style of the third character based on the determined character style to obtain the following: Figure 2H Character 219 is shown.

[0070] In this way, the embodiments of the present disclosure can provide users with richer font style editing means, thereby enabling more diverse font style editing and more detailed editing of fonts.

[0071] Example Process

[0072] Figure 3 FIG. 3 is a flowchart showing an example process 300 for editing a font according to some embodiments of the present disclosure. The process 300 may be implemented at the electronic device 110. Figure 1 The process 300 is described below.

[0073] like Figure 3 As shown, in box 310, the electronic device 110 presents a font editing interface, which includes a first group of adjustment controls and a font preview component, and the first group of adjustment controls corresponds to a group of preset attributes of the font style.

[0074] In block 320 , the electronic device 110 presents at least one character based on the first font style in the font preview component.

[0075] At block 330 , the electronic device 110 determines a second font style based on a first configuration operation associated with the first set of adjustment controls.

[0076] In block 340 , the electronic device 110 updates at least one character in the font preview component to a second font style.

[0077] In some embodiments, the process 300 further includes: receiving an input operation of a user inputting a first character in the font preview component; and presenting the first character in the font preview component based on the second font style.

[0078] In some embodiments, determining the second font style based on the first configuration operation associated with the first set of adjustment controls includes: determining a global style applied to all characters based on the first configuration operation; and determining the second font style based on the global style.

[0079] In some embodiments, determining the second font style based on a first configuration operation associated with the first set of adjustment controls includes: determining a local style applied to a specified second character based on the first configuration operation; and determining the second font style based on the local style.

[0080] In some embodiments, process 300 further includes: providing a character selection control in the font editing interface; and determining a second character based on input information of the character selection control.

[0081] In some embodiments, process 300 also includes: in response to a received preset operation, presenting a skeleton editing window, the skeleton editing window including a canvas component; determining a set of skeleton points associated with the third character via the canvas component; and updating the character style corresponding to the third character based on the set of skeleton points.

[0082] In some embodiments, the third character includes: a character selected from the canvas component; or a character determined based on the first control in the skeleton editing window.

[0083] In some embodiments, process 300 further includes: determining, via a second control in the skeleton editing window, a reference font style; and rendering, in the canvas component, a reference visual representation of the third character based on the reference font style.

[0084] In some embodiments, process 300 further includes presenting, in the canvas component, a set of reference skeletal points associated with the reference visual representation.

[0085] In some embodiments, the skeleton editing window further includes a second set of adjustment controls, and process 300 further includes: updating the positions of a group of skeleton points and / or the connection style between a group of skeleton points based on a second configuration operation associated with the second set of adjustment controls.

[0086] In some embodiments, process 300 further includes: presenting a set of reference font styles; and receiving a selection of a first font style in the set of reference font styles.

[0087] In some embodiments, process 300 further includes: in response to receiving the publish request, creating a font file corresponding to the second font style.

[0088] Example devices and equipment

[0089] The embodiments of the present disclosure also provide corresponding devices for implementing the above methods or processes. Figure 4A schematic structural block diagram of an example apparatus 400 for editing fonts according to some embodiments of the present disclosure is shown. The apparatus 400 may be implemented as or included in the electronic device 110. Each module / component in the apparatus 400 may be implemented by hardware, software, firmware, or any combination thereof.

[0090] like Figure 4 As shown, the device 400 includes: a first rendering module 410, configured to present a font editing interface, the font editing interface includes a first group of adjustment controls and a font preview component, the first group of adjustment controls corresponds to a group of preset attributes of the font style; a second rendering module 420, configured to present at least one character based on the first font style in the font preview component; a first determination module 430, configured to determine the second font style based on a first configuration operation associated with the first group of adjustment controls; and a first update module 440, configured to update at least one character in the font preview component to the second font style.

[0091] In some embodiments, the apparatus 400 further includes a receiving module configured to receive an input operation of a user inputting a first character in a font preview component; and present the first character in the font preview component based on a second font style.

[0092] In some embodiments, the first determination module 430 is further configured to: determine a global style applied to all characters based on the first configuration operation; and determine a second font style based on the global style.

[0093] In some embodiments, the first determination module 430 is further configured to: determine a local style applied to a designated second character based on the first configuration operation; and determine a second font style based on the local style.

[0094] In some embodiments, the apparatus 400 further includes a providing module configured to provide a character selection control in the font editing interface; and determine the second character based on input information of the character selection control.

[0095] In some embodiments, the device 400 also includes a second update module, which is configured to present a skeleton editing window in response to a received preset operation, wherein the skeleton editing window includes a canvas component; determine a set of skeleton points associated with a third character via the canvas component; and update a character style corresponding to the third character based on the set of skeleton points.

[0096] In some embodiments, the third character includes: a character selected from the canvas component; or a character determined based on the first control in the skeleton editing window.

[0097] In some embodiments, the apparatus 400 further comprises a visual representation rendering module configured to determine a reference font style via a second control in the skeleton editing window; and render, in the canvas component, a reference visual representation of the third character based on the reference font style.

[0098] In some embodiments, the apparatus 400 further includes a skeleton point rendering module configured to render a set of reference skeleton points associated with the reference visual representation in the canvas component.

[0099] In some embodiments, the skeleton editing window also includes a second group of adjustment controls, and the device 400 also includes a third update module, which is configured to update the position of a group of skeleton points and / or the connection style between a group of skeleton points based on a second configuration operation associated with the second group of adjustment controls.

[0100] In some embodiments, the apparatus 400 further comprises a style selection module configured to present a set of reference font styles; and receive a selection of a first font style from the set of reference font styles.

[0101] In some embodiments, the apparatus 400 further includes a creation module configured to create a font file corresponding to the second font style in response to receiving the publishing request.

[0102] The modules included in the device 400 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more modules can be implemented using software and / or firmware, such as machine executable instructions stored on a storage medium. In addition to or as an alternative to machine executable instructions, some or all of the units in the device 400 can be implemented at least in part by one or more hardware logic components. As an example and not limitation, exemplary types of hardware logic components that can be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0103] Figure 5 1 shows a block diagram of an electronic device 500 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Figure 5 The electronic device 500 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein. Figure 5 The illustrated electronic device 500 may be used to implement the electronic device 110 as discussed above.

[0104] like Figure 5As shown, the electronic device 500 is in the form of a general electronic device. The components of the electronic device 500 may include, but are not limited to, one or more processors or processing units 510, a memory 520, a storage device 530, one or more communication units 540, one or more input devices 550, and one or more output devices 560. The processing unit 510 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 520. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 500.

[0105] The electronic device 500 typically includes a plurality of computer storage media. Such media may be any accessible media that is accessible to the electronic device 500, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 520 may be a volatile memory (e.g., registers, caches, random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 530 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data and may be accessed within the electronic device 500.

[0106] The electronic device 500 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 5 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. The memory 520 may include a computer program product 525 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.

[0107] The communication unit 540 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 500 can be implemented in a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 500 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.

[0108] The input device 550 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 560 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 500 may also communicate with one or more external devices (not shown) through the communication unit 540 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device 500, or communicate with any device that allows the electronic device 500 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).

[0109] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.

[0110] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices, equipment, and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0111] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0112] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0113] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.

[0114] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.

Claims

1. A method for editing a font, comprising: Presenting a font editing interface, the font editing interface comprising a first set of adjustment controls and a font preview component, the first set of adjustment controls corresponding to a set of preset properties of a font style; In the font preview component, presenting at least one character based on a first font style; determining a second font style based on a first configuration operation associated with the first set of adjustment controls; as well as The at least one character in the font preview component is updated to the second font style.

2. The method according to claim 1, further comprising: Receiving an input operation of a user inputting a first character in the font preview component; as well as In the font preview component, the first character is presented based on the second font style.

3. The method of claim 1 , wherein determining a second font style based on a first configuration operation associated with the first set of adjustment controls comprises: Based on the first configuration operation, determining a global style applied to all characters; as well as Based on the global style, the second font style is determined.

4. The method of claim 1 , wherein determining a second font style based on a first configuration operation associated with the first set of adjustment controls comprises: Based on the first configuration operation, determining a local style to be applied to a specified second character; as well as Based on the local style, the second font style is determined.

5. The method according to claim 4, further comprising: Providing a character selection control in the font editing interface; as well as The second character is determined based on the input information of the character selection control.

6. The method according to claim 1, further comprising: In response to the received preset operation, presenting a skeleton editing window, wherein the skeleton editing window includes a canvas component; determining, via the canvas component, a set of skeletal points associated with a third character; as well as Based on the set of skeleton points, a character style corresponding to the third character is updated.

7. The method according to claim 6, wherein the third character comprises: a character selected from the canvas component; or A character determined based on the first control in the skeleton editing window.

8. The method according to claim 6, further comprising: Determining a reference font style via a second control in the skeleton editing window; as well as In the canvas component, a reference visual representation of the third character is rendered based on the reference font style.

9. The method according to claim 8, further comprising: In the canvas component, a set of reference skeletal points associated with the reference visual representation is presented.

10. The method according to claim 6, wherein the bone editing window further comprises a second set of adjustment controls, the method further comprising: Based on a second configuration operation associated with the second group of adjustment controls, the positions of the group of skeletal points and / or the connection styles between the group of skeletal points are updated.

11. The method according to claim 1, further comprising: Renders a set of reference font styles; as well as A selection of the first font style from the set of reference font styles is received.

12. The method according to claim 1, further comprising: In response to receiving the publishing request, a font file corresponding to the second font style is created.

13. A device for editing fonts, comprising: A first presentation module is configured to present a font editing interface, wherein the font editing interface includes a first group of adjustment controls and a font preview component, wherein the first group of adjustment controls corresponds to a group of preset attributes of a font style; A second rendering module, configured to render at least one character based on a first font style in the font preview component; A first determination module, configured to determine a second font style based on a first configuration operation associated with the first group of adjustment controls; The first updating module is configured to update the at least one character in the font preview component to the second font style.

14. An electronic device comprising: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 12 when executed by the at least one processing unit.

15. A computer-readable storage medium having a computer program stored thereon, wherein the computer program can be executed by a processor to implement the method according to any one of claims 1 to 12.