×

Rule-based text layout

  • US 7,783,969 B1
  • Filed: 08/18/2009
  • Issued: 08/24/2010
  • Est. Priority Date: 10/01/2004
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • receiving a spacing classification file specifying a classification for a Latin-based character set, the classification file being a text file containing in text form multiple character class definitions each defining a character class, each character class definition defining a character class as having one or more arbitrary Latin-based characters, the classification file further containing multiple inter-class spacing rules, in text form, each associated with an ordered pair of character classes, each inter-class spacing rule defining one or more spacing parameters for the ordered pair of character classes;

    laying out a line of text using the inter-class spacing rules, the line of text comprising a sequence of Latin-based character glyphs derived from a sequence of characters, the sequence of characters including one or more characters belonging to different character classes, the laying out the line of text using one or more processors;

    if the line of text needs to be compressed to a target line width, compressing the line of text according to the inter-class spacing rules for each of two or more pairs of sequential characters in the sequence of characters, the inter-class spacing rules being defined in the spacing classification file, the inter-class spacing rules identifying a particular compression range for each pair of characters; and

    if the line of text needs to be stretched to a target line width, decompressing the line of text according to the inter-class spacing rules for each of two or more pairs of sequential characters in the sequence of characters, the inter-class spacing rules being defined in the spacing classification file, the inter-class spacing rules identifying a particular stretching range for each pair of characters.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×