Embodiments of the invention relate to data processing. More particularly, the invention relates to filtering text for display on a display screen.
Many different electronic displays exist today for a plurality of devices, including a variety of desktop and laptop computer displays, Personal Digital Assistants (PDAs), cellular telephones, MP3 players, and portable gaming systems. Various applications exist for using such displays in different types of lighting (e.g., low to high light levels) at different angles of viewing (e.g., straight ahead, from above, or to the side), or different orientations of the display (e.g., vertical or horizontal). The technical features of the various displays widely vary (e.g., dots or pixels per inch (DPI), the number of horizontal and/or vertical lines may be greater for a laptop display than for a cellular telephone display).
Various filters, processes and/or algorithms (e.g., character dilation, smoothing filters, sharpening filters, etc.) can be used to render text on the aforementioned display screens. These filters, algorithms and/or processes for rendering text on a display screen are typically implemented according to a static configuration. For example, one static filter might be used to render text on a display screen of a device primarily used outdoors in an environment with lots of light; another filter might be used to render text on a display screen of a device primarily used indoors. In other words, external conditions (e.g., light levels, device orientation, etc.) may factor into the choice and/or design of various filters. However, current text rendering systems/programs are static—text is always rendered according to the same configuration. While some systems may allow a user to manually select between two static configurations, there are situations in which it would be preferable to have dynamic and/or adaptive filtering.
The following description includes discussion of various figures having illustrations given by way of example of implementations of embodiments of the invention. The drawings should be understood by way of example, and not by way of limitation.
As used herein, references to one or more “embodiments” are to be understood as describing a particular feature, structure, or characteristic included in at least one implementation of the invention. Thus, phrases such as “in one embodiment” or “in an alternate embodiment” appearing herein describe various embodiments and implementations of the invention, and do not necessarily all refer to the same embodiment. However, they are also not necessarily mutually exclusive. Descriptions of certain details and implementations follow, including a description of the figures, which may depict some or all of the embodiments described below, as well as discussing other potential embodiments or implementations of the inventive concepts presented herein. An overview of embodiments of the invention is provided below, followed by a more detailed description with reference to the drawings.
The precise algorithms and filters for rendering text on a display screen are beyond the scope of the invention and will not be discussed in detail, except as they relate to embodiments described herein.
As used herein, the term “text” refers to any character or combination of characters in a character set including, but not limited to, a letter, a number, or a symbol. Text rendered on a display screen is referred to herein as a glyph. An outline is a collection of lines and curves to depict a character before creation of a glyph.
In a typical text rendering system, a set of outline points for a character are retrieved. A character may be identified by a single byte value (e.g., from $00 to $FF) or by multiple bytes (e.g., two bytes for the Japanese language) or another form of identifier. Upon recognizing a value identifying a specific character of a character set (e.g., uppercase “A”), the set of outline points may be retrieved for that character.
Once the set of outline points has been retrieved, the curves of an outline are calculated from the collection of points. In one embodiment, two types of outline points exist: on-curve points and off-curve points. The on-curve points define the endpoints of a curve. The off-curve points are used in determining the curvature of the curve. If no off-curve point exists for two on-curve points defining a curve, then the curve is straight line between the two on-curve points. In one embodiment, the module uses a parametric Bezier equation with the on-curve and off-curve points as input in order to draw the collection of curves and thus the outline. In other embodiment, the curves may be defined by any type of equation or algorithm (e.g., Frenet-Serret formula).
One technique that can be used to improve the appearance of a rasterized image is to shade a pixel based on the coverage of the pixel. For example, pixel 316 of
Using an 8-bit RGB color scheme as an example, each sub-pixel in pixel 410 has 256 possible values. Thus, a pixel having the RGB values [255, 0, 0] produces a red-colored pixel; RGB values of [0, 255, 0] produces a green-colored pixel, etc. The 8-bit RGB color scheme and sub-pixel layout is used by way of illustration only herein. Other schemes, layouts and/or pixel types can be used in embodiments of the invention; it is sufficient for the description herein to recognize that each sub-pixel in a pixel can have different values.
Given a sensor, such as sensor 630 in
The process of illustrated in
The one or more processors 901 execute instructions in order to perform whatever software routines the computing system implements. The instructions frequently involve some sort of operation performed upon data. Both data and instructions may be stored in system memory 903 and cache 904. Cache 904 is typically designed to have shorter latency times than system memory 903. For example, cache 904 might be integrated onto the same silicon chip(s) as the processor(s) and/or constructed with faster SRAM cells whilst system memory 903 might be constructed with slower DRAM cells. By tending to store more frequently used instructions and data in the cache 904 as opposed to the system memory 903, the overall performance efficiency of the computing system improves.
System memory 903 may be deliberately made available to other components within the computing system. For example, the data received from various interfaces to the computing system (e.g., keyboard and mouse, printer port, LAN port, modem port, etc.) or retrieved from an internal storage element of the computing system (e.g., hard disk drive) are often temporarily queued into system memory 903 prior to their being operated upon by the one or more processor(s) 901 in the implementation of a software program. Similarly, data that a software program determines should be sent from the computing system to an outside entity through one of the computing system interfaces, or stored into an internal storage element, is often temporarily queued in system memory 903 prior to its being transmitted or stored.
The ICH 905 is responsible for ensuring that such data is properly passed between the system memory 903 and its appropriate corresponding computing system interface (and internal storage device if the computing system is so designed). The MCH 902 is responsible for managing the various contending requests for system memory 903 access amongst the processor(s) 901, interfaces and internal storage elements that may proximately arise in time with respect to one another.
One or more I/O devices 908 are also implemented in a typical computing system. I/O devices generally are responsible for transferring data to and/or from the computing system (e.g., a networking adapter); or, for large scale non-volatile storage within the computing system (e.g., hard disk drive). ICH 905 has bidirectional point-to-point links between itself and the observed I/O devices 908.
Embodiments of the invention may include various operations as set forth above. The operations may be embodied in machine-executable instructions which cause a general-purpose or special-purpose processor to perform certain operations. Alternatively, these operations may be performed by specific hardware components that contain hardwired logic for performing the operations, or by any combination of programmed computer components and custom hardware components.
Elements of the present invention may also be provided as a machine-readable medium (e.g., a computer readable medium) for storing the machine-executable instructions. The machine-readable medium may include, but is not limited to, floppy diskettes, optical disks, CD-ROMs, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, flash, magnetic or optical cards, propagation media or other type of media/machine-readable medium suitable for storing electronic instructions.
Besides what is described herein, various modifications may be made to the disclosed embodiments and implementations of the invention without departing from their scope. Therefore, the illustrations and examples herein should be construed in an illustrative, and not a restrictive sense. The scope of the invention should be measured solely by reference to the claims that follow.
Number | Date | Country | |
---|---|---|---|
60945901 | Jun 2007 | US |