Typography Detection Using Hash-Based Querying

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional typography systems face challenges in accurately and efficiently detecting typography elements, such as glyphs and fonts, from vector outlines in digital files, especially when these files lack corresponding information, and often require specific formatting and installed fonts, leading to inefficiencies in memory and computational resource usage.

Innovation Solution

The system employs hash-based querying, path-descriptor matching, and anchor-point matching to identify glyphs and fonts in vector outlines, generating point-order-agnostic hash keys and path descriptors to select candidate glyphs without relying on point or path order, allowing for efficient detection without training and without the need for installed fonts.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If conventional typography systems use vector outlines to maintain typography characteristics across different devices and file types, then compatibility and reliability are improved, but the ability to accurately detect glyph and font information deteriorates

Engineering Contradiction:
ImprovecompatibilityVSAvoiddetection accuracy
Core Design Contradiction:
ReliabilityVSMeasurement precision

Solution Approach 1:

The system segments the glyph matching process into multiple stages: first using hash-based filtering to divide the large font database into smaller candidate groups, then applying path descriptor matching to further narrow down candidates, and finally performing detailed geometric comparison. This segmentation allows accurate detection while maintaining compatibility across different devices and file types.

Inventive Principle:
Principle #1Segmentation

2Measurement precision

If conventional systems compare point orders and path orders to match glyphs, then detection accuracy is improved, but computational complexity and memory usage worsen

Engineering Contradiction:
Improvedetection accuracyVSAvoidcomputational complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system extracts and removes the point order and path order information from the comparison process, focusing only on the geometric shapes and spatial relationships of anchor points. By taking out these ordering constraints, the system achieves accurate glyph matching without the computational burden of comparing point sequences, significantly reducing complexity while maintaining detection accuracy.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system changes the comparison parameters from ordered point sequences to unordered geometric features, specifically using anchor point coordinates and path descriptors that are invariant to point ordering. This parameter transformation allows accurate matching while avoiding the exponential computational complexity associated with ordered comparisons.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If conventional typography systems require installed fonts on user devices, then detection reliability is improved, but adaptability and ease of operation worsen

Engineering Contradiction:
Improvedetection reliabilityVSAvoidfont variety
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The system introduces an intermediary cloud-based font database that mediates between the user device and the comprehensive font collection. Instead of requiring fonts to be installed locally, the system accesses fonts through the cloud intermediary, maintaining detection reliability while dramatically improving adaptability to support a wide variety of fonts and glyphs without installation requirements.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS11847159B2Detecting typography elements from outlines
Publication Date: 2023.12.19 ADOBE INC
  • US11847159B2 patent drawing
  • US11847159B2 patent drawing
  • US11847159B2 patent drawing

AI summary

Systems, methods, and non-transitory computer-readable media are disclosed for determining a glyph and a font from a vector outline by applying various combinations of hash-based querying, path-descriptor matching, or anchor-point matching. For example, the disclosed systems can select a subset of candidate glyphs for a vector outline based on (i) comparing hash keys of candidate glyphs with a point-order-agnostic hash key corresponding to the vector outline and (ii) comparing a path descriptor for a primary path of the vector outline to path descriptors corresponding to candidate glyphs. By further comparing anchor points between the vector outline and the subset of candidate glyphs, the disclosed systems can select both a glyph and a font matching the vector outline.