摘要:
Described is a system and method by which text elements to be rendered on a computer display (e.g., paragraph, line or any subset of text including a character or glyph) may be individually or collectively animated, at an author-selected level of granularity. Animation of text may be specified by setting animation properties via direct coding (e.g., in markup) or by specifying animation code to execute on text-related data, just prior to rendering. The text to animate may be static, or dynamically obtained at runtime from an external source. The text to animate is maintained as a whole with other text of the same element, in a text object, until a processing level that produces separate glyph runs, with an animation transform associated with each glyph run to be animated. Also described is an API that supports text animation.
摘要:
A method for developing a writing system analyzer. In one implementation, a writing system may be represented in syntax-directed translation. The syntax-directed translation representation of the writing system may be compiled to generate a writing system analyzer. In one implementation, the writing system may be represented in syntax-directed translation by creating an environment using header files with one or more declarations in source code form and formulating one or more rules for representing the writing system using the declarations.
摘要:
Described is a system and method by which text elements to be rendered on a computer display (e.g., paragraph, line or any subset of text including a character or glyph) may be individually or collectively animated, at an author-selected level of granularity. Animation of text may be specified by setting animation properties via direct coding (e.g., in markup) or by specifying animation code to execute on text-related data, just prior to rendering. The text to animate may be static, or dynamically obtained at runtime from an external source. The text to animate is maintained as a whole with other text of the same element, in a text object, until a processing level that produces separate glyph runs, with an animation transform associated with each glyph run to be animated. Also described is an API that supports text animation.
摘要:
A method for displaying an input string of character codes as a sequence of glyphs. In one implementation, an ordered list of instructions for transforming an input string of character codes may be generated using syntax-directed translation. The ordered list of instructions may be executed to generate a sequence of glyph indices. A sequence of glyphs corresponding to the sequence of glyph indices may be displayed.
摘要:
A method for displaying an input string of character codes as a sequence of glyphs. In one implementation, an ordered list of instructions for transforming an input string of character codes may be generated using syntax-directed translation. The ordered list of instructions may be executed to generate a sequence of glyph indices. A sequence of glyphs corresponding to the sequence of glyph indices may be displayed.
摘要:
Described is a system and method by which a unique and permanent identifier is added to tags in hierarchically-arranged data (e.g., an XML or XAML file) by a first tool. The data with the unique and permanent identifiers is processed by a second tool into a flat file of key-value pairs, with the key being constructed from the identifier and attribute names, and the value comprising the corresponding value for that attribute. When the flat file from the new data file is compared to a flat file from an earlier version of the file, a standard merge program is able to better detect the differences, including differences caused by complex edits. The comparison is more granular than it would be if simply comparing the hierarchically-arranged file versions, thereby providing significant benefits in localization and other version tracking scenarios.
摘要:
Described is a system and method by which a unique and permanent identifier is added to tags in hierarchically-arranged data (e.g., an XML or XAML file) by a first tool. The data with the unique and permanent identifiers is processed by a second tool into a flat file of key-value pairs, with the key being constructed from the identifier and attribute names, and the value comprising the corresponding value for that attribute. When the flat file from the new data file is compared to a flat file from an earlier version of the file, a standard merge program is able to better detect the differences, including differences caused by complex edits. The comparison is more granular than it would be if simply comparing the hierarchically-arranged file versions, thereby providing significant benefits in localization and other version tracking scenarios.