Font Replacement via Glyph Width Metric Matching
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
When importing embedded font text from one document to another, especially when the new document editing application does not support all fonts defined in the original document, selecting a suitable replacement font is challenging, leading to issues with text appearance and readability due to differences in font metrics, particularly font width.
Innovation Solution
A method is described that processes embedded font text to generate original glyph metrics data, identifies candidate font families, calculates their combined glyph widths, and selects a replacement font family based on differences, minimizing the need for character spacing adjustments.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If a replacement font is selected for unsupported original font, then the text can be displayed in the new document editing application, but the text appearance and readability are degraded due to font metric differences
Solution Approach 1:
The patent changes the parameter of font selection criteria from simple availability to metric-based matching. By calculating combined glyph widths for candidate fonts and comparing them to the original font's metrics, the system selects replacement fonts that maintain visual consistency. This parameter transformation resolves the contradiction by making font selection dependent on quantitative metric matching rather than mere availability.
Solution Approach 2:
The patent replaces the manual or heuristic font selection process with an automated computational system. The mechanical system of calculating glyph widths, comparing metrics, and selecting optimal replacements automates what would otherwise require subjective human judgment. This substitution ensures consistent, objective font replacement decisions that maintain text appearance quality across different applications.
2Ease of operation
If a poorly chosen replacement font is used, then the text can be displayed, but significant character spacing adjustments are required to maintain readability
Solution Approach 1:
The patent performs preliminary font metric analysis and selection before actual text conversion. By pre-calculating combined glyph widths for candidate fonts and comparing them to the original font metrics, the system identifies the best replacement font in advance. This preliminary action ensures that the selected font requires minimal spacing adjustments, reducing the complexity of subsequent text formatting operations.
3Productivity
If font conversion is performed without metric analysis, then the process is simpler and faster, but the text appearance and readability are significantly degraded
Solution Approach 1:
The patent introduces metric comparison parameters (combined glyph widths) into the font conversion process. By calculating and comparing these parameters, the system transforms a simple replacement task into a metric-driven selection process. This parameter addition ensures that font conversion maintains text appearance quality while still achieving reasonable processing speeds through automated calculation.
Data Source
AI summary
A computer implemented method includes receiving embedded font text defining characters associated with an original font family. The embedded font text is processed to generate original glyph metrics data, a combined original font glyph width based on the original glyph metrics data, and one or more candidate font families are identified. For each candidate font family a combined candidate font family glyph width is calculated and a candidate font family difference, the candidate font family difference being a measure of how the candidate font family's combined candidate font family glyph width compares to the combined original font glyph width. A particular candidate font family is selected as a replacement font family based on the candidate font family differences of the one or more candidate font families.


