摘要:
Methods and systems permit rendering a text element formatted using unavailable or restricted fonts. In one embodiment, when producing a document that contains a restricted font, text portions formatted with the restricted font are processed into an alternate representation. A textual representation for the text portions and the additional representation(s) are embedded in a document or container. A unique representation for the restricted font file allows a consuming computing system to attempt to find the restricted font locally. Each textual representation is rendered using its corresponding restricted font, if the restricted font file is found. Otherwise, the additional representation(s) are used.
摘要:
Modular content framework and document format methods and systems are described. The described framework and format define a set of building blocks for composing, packaging, distributing, and rendering document-centered content. These building blocks define a platform-independent framework for document formats that enable software and hardware systems to generate, exchange, and display documents reliably and consistently. The framework and format have been designed in a flexible and extensible fashion. In addition to this general framework and format, a particular format, known as the reach package format, is defined using the general framework. The reach package format is a format for storing paginated documents. The contents of a reach package can be displayed or printed with full fidelity among devices and applications in a wide range of environments and across a wide range of scenarios.
摘要:
Methods for filtering a file written in Extensible Application Markup Language (XAML) and incrementally returning the logical content contained therein to the environment, e.g., a search engine, are provided. Additionally provided are methods for extracting logical content contained in a XAML file to facilitate searching and/or indexing thereof. The methods provided permit the filtering of files containing only flow-format elements, files containing only elements representing fixed-format pages, and/or files containing both flow-format and elements representing fixed-format pages.
摘要:
Disclosed is a central cache that is updated without the overhead of locking. Updates are “atomic” in that they cannot be interrupted part way through. Applications are always free to read data in the cache, accessing the data through a reference table. Applications do not directly update the cache, instead, they send update requests to a service routine. To update the cache, the service routine proceeds in two phases. In the first phase, the service routine prepares the new data and adds them to the cache, without updating the reference table. During the first phase, an application accessing the cache cannot “see” the new data because the reference table has not yet been updated. After the first phase is complete, the service routine performs the second phase of the update process: atomically updating the reference table. The two-phase update process leaves the cache, at all times, in a consistent state.
摘要:
Disclosed is a central cache that is updated without the overhead of locking. Updates are “atomic” in that they cannot be interrupted part way through. Applications are always free to read data in the cache, accessing the data through a reference table. Applications do not directly update the cache, instead, they send update requests to a service routine. To update the cache, the service routine proceeds in two phases. In the first phase, the service routine prepares the new data and adds them to the cache, without updating the reference table. During the first phase, an application accessing the cache cannot “see” the new data because the reference table has not yet been updated. After the first phase is complete, the service routine performs the second phase of the update process: atomically updating the reference table. The two-phase update process leaves the cache, at all times, in a consistent state.
摘要:
Extensible font file loading systems and methods are provided. In embodiments, a font file is requested and a handle associated with a font-file stream is received, the font-file stream being associated with the requested font file. The font file is then loaded using the received font-file stream. Alternatively, the handle may be received from a font-file loader. Once loaded, the font file may be utilized to render the appropriate font, for instance, utilizing an appropriate presentation component (e.g., a monitor) associated with a computing device.
摘要:
Various technologies and techniques are disclosed that improve text rendering contrast. The shape of one or more characters is converted from an original format, such as a vector format received from a font, to an overscaled bitmap format. The width of the shape of the character is adjusted based on a text contrast setting. For example, the width of the shape can be adjusted by extending a right or other edge of the shape by the number of pixels corresponding to the numerical value of the text contrast setting. The shape is made wider or thinner based on the text contrast setting. A filtering procedure is used to determine density values for how the shape corresponds to a set of screen pixels. The density values are blended with color values related to the display device to form a modified shape ready for output. The modified shape is then displayed.