US 11,907,640 B2
Systems and methods for converting embedded font text data
Stephan Schwiebert, Sydney (AU); Velislava Yanchina, Surry Hills (AU); and Henrry Eduardo Iguaro Jaramillo, Sydney (AU)
Assigned to CANVA PTY LTD, Surry Hills (AU)
Filed by Canva Pty Ltd, Surry Hills (AU)
Filed on May 11, 2022, as Appl. No. 17/741,561.
Claims priority of application No. 2021203578 (AU), filed on Jun. 1, 2021.
Prior Publication US 2022/0382962 A1, Dec. 1, 2022
Int. Cl. G06F 40/109 (2020.01); G06F 40/166 (2020.01); G06F 40/106 (2020.01)
CPC G06F 40/109 (2020.01) [G06F 40/106 (2020.01); G06F 40/166 (2020.01)] 14 Claims
OG exemplary drawing
 
1. A computer implemented method including:
receiving embedded font text, the embedded font text defining characters associated with an original font family, the original font family being an unsupported font family;
processing the embedded font text to generate original glyph metrics data, the original glyph metrics data defining each unique glyph used in the embedded font text and a count of the number of times each unique glyph is used in the embedded font text;
calculating a combined original font glyph width based on the original glyph metrics data;
identifying one or more candidate font families, each candidate font family associated with a plurality of candidate font family glyphs;
for each candidate font family:
calculating a combined candidate font family glyph width, the combined candidate font family glyph width being based on the candidate font family's candidate font family glyphs and the original glyph metrics data;
calculating 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; and
selecting a particular candidate font family as a replacement font family based on the candidate font family differences of the one or more candidate font families.