Method and device for forming word stock
A font and character technology, which is applied in the field of computer font software production, can solve the problems of large amount of personalized font data and insufficient smooth character outlines, and achieve the effect of solving large files and increasing production costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Example Embodiment
[0057] Example 1:
[0058] like figure 1 As shown, the present embodiment provides a method for forming a personalized font library, comprising the following steps:
[0059] s101. Get the script.
[0060] All the characters required by the font library need to be written into the script in advance. For example, to make a simplified font library, following GB2312-1980, 6763 Chinese characters need to be written. The writing format of the script and the writing order of the characters in the script are pre-set by the designer.
[0061] s102. Scan the script into a script image.
[0062] Since the script is written on paper or other carriers, it needs to be scanned into the computer.
[0063] Preferably, the script image is a binary image. A binary image refers to a digital image with only two possible values for each pixel. For example, black and white and monochrome images are often used to represent binary images, which have the advantage of occupying less space. Here...
Example Embodiment
[0078] Example 2:
[0079] In this embodiment, the method for forming a personalized font library includes the following steps:
[0080] s201-s203 are the same as s101-s103 in Embodiment 1, and are not repeated here.
[0081] s204. Set a density threshold, and determine whether the density of points on all contour curves in any region of the character outline formed in step s203 is greater than the density threshold, if so, execute step s205, if not, execute step s206.
[0082] s205. Construct an approximation function according to the points on all the contour curves in the area in step s204 to form a corresponding fitting curve, and replace all the contour curves in the area with the fitting curve, and then return to step s204.
[0083] s206-s207 are the same as s104-s105 in Embodiment 1, and are not repeated here.
[0084] It can be seen that if it is found that the points in a certain area of the character contour formed by digital fitting are relatively dense, an appr...
Example Embodiment
[0086] Example 3:
[0087] like Figure 7 As shown, this embodiment provides an apparatus for forming a personalized font library, including: an acquisition unit, a scanning unit, a digital fitting unit, an automatic processing unit, and an integrated testing unit.
[0088] The obtaining unit is used for obtaining the script, and sending the obtained script to the scanning unit.
[0089] The scanning unit is used for scanning the script into a script image, and sending the script image to the digital fitting unit. Preferably, the script image scanned by the scanning unit is a binary image.
[0090] The digital fitting unit is configured to perform digital fitting on the script image to form a character outline, and send the character outline to an automatic processing unit.
[0091] The automatic processing unit is configured to perform automatic processing on the character outline, so as to remove redundant contour curves in the character contour and redundant points on th...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap