Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Font rasterization
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Currently used rasterization systems == In modern operating systems, rasterization is normally provided by a [[shared library]] common to many applications. Such a shared library may be built into the [[operating system]] or the [[desktop environment]], or may be added later. In principle, each application may use a different font rasterization library, but in practice most systems attempt to standardize on a single library. [[Microsoft Windows]] has supported subpixel rendering since [[Windows XP]]. On the other hand, the standard Microsoft rasterizer without ClearType is an example of one that prioritizes [[type designer]]'s intent of clarity; by forcing text into integral coordinate positions, following the [[type designer]]'s intent of hinting, and even not antialiasing certain fonts at certain sizes, following the [[type designer]]'s intent of the gasp table, it becomes easier to read on the screen, but may appear somewhat different when printed. This has changed with Direct2D/DirectWrite shipping on Windows 7 and Windows Vista platform update, allowing subpixel text positioning to 1/16 pixel sizes.<ref>[http://msdn2.microsoft.com/en-us/library/ms749295.aspx MSDN Library : .NET Development : WPF : ClearType Overview]</ref> [[Mac OS X]]'s [[Quartz (graphics layer)|Quartz]] is distinguished by the use of subpixel positioning; it does not force glyphs into exact pixel locations, instead using various antialiasing techniques,<ref>{{cite web |title=[ft] Fwd: Re: Texts Rasterization Exposures |url=https://lists.gnu.org/archive/html/freetype/2007-07/msg00007.html |website=lists.gnu.org}}</ref> including [[subpixel rendering]], to position characters and lines to appear further from the [[type designer]]'s intent of hinting and closer to the original outline. The result is that the on-screen display looks extremely similar to printed output, but can occasionally be difficult to read at smaller point sizes. The Quartz renderer has, since macOS Mojave, removed subpixel rendering, relying purely on greyscale anti-aliasing instead. This change is acceptable to HiDPI "retina" screens, but makes text on external monitors harder to read.<ref>{{cite web |title=MacOS Mojave removes subpixel anti-aliasing, making non-retina displays blurry {{!}} Hacker News |url=https://news.ycombinator.com/item?id=17476873 |website=news.ycombinator.com}}</ref> Most other systems use the [[FreeType]] library, which depending on the settings, can fall anywhere between Microsoft's and Apple's implementations; it supports hinting and anti-aliasing, and optionally performs subpixel rendering and positioning. FreeType also offers some features not present in either implementation such as color-balanced subpixel rendering and gamma correction.<ref>{{cite web |title=On slight hinting, proper text rendering, stem darkening and LCD filters |url=https://freetype.org/freetype2/docs/hinting/text-rendering-general.html |website=freetype.org}}</ref> Applications may also bring their own font rendering solutions. Graphics frameworks like [[Skia Graphics Engine]] (used by [[Google Chrome]]) occasionally use their own font renderer. Video games and other 3D applications may also need faster, GPU-based renderers such as various [[signed distance function|SDF]]-based renderers and "Slug".<ref>{{cite web |title=Slug Font Rendering Library |url=https://sluglibrary.com/ |website=sluglibrary.com}}</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)