Laser phototypesetting optimization method based on Chinese character positive and negative digital method

By decomposing Chinese characters into 98 basic components and dynamically synthesizing and parametrically adjusting them, the storage pressure and difficulty in supporting rare characters in existing laser typesetting systems are solved, achieving efficient and flexible Chinese character output.

CN121723971APending Publication Date: 2026-03-24BEIJING POSITIVE NUMBER & NEGATIVE NUMBER TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-25
Publication Date
2026-03-24

AI Technical Summary

Technical Problem

Existing laser typesetting systems suffer from high storage pressure and limited processing efficiency due to redundant character data. Furthermore, they lack a structured encoding mechanism, making it difficult to support rare characters and adapt to personalized or cross-regional text processing needs.

Method used

Using the positive and negative digit method for Chinese characters, Chinese characters are decomposed into 98 basic components for encoding and storage. Through dynamic synthesis and parameterized adjustment, efficient generation and flexible output of character shapes are achieved.

Benefits of technology

Significantly reduces storage requirements, improves processing speed and glyph expansion capabilities, supports uncommon characters not included in the database, and enhances output quality consistency and adaptability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121723971A_ABST
    Figure CN121723971A_ABST
Patent Text Reader

Abstract

The invention discloses a laser phototypesetting optimization method based on a Chinese character positive and negative digital method, and the method comprises the steps: building a font code database which only stores 98 positive and negative one-code components, and then receiving and analyzing a positive and negative Arabic numeral sequence corresponding to a target text; calling part font codes from a database according to the sequence, dynamically synthesizing a complete Chinese character contour according to a combination rule, performing parameterized adjustment and rasterized optimization on the synthesized contour based on a preset font parameter set, and finally converting final font data into a driving signal to control the laser imaging device to output. According to the method, traditional mass Chinese character library storage is replaced by component digital coding, font data volume is compressed to a byte level, and dynamic synthesis and parameterized description technologies are utilized, so that storage resources are extremely saved, uncommon characters are generated in real time according to needs, and cross-font and font-size high-quality shape-preserving output is realized; and the processing efficiency, the flexibility and the autonomous controllability of the laser phototypesetting system are greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of Chinese character information processing and digital printing technology, and in particular to a laser typesetting optimization method based on the positive and negative digit method of Chinese characters. Background Technology

[0002] Laser typesetting technology, as a major technology in the Chinese character printing and publishing industry, has achieved a leap from lead type printing to digital output. Existing laser typesetting systems typically build character libraries based on the national standard Chinese character encoding character set (such as GB18030). By storing the dot matrix or vector data of each Chinese character, the corresponding character information is called up for laser imaging during typesetting. Through long-term practice, this system has formed a relatively stable technical system, supporting various text output scenarios such as printing and publishing and office automation.

[0003] Existing laser typesetting systems require the pre-storage of massive amounts of complete glyph data for Chinese characters, resulting in a large font library size. This is especially true when supporting multiple fonts, font sizes, and rare or variant characters, where storage and retrieval overhead increases significantly. This restricts the deployment and application of the system in embedded devices or resource-constrained environments. Furthermore, traditional glyph data is stored as a whole, lacking a structured component description mechanism. This leads to complex parameter adjustments when glyphs are multiplied or fonts are switched, affecting output efficiency and quality consistency. In addition, existing systems often rely on temporary character creation or external font libraries when dealing with rare or regional characters that are not included in the database. This process is cumbersome and lacks compatibility, making it difficult to meet the growing demand for personalized or cross-regional text processing.

[0004] Therefore, in response to the problems mentioned above, this invention proposes a laser typesetting optimization method based on the positive and negative digit method of Chinese characters. Summary of the Invention

[0005] To overcome the problems of high storage pressure and limited processing efficiency caused by redundant character data in existing laser typesetting systems, as well as difficulties in supporting rare characters and insufficient output flexibility due to the lack of a structured encoding mechanism, this invention proposes a laser typesetting optimization method based on the positive and negative digit method of Chinese characters. This method introduces a component-based and digitized Chinese character description system, decomposes Chinese characters into a limited number of basic components for encoding and storage, and on this basis realizes dynamic synthesis and parameterized adjustment of character shapes. Thus, while ensuring output quality, it significantly improves the system's performance in terms of storage efficiency, processing speed, and character shape expansion capability.

[0006] The technical solution of this invention is: a laser typesetting optimization method based on the positive and negative numeral method of Chinese characters, comprising the following steps: S1. Establish a character code database containing 98 positive and negative code components. Each component corresponds to a unique positive or negative Arabic numeral code (positive and negative Arabic numeral codes include 0, ±1, ±2...±9 and their corresponding negative code forms (e.g., ...). , (etc.), and according to this code, it is mapped to the corresponding 8-bit binary code through the preset China Standard Code Table for Information Interchange (CSCII code); S2, receive the positive and negative Arabic numeral sequence corresponding to the target Chinese character or text input by the user (each number in the sequence represents a component, and the sequence order corresponds to the combination order of the Chinese character components). The encoding and parsing module calls the corresponding component glyph code from the glyph code database according to the positive and negative Arabic numeral sequence (the component glyph code is a digital graphic data based on dot matrix or vector description). S3, the character synthesis unit dynamically synthesizes the called component character codes into complete character data of the target Chinese character according to the preset component combination rules (the combination rules include the positional relationship of components, scaling ratio and topological connection logic). S4, the parameterization description module adjusts the outline of the synthesized glyph data according to the font size and font type parameters of the target font, including automatic adaptation of stroke length, shoulder type and stroke thickness, and supports differential processing of multiple fonts (such as Song, Fangsong, Kai, Hei). It converts the adjusted glyph data into dot matrix or vector signals that can be recognized by the laser typesetting equipment, and drives the laser imaging device to perform exposure and typesetting on the photosensitive material.

[0007] It is worth noting that in the China Standard Code for Information Interchange (CSCII) table, each positive and negative Arabic numeral code is mapped to an 8-bit binary number. For example, the digit "1" is mapped to 00100011 (decimal 35), and the digit "..." is mapped to 00100011 (decimal 35). "The mapping is 00100100 (decimal 36), and the specific mapping relationship is implemented with reference to the CSCII code table. Among them, 98 positive and negative code components cover the basic structure of all Chinese characters, and the total storage capacity of its character code database does not exceed 784 bytes (calculated according to 8×8 dot matrix), which is far lower than the storage requirements of the traditional GB18030 character library."

[0008] Preferably, the glyph codes of the 98 positive and negative code components stored in the glyph code database are digital glyph data based on an 8×8 dot matrix, with each component glyph code occupying 8 bytes of storage space.

[0009] It is worth noting that each pixel in the 8×8 dot matrix is ​​represented by 1 bit of binary code. The dot matrix graphic has been optimized to retain the main topological features of the components, ensuring that the outlines are clear when synthesizing Chinese characters.

[0010] Preferably, when dynamically synthesizing Chinese characters, the character synthesis unit determines the position and combination method of the corresponding components in the Chinese characters based on the positive and negative attributes and arrangement order of each number in the positive and negative Arabic numeral sequence, and automatically lays them out according to the structure type of the Chinese characters.

[0011] Preferably, the parameterized description module has multiple pre-set font parameter sets, corresponding to Song, Fangsong, Kai, and Hei fonts respectively, which can automatically call the corresponding parameter set to adjust the font shape according to the font type selected by the user.

[0012] It is worth noting that each font parameter set includes vector description parameters such as the start and end angles of strokes, turning curvature, and end shape, in order to ensure the consistency of font style.

[0013] Preferably, the method further includes: when the Chinese character corresponding to the input positive and negative Arabic numeral sequence is not included in the standard character set, using a rare character processing module to dynamically generate the glyph data of the rare character based on the component code in the sequence, and storing it in a temporary glyph buffer for later use. This rare character processing module supports the real-time generation of variant characters, dialect characters and unencoded characters without relying on external character set expansion.

[0014] Preferably, when the rare character processing module dynamically generates character shapes, it splices the components according to the combination rules of the 98 positive and negative code components and the preset Chinese character structure topology relationship, and optimizes the character shapes through the parameterized description module to ensure output quality.

[0015] Preferably, the method of receiving user input includes at least one of keyboard input of positive and negative number sequences or handwriting input converted into positive and negative number sequences.

[0016] Preferably, when adjusting the font, the parameterized description module also automatically optimizes the dot matrix density according to the output resolution to ensure the smoothness and fidelity of the font outline under different font sizes.

[0017] Preferably, the method further includes receiving and parsing typesetting control instructions based on positive and negative digits using a typesetting instruction parsing module, wherein the typesetting control instructions include at least one of line breaks, page breaks, font switching, and font size adjustment, and converting them into control signals that can be executed by the system.

[0018] Preferably, the entire method runs in a pure Chinese operating system environment. The character code database, encoding parsing module, character synthesis unit and parameterized description module are all implemented based on the Chinese character positive and negative digit method and do not depend on an external English character encoding system.

[0019] The beneficial effects of this invention are: 1. This invention simplifies the traditional laser typesetting system's requirement to pre-store a complete Chinese character glyph library (such as the 88,115 characters under the GB18030 standard) into a glyph database that stores only 98 positive and negative code components by adopting the positive and negative code method for Chinese characters. This reduces the data storage size of glyph data from the megabyte (MB) level to the kilobyte (KB) level. For example, 98 components require only about 784 bytes in an 8×8 dot matrix, thereby greatly alleviating the system's storage pressure, reducing hardware storage costs, and making it possible to deploy high-performance laser typesetting systems in embedded devices or resource-constrained environments.

[0020] 2. This invention utilizes a component-based coding and dynamic synthesis mechanism. During typesetting, the system does not need to call pre-stored complete Chinese character dot matrices. Instead, it calls the corresponding components from the 98-component character code database in real time based on the input positive and negative digital sequence. The system then dynamically synthesizes the target character based on preset combination rules and parameterized description modules. At the same time, it automatically adapts the outline parameters of different font sizes and fonts (such as Song, Fangsong, Kai, and Heiti). This process avoids the frequent retrieval and calling of massive character data in traditional systems, greatly improving the processing efficiency and response speed of character generation, scaling, and font switching.

[0021] 3. Based on 98 basic components that can be combined to generate any Chinese character and their structured positive and negative numeral system, this invention can directly drive the character synthesis unit to dynamically generate corresponding character data for rare characters, variant characters, or dialect characters that are not pre-stored, through their corresponding positive and negative numeral sequences. This does not require external character libraries or temporary character creation patches, thus solving the problem of difficulty in supporting rare characters caused by the limited character library coverage in traditional laser typesetting systems. At the same time, the parameterized description module ensures that the dynamically generated characters maintain the same output quality as standard characters, greatly enhancing the system's output flexibility and adaptability when dealing with diverse and personalized typesetting needs. Attached Figure Description

[0022] Figure 1 The diagram shown is a schematic representation of the system framework of this invention. Figure 2 The diagram shown illustrates the workflow of this invention. Detailed Implementation

[0023] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0024] Please see Figure 1, the present invention provides an embodiment, a laser typesetting optimization method based on the Chinese character positive and negative digital method: This method is implemented through five major modules: a glyph code database module, a coding input and parsing module, a glyph dynamic synthesis module, a parameterized description and optimization module, and a laser drive and output module.

[0025] The glyph code database module only stores the digital glyph information of 98 positive and negative one-code components defined by the "Chinese character positive and negative digital method". Each component (such as "mouth", "person", "wood", "fire", etc.) is assigned a unique positive and negative Arabic numeral code with pictographic rationale (such as "mouth" corresponding to "0", "person" corresponding to "8"), and corresponds to an 8-bit binary CSCII code. The glyph information of the component is stored in the form of vector contour data combined with key feature parameters, rather than the traditional dot matrix bitmap. For example, the component "mouth" is stored as the sequence of key coordinate points of its outer contour, the stroke width reference value, and the topological type identifier as a "square" component. In this embodiment, in order to balance processing efficiency and generality, a set of bitmap data of this component under an 8×8 basic dot matrix is also stored as a backup for quick preview and low-resource environments. The overall volume of the database is extremely compressed. The storage capacity of the vector data of 98 components is about 5 - 8KB, and the dot matrix backup data is fixed at 784 bytes (98 components * 8 bytes / component). Compared with the traditional font library of several MB or even dozens of MB containing multiple fonts, the storage requirement is reduced by three orders of magnitude.

[0026] The coding input and parsing module is responsible for receiving and understanding the user's intention. The user can input the target text in various ways: directly input a sequence of positive and negative Arabic numerals composed of 0, ±1, ±2…±9, input pinyin through a standard keyboard, and it is converted into a positive and negative digital sequence by a built-in converter in real time. Then input handwriting through a handwriting device, and the component composition is analyzed by a stroke recognition engine and converted into a digital sequence. This module can split the input digital sequence into code units of individual Chinese characters or words according to spaces or specific delimiters, and then immediately query the CSCII code mapping table in memory, convert each digital code into the corresponding binary machine code, and at the same time trigger a component call request to the glyph code database. For example, input "1 I" (representing the Chinese character "ding"), the parser recognizes that this is two code elements "1" and "-1" ("I" represents "-1" in the CSCII table), converts them into binary codes 00100011 and 00100100 respectively, and requests to call the glyph data of the component "one" (code 1) and the component "亅" (code -1).

[0027] The glyph dynamic synthesis module receives component call instructions and combination order information from the parsing module, and extracts the vector outline data of the corresponding components from the glyph code database. This module has a built-in complex Chinese character structure generation rule library, which defines the relative positions, scaling ratios, connection relationships, and stroke deformation rules of 98 components in various Chinese character structures (such as left-right structure, up-down structure, enclosed structure, three-in-one structure, etc.). The synthesis engine automatically selects or calculates the most suitable structure template according to the structure information (such as sequence length, positive and negative code arrangement pattern) implied by the positive and negative digital sequences of the target Chinese character. Then it "places" the extracted component outline data at the corresponding positions of the template, performs necessary geometric transformations (translation, scaling, rotation), and according to the stroke connection rules, smoothly fuses the interfaces of adjacent components to eliminate the rigid seams, and finally generates a complete and standard target Chinese character vector outline (for example, when synthesizing the Chinese character "明" with the code "00" (left "日" and right "月"), the engine calls the outlines of the components "日" (code 0) and "月" (code 0), applies the "left-right structure" template, automatically adjusts the width ratio of the two to about 1:1, and ensures that the horizontal strokes are on the same horizontal line, and finally synthesizes a well-proportioned Chinese character "明"). When the Chinese character corresponding to the input positive and negative Arabic numeral sequence is not included in the standard font library, the rare character processing module dynamically generates the glyph data of the rare character according to the component codes in the sequence and stores it in the temporary glyph buffer for calling.

[0028] The parametric description and optimization module is responsible for fine-tuning and outputting the dynamically synthesized glyphs. This module contains a large set of font style parameters, covering the most commonly used Song typeface, Fangsong typeface, Regular script typeface, Bold typeface, etc. in printing and typesetting. Each font style corresponds to a set of detailed parameters, which control the starting and ending shapes of strokes (such as the serifs of the Song typeface), the contrast relationship of stroke thicknesses (such as the lifting and pressing changes of the Regular script typeface), the arc at the turning point, and the overall center of gravity of the glyph. When the user specifies the output font and font size, this module takes the synthesized Chinese character basic outline as the input, loads the corresponding font parameter set, and performs a "rendering-style" deformation on the outline (for example, when selecting the "Song typeface", the module will add triangular serifs to the ends of horizontal strokes and process the turning corners of the folded strokes into a shape with chamfers; when selecting the "Regular script typeface", it will simulate the characteristics of writing with a brush, making the strokes have thickness changes and the starting and ending points more rounded). This module also integrates anti-aliasing algorithms and Hinting (glyph fine-tuning) technologies. For different output resolutions (such as high-precision typesetting at 1200 dpi and screen preview at 96 dpi), the module automatically rasterizes and optimizes the outline, eliminates the jaggedness by adjusting the gray values of the edge pixels, and aligns the strokes at the pixel level through Hinting instructions, so as to ensure that the strokes are clear and non-sticky at small font sizes.

[0029] The laser drive and output module converts the final character dot matrix data, after parametric optimization and rasterization, along with typesetting instructions (such as position coordinates and rotation angles), into a dedicated control language that can be recognized by laser imagesetters or laser printers. This module controls the laser beam's on / off state, scanning trajectory, and light intensity to scan and expose points on the film or photosensitive drum, ultimately forming a high-quality layout. Because the front-end character data is highly concise and the processing flow is efficient, the speed and stability of the data stream received by this module are guaranteed, which helps improve the overall output speed of the machine.

[0030] Please see Figure 2 This embodiment describes the workflow of the present invention, specifically: (1) Establish and load a character code database containing 98 positive and negative code components. Each component corresponds to a unique positive and negative Arabic numeral code and is mapped to an 8-bit binary code through a pre-made Chinese Standard Code for Information Interchange (CSCII) table. At the same time, the database stores the digital character information of each component based on dot matrix or vector description, and pre-sets multiple sets of parameterized descriptions corresponding to font types such as Song, Fangsong, Kai, and Hei. The system runs in a pure Chinese operating system environment to ensure full autonomy from underlying encoding to application processing.

[0031] (2) The system receives the positive and negative Arabic numeral sequence corresponding to the text to be typed by the user through at least one of keyboard input or handwriting input. The encoding and parsing module immediately identifies and segments the sequence, parses it into a digital code unit with a single Chinese character or word group as the unit, and converts each positive and negative digital code into the corresponding binary machine code in real time according to the CSCII code table. At the same time, it generates a call instruction for the corresponding component glyph data in the glyph code database.

[0032] (3) The character synthesis unit extracts the vector outline or dot matrix data of the corresponding component from the character code database according to the component calling instructions and combination order information provided by the encoding parsing module. Based on the built-in Chinese character structure combination rules and topology relationship library, the unit automatically determines the position, proportion and connection method of each component in the target Chinese character, performs geometric transformation and interface smoothing processing, and thus dynamically synthesizes the standard initial outline graphic of the target Chinese character.

[0033] (4) The parameterized description module calls the corresponding font parameter set according to the font type and font size parameters specified by the user, and applies fine stylized deformation and adjustment to the initial outline of the dynamically synthesized Chinese characters, including but not limited to the control of stroke thickness contrast, starting and ending stroke shape, curvature at turning points and overall center of gravity. At the same time, the module uses anti-aliasing and fine-tuning technology to perform rasterization optimization on the outline according to the output resolution, so as to ensure that clear, high-quality glyph dot matrix data that conforms to the specific font style can be output under different font sizes.

[0034] (5) When the Chinese character corresponding to the input positive and negative number sequence is not included in the regular character library, the rare character processing module is activated. Based on the same 98 component combination rules and structural topology relationship, the module parses and splices the component codes in the sequence, dynamically generates the character outline of the rare character, and uses the parameterized description module for stylization and optimization. The generated character data can be stored in a temporary buffer for subsequent calls, thereby achieving seamless support without pre-storage and on-demand generation.

[0035] (6) The typesetting instruction parsing module receives and parses typesetting control instructions represented in positive and negative numbers, such as line break, page break, font switching or font size adjustment commands, and converts them into control signals that can be executed within the system. These signals work together to control the position and format of font composition, parameterized adjustment and final output typesetting.

[0036] (7) The laser drive and output module converts the final character dot matrix data processed by the above steps and the coordinate position information determined by the typesetting instructions into a specific control language or drive signal that can be recognized by the laser typesetting equipment or printer. This module precisely controls the scanning trajectory and light intensity modulation of the laser imaging device, completes the exposure on the photosensitive material, and finally outputs a high-quality paper or film plate.

[0037] This invention provides Embodiment 1: This embodiment processes a book of approximately 500,000 Chinese characters, using both Song and Hei fonts, with font sizes ranging from No. 5 to small-sized, to verify the implementation effect of the present invention.

[0038] Implementation process: During system initialization, only a core glyph database containing 98 components (approximately 6KB vector data + 784 bytes of dot matrix backup) and two font parameter sets, Song and Hei (approximately 10-15KB each), need to be loaded. Traditional systems, on the other hand, need to load complete Song and Hei Chinese font libraries, with each font file typically ranging from 3-8MB.

[0039] The typesetter inputs text, assuming the chapter title is "Chapter 1: The History and Development of Chinese Character Encoding", whose positive and negative digit sequence is a short string of numbers (specific encoding omitted). At the same time as input, the parsing and synthesis module works in real time to dynamically generate the outlines of these Chinese characters in memory.

[0040] When the typewriter applies boldface to the word "Chinese character", the parametric module immediately applies boldface parameter deformation to the already synthesized basic outline of "Chinese character", and the font switching preview is completed on the screen instantly.

[0041] When the system performs full-page typesetting calculations, all Chinese characters used do not need to be called from a huge dot matrix library, but are generated in real time by a unified library of 98 components in cooperation with a parameter set. The computing resources are very concentrated, and there is no bottleneck in disk I / O.

[0042] At the same time, a comparative experiment was constructed to use the performance of a commercial typesetting software system based on the traditional GB18030 font library on the same hardware platform.

[0043]

[0044] As can be seen from the above table, the initial memory occupancy of the present invention is only 30 - 50 KB, which is reduced by more than 99.5% compared with 6 - 16 MB of the traditional technology, and the volume of the disk font library is reduced from several MB to about 20 KB. The rendering time of the full-page complex layout of the present invention is 1.2 seconds, which is better than 1.5 seconds of the traditional technology. At the same time, the font switching response time is less than 50 milliseconds, which is more than twice as fast as 100 - 200 milliseconds of the traditional technology. Although the average delay (<1 ms) of dynamic generation of a single glyph is slightly higher than the direct cache reading (0.1 ms) of the traditional technology, this difference is within the millisecond level and has no impact on the overall user experience, indicating that the present invention not only ensures efficient typesetting output but also solves the problems of large storage pressure, slow initial loading, and unsmooth font switching caused by glyph data redundancy in the traditional system.

[0045] The present invention provides Embodiment 2: In this embodiment, an experimental simulation of an academic publishing or local literature collation scenario is carried out, which requires processing a large number of rare Chinese characters, ancient Chinese variant characters, or dialect characters not included in GB18030, such as "曌", "龑", "氼", etc., and comparing the performance of the two systems when processing 100 random rare / variant characters.

[0046] The implementation process of the present invention: The editor inputs the above rare Chinese characters in the manuscript. In the traditional system, these characters may be displayed as blank boxes or garbled characters, and a special character creation program needs to be started to draw the glyph in a dedicated area and assign a temporary internal code to it, which is cumbersome and prone to loss during file exchange. In the present invention, the editor can directly input the positive and negative digital codes of these rare Chinese characters. Even if the character has never appeared in the system before, as long as its component parts are within 98 basic components (most Chinese characters meet this condition), it can be encoded (for example, for the character "曌", positive and negative digital codes are assigned according to its "明空" structure).

[0047] The coding analysis module recognizes the digital sequence and calls the glyph data of component parts such as "日", "月", "穴", "工", etc.

[0048] The glyph synthesis module combines the component parts according to the "upper and lower structure" rule ("明" on the top, "空" on the bottom) to dynamically generate the complete outline of the character "曌".

[0049] The parametric module applies the specified Song typeface parameters to generate high-quality glyphs that can be finally used for printing. The whole process is fully automated and does not require manual font creation.

[0050]

[0051] As can be seen from the above table, with the combination ability of 98 basic components, the theoretical coverage rate of the present invention reaches 100%. Without the need for pre-existing font library support, new rare characters can be instantly and automatically generated just by inputting their digital codes. The output quality is standardized and unified, thus completely simplifying the complex process that requires manual font creation, takes several minutes and has unstable quality under the traditional system into ordinary input operations. When exchanging documents, the present invention only needs to transmit digital codes to perfectly reproduce on any compatible terminal, overcoming the compatibility problem that the traditional system must synchronously transmit dedicated font library files. The dynamic generation mechanism of the present invention realizes the "zero storage cost" expansion of rare characters. After processing a large number of rare characters, no additional storage burden will be generated, while the traditional technology will accumulate temporary font library data.

[0052] The present invention provides Embodiment 3: In this embodiment, the design scenario of high-quality picture albums or brochures is simulated through experiments. It is required to use different fonts (such as Song, Fangsong, Regular Script, Bold) of the same Chinese character in the same layout with a variety of font sizes from extremely small to extremely large, and it is required that the glyphs are clear, beautiful and distortion-free in all cases to verify the effects of the two systems.

[0053] Implementation process: The designer inputs the two characters "Shanshui" in the layout and respectively tries to apply Song typeface and Regular Script with font sizes from 8pt to 72pt.

[0054] The present invention first synthesizes the basic outlines of "Shan" and "Shui" through positive and negative digital codes. When applying "Regular Script", the parametric module loads the Regular Script parameters, increases the starting pause feeling of the vertical stroke of the character "Shan", and processes the left-falling and right-falling strokes of the character "Shui" into sharp-tipped strokes. When the font size becomes 72pt, the module automatically adjusts the stroke thickness curve so that the strokes do not become too thick and bloated after being enlarged. Before outputting to a 1200dpi typesetter, the Hinting engine fine-tunes the outline for this resolution to ensure that the edges of the strokes exactly fall on the pixel grid, and the output edges are sharp and smooth.

[0055] The traditional technology directly calls the pre-generated dot matrix or outline data under different font sizes. Under extreme font sizes, simple linear scaling may be performed due to insufficient pre-set data, resulting in blurring of small font sizes and disproportionate stroke ratios of large font sizes.

[0056] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention in any other way. Any person skilled in the art may make changes or modifications to the above-disclosed technical content to create equivalent embodiments that can be applied to other fields. However, any simple modifications, equivalent changes, and modifications made to the above embodiments based on the technical essence of the present invention without departing from the scope of the present invention shall still fall within the protection scope of the present invention.

Claims

1. A laser typesetting optimization method based on the positive and negative numeral method of Chinese characters, characterized in that, It includes the following steps: S1. Establish a character code database containing 98 positive and negative code components. Each component corresponds to a unique positive and negative Arabic numeral code, and is mapped to the corresponding binary code through a preset Chinese information exchange standard code table according to the code. S2 receives the positive and negative Arabic numeral sequence corresponding to the target Chinese character or text input by the user. The encoding and parsing module calls the corresponding component glyph code from the glyph code database according to the positive and negative Arabic numeral sequence. S3, the character synthesis unit dynamically synthesizes the called component character codes into complete character data of the target Chinese character according to the preset component combination rules; S4, the parametric description module performs contour parametric adjustments on the synthesized glyph data based on the target font's size and font type parameters, including automatic adaptation of stroke length, shoulder type, and stroke thickness. The adjusted character data is converted into dot matrix or vector signals that can be recognized by the laser typesetting equipment, and then the laser imaging device is driven to perform exposure and typesetting on the photosensitive material.

2. The laser typesetting optimization method based on the positive and negative digit method of Chinese characters according to claim 1, characterized in that: The glyph code database stores 98 positive and negative code components whose glyph codes are digital glyph data based on an 8×8 dot matrix, with each component's glyph code occupying 8 bytes of storage space.

3. The laser typesetting optimization method based on the positive and negative digit method of Chinese characters according to claim 2, characterized in that: When dynamically synthesizing Chinese characters, the character synthesis unit determines the position and combination method of the corresponding components in the Chinese character based on the positive and negative attributes and arrangement order of each number in the positive and negative Arabic numeral sequence, and automatically lays them out according to the structure type of the Chinese character.

4. The laser typesetting optimization method based on the positive and negative digit method of Chinese characters according to claim 3, characterized in that: The parameterized description module has multiple pre-set font parameter sets, corresponding to Song, Fangsong, Kai, and Hei fonts respectively, which can automatically call the corresponding parameter set to adjust the font shape according to the font type selected by the user.

5. The laser typesetting optimization method based on the positive and negative digit method of Chinese characters according to claim 4, characterized in that, The method further includes: when the Chinese character corresponding to the input positive and negative Arabic numeral sequence is not included in the standard character library, the rare character processing module dynamically generates the character shape data of the rare character according to the component code in the sequence, and stores it in a temporary character shape buffer for later use.

6. The laser typesetting optimization method based on the positive and negative digit method of Chinese characters according to claim 5, characterized in that: When dynamically generating character shapes, the rare character processing module splices components according to the combination rules of the 98 positive and negative code components and the preset Chinese character structure topology relationship, and optimizes the character shape through the parameterized description module to ensure output quality.

7. The laser typesetting optimization method based on the positive and negative digit method of Chinese characters according to claim 6, characterized in that: The method of receiving user input includes at least one of keyboard input of positive and negative number sequences or handwriting input converted into positive and negative number sequences.

8. The laser typesetting optimization method based on the positive and negative digit method of Chinese characters according to claim 7, characterized in that: When adjusting the font, the parameterized description module also automatically optimizes the dot matrix density according to the output resolution to ensure the smoothness and fidelity of the font outline at different font sizes.

9. The laser typesetting optimization method based on the positive and negative digit method of Chinese characters according to claim 8, characterized in that: The method further includes using a typesetting instruction parsing module to receive and parse typesetting control instructions based on positive and negative digits, wherein the typesetting control instructions include at least one of line breaks, page breaks, font switching, and font size adjustment, and convert them into control signals that can be executed by the system.

10. The laser typesetting optimization method based on the positive and negative digit method of Chinese characters according to claim 9, characterized in that: The entire method runs in a pure Chinese operating system environment. The character code database, encoding parsing module, character synthesis unit and parameterization description module are all implemented based on the positive and negative digit method of Chinese characters.