Font feature file processing

Computer graphics processing and selective visual display system – Computer graphics processing – Character generating

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C345S471000

Reexamination Certificate

active

06426751

ABSTRACT:

BACKGROUND OF THE INVENTION
The present invention relates to the conversion and modification of digital fonts.
A set of characters with a particular design is called a “typeface”. A digital font (referred to here simply as a “font”), such as a PostScript® font available from Adobe Systems Incorporated of San Jose, Calif. (“Adobe”), generally includes instructions (normally read and interpreted by rendering programs executing on programmable processors) for rendering characters in a particular typeface.
The OpenType™ font format was jointly developed by Adobe and Microsoft Corporation of Redmond, Wash. (“Microsoft”).
OpenType fonts include a variety of tables, and optionally include OpenType Layout tables, which allow font creators to design better international and high-end typographic fonts. The OpenType Layout tables contain information on glyph substitution, glyph positioning, justification, and baseline positioning, enabling text-processing applications to improve text layout. The tables contain binary data representing typographic features, which can in that form be added to OpenType fonts. For example, the glyph substitution (‘GSUB’) table in an OpenType font can contain a ligature (‘liga’) feature that could specify that adjacent f and i glyphs in a body of text set in the font be replaced by the fi ligature glyph in the font. Traditionally, such tables have been created by writing specific programs to generate the binary data or by first preparing a text input file that details the values that go into each font table data structure, and then running a tool that assembles the textual representation into the binary form required by OpenType. The first of these approaches lacks flexibility while the latter, exemplified by the True Type Open Assembler (TTOASM) developed by Microsoft, is very low level and requires complete knowledge of the underlying data structures and is thus unsuitable for font editors who tend to have graphic arts training rather than computer science backgrounds.
SUMMARY OF THE INVENTION
The invention provides methods and apparatus that process a front-end editable text file—which will be referred to as a feature file—that a user (such as a font editor) can use to define changes to an existing font file, such as an OpenType™ font file, or to create a font file. The feature file contains simple logic statements for the specification of various typographical features, such as layout features, that may enhance or supplement a source font. The feature file may contain override values for fields in font tables. The feature file can be processed in combination with an existing font file to establish an enhanced font file.
In general, in one aspect, the invention features a method of adding typographic features to a font. The method includes providing a feature file containing feature definitions expressed in a high-level feature definition language; reading and parsing the feature file in a computer program to generate internal representations of the feature definitions and storing the internal representation in computer memory; converting the feature definitions into font table or subtable definitions; and writing out the table or subtable definitions into a font file.
In general, in another aspect, the invention features a system operable to add typographic features to a font. The system includes a programmable computer having an instruction processor, random access memory, and data file memory; means for reading a feature file containing feature definitions expressed in a high-level feature definition language; means for parsing the feature file to generate internal representations of the feature definitions; means for storing the internal representation in the random access memory; means for converting the feature definitions into font table or subtable definitions; and means for writing out the table or subtable definitions into a font file stored in the data file memory.
In general, in another aspect, the invention features a computer program product, tangibly stored on a computer-readable medium, for adding typographic features to a font. The product includes instructions operable to cause a computer to read a feature file containing feature definitions expressed in a high-level feature definition language; to parse the feature file to generate internal representations of the feature definitions; to store the internal representation in a memory; to convert the feature definitions into font table or subtable definitions; and to write out the table or subtable definitions into a font file.
In its various implementations, the invention can include one or more of the following advantageous features. The invention reads the feature file, including any other files included by an include mechanism, and extracts the rules, reporting any errors found in the feature file. It groups the rules appropriately by type and decides what table and subtable format to use for each group of rules. A specific font table or subtable can be identified inferentially from a substitution rule statement. Shared data structures can be created without user intervention from the feature definitions and redundancies can be removed before writing out the feature definitions into a font file. The feature definition language can be defined without constructs to express a subtable format selection.
Advantages that can be seen in implementations of the invention include one or more of the following. The flexible form in which user-defined features can be specified in the feature file accommodates a wide variety of font characteristics. Font features are specified using an English-like grammar in a data file which may be created and modified using any text editor. This provides great flexibility and considerably facilitates the task of the font editor who is producing or modifying a font. The font editor does not have to know details of the underlying data structures. The user can use language constructs that are not limited to a one-to-one correspondence with font data structures. The appropriate format of subtables is automatically selected. Modification to the font is made in a manner that facilitates efficient file storage. Optimizations are performed on shared data, which reduces the size of the font. A mechanism to include other files can be used to share data that is standard across fonts. A parser provides error feedback to the editor when errors are encountered in the feature file. A glyph name-aliasing mechanism can be used. Algorithmic creation of an all alternates (aalt) feature is provided.
The details of one or more embodiments of the invention are set forth in the accompanying drawings and the description below. Other features and advantages of the invention will become apparent from the description, the drawings, and the claims.


REFERENCES:
patent: 4594674 (1986-06-01), Boulia et al.
patent: 4827530 (1989-05-01), Yamaguchi et al.
patent: 5506940 (1996-04-01), Bamford et al.
patent: 5533180 (1996-07-01), Zhou et al.
patent: 5726768 (1998-03-01), Ishikawa et al.
patent: 5803629 (1998-09-01), Neville et al.
Macromedia Fontographer User's manual version 4.1, Aug. 1993, Altsys Corporation, Second Edition, p. 314.*
Macromedia Fontographer User's manual version 4.1, Aug. 1993, Altsys Corporation, Second Edition, pp. 5-11, & 18.*
Apple Computer, “Making Newton OS Fonts,” downloaded from www./fonts.apple.com/Newton/Index.html, 6 pgs, (Apr. 13, 1999).
Apple Computer, “How GX does Justification” Introduction, downloaded from www.fonts.apple.com/WhitePapers/GXJustification.html, 3 pgs, (Feb. 4, 1998).
Apple Computer, “Adding Basic AAT Support to a Font,” downloaded from www./fonts.apple.com/Adding AAT/, 6pgs. (published before Apr. 1, 1999).
Apple Computer, “About the AAT Font Tool,” Introduction, downloaded from www./fonts.apple.com/tooldir/, 2 pgs, published before Apr. 1, 1999).
Apple Computer, “How to Use Add Lists,” Introduction, downloaded from www.fonts.apple.com./Tools/ tooldir/, 6 pgs, (published before Apr. 1, 1999).
Apple Computer, “Font Tools,” Introduction,

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Font feature file processing does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Font feature file processing, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Font feature file processing will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2836957

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.