D-Type Font Engine

A portable and feature-rich font engine library for rendering text of superb output quality with top-notch support for all scalable font formats.
D-Type Font Engine

Download Purchase

D-Type Font Engine is a portable C/C++ font engine library for applications that require fast, beautifully rasterized and highly legible scalable anti-aliased text. D-Type Font Engine supports D-Type, TrueType, OpenType, Type 1, Type 3 and bare CFF fonts, and features a robust, reliable and extensive font format-independent API. This library is suitable for any applications that wish to support all major scalable font formats while providing a wealth of features, advanced rendering capabilities and the highest output quality.

D-Type Font Engine is well suited for both device-dependent and device-independent text layout and does not require expensive manually hinted fonts with device-specific metrics or TrueType instructions to output perfectly pixel-tuned text. In fact, D-Type’s unique, intelligent and fully automated built-in font hinting mechanism makes your fonts look better than other font rendering technologies. The engine is suitable for all types of output devices, including monitors, LCD and TV screens, delivering exceptional performance and quality at any size on any platform.

Standard Features

Special Features

Variable and Multiple-Master Font Support

D-Type Font Engine provides direct support for multiple-master and OpenType variable font technology with either TrueType or CFF2 outlines. This technology allows two or more outline fonts, or base designs, to be incorporated into a single font file. Applications can create hundreds or thousands of additional font instances, or intermediate designs, from the base designs by applying D-Type’s unique real-time interpolation capabilities (also known as font morphing).

FIG 1 Variable and Multiple-Master Font Support
A
BASE
DESIGN

B1=100%
B2=0%
B3=0%
B4=0%
A
INTERMEDIATE
DESIGN

B1=67%
B2=33%
B3=0%
B4=0%
A
INTERMEDIATE
DESIGN

B1=33%
B2=67%
B3=0%
B4=0%
A
BASE
DESIGN

B1=0%
B2=100%
B3=0%
B4=0%
A
INTERMEDIATE
DESIGN

B1=67%
B2=0%
B3=33%
B4=0%
A
INTERMEDIATE
DESIGN

B1=44%
B2=22%
B3=22%
B4=12%
A
INTERMEDIATE
DESIGN

B1=22%
B2=44%
B3=12%
B4=22%
A
INTERMEDIATE
DESIGN

B1=0%
B2=67%
B3=0%
B4=33%
A
INTERMEDIATE
DESIGN

B1=33%
B2=0%
B3=67%
B4=0%
A
INTERMEDIATE
DESIGN

B1=22%
B2=12%
B3=44%
B4=22%
A
INTERMEDIATE
DESIGN

B1=12%
B2=22%
B3=22%
B4=44%
A
INTERMEDIATE
DESIGN

B1=0%
B2=33%
B3=0%
B4=67%
A
BASE
DESIGN

B1=0%
B2=0%
B3=100%
B4=0%
A
INTERMEDIATE
DESIGN

B1=0%
B2=0%
B3=67%
B4=33%
A
INTERMEDIATE
DESIGN

B1=0%
B2=0%
B3=33%
B4=67%
A
BASE
DESIGN

B1=0%
B2=0%
B3=0%
B4=100%
FIG 2 A plethora of fonts or just a single variable font?

Excellent font support, advanced hinting and anti-aliasing, unmatched performance, stability and security make D-Type one of the highest quality font engines on the market. The engine generates exactly the same result, down to the pixel, on any platform your application runs on — whether this is Windows, macOS, Linux, iOS, Android, or your own custom embedded system.

Unique Automatic Font Hinting

Our unique automatic font hinting makes text legible as if the corresponding fonts were manually hinted by an experienced typographer. The point, of course, is that labor-intensive manual font hinting process can be omitted. Even non-hinted or poorly hinted TrueType fonts will still look great with D-Type. It goes without saying that our automatic hinting is script and language independent. It works equally well with Roman, Cyrillic, Greek, Hebrew, Arabic, Indic, Chinese, Japanese, Korean and other world’s scripts.

FIG-3A Auto-hinted Arial
FIG-3B Auto-hinted Times New Roman

Because our hinting technology preserves the original typeface design and metrics, D-Type Font Engine is very suitable for device-independent text layout. You are guaranteed to get consistent presentation of text, uniform character spacing and unvarying text lengths, regardless of the resolution or zoom factor.

Special Style Effects

D-Type excels when it comes to special effects. The next illustration showcases just a few of the possibilities.

FIG-4A Special Style Effects
FIG-4B Special Style Effects

Text Filtering / Bitmap Tuning

D-Type Font Engine offers developers a variety of different text output options that are suitable for both device-dependent and device-independent text layout. No matter which mode you choose, the final result always looks great. Here are a few examples, all rendered by D-Type Font Engine using a 100% auto-hinted version of the popular Verdana font.

FIG-5A This mode is great for device/resolution dependent text layout. Superb text quality and great looking character spacing.
FIG-5B Same as the previous example, but with some filtering.

It’s quite remarkable that D-Type can achieve this outstanding quality just by processing raw glyph outlines! All the hinting, grid-fitting, alignment and character spacing calculations in the above examples are performed by D-Type Font Engine automatically, without any assistance from TrueType instructions or device-specific metrics. With D-Type, all you need in a font file are good quality glyph outlines, and satisfaction is guaranteed.

See our Comparison of D-Type and Other Font Rendering Engines page for more screenshots or check our D-Type Font Converter page for other benefits D-Type font technology provides.

Bitmap Compression

Glyph images can be stored in the bitmap cache in a highly compact (compressed) format. This storage format is a proprietary D-Type compression format that is particularly well-suited for 8-bpp grayscale bitmaps.

Bitmap compression is extremely fast and effective. When enabled, bitmaps will consume 3 to 10 times less space in the bitmap cache than non-compressed bitmaps. This is highly recommended when the size of the bitmap cache is small (e.g. in memory constrained environments).

Here is an example:

A plain 8-bpp grayscale bitmap of the glyph S A plain 8-bpp grayscale bitmap of the glyph "S". The dimensions of this bitmap are 84 x 108 pixels. Thus, this bitmap consumes 9,072 bytes of storage space in the bitmap cache if stored uncompressed.
A representation of the compressed grayscale bitmap of the glyph S A representation of the compressed grayscale bitmap of the same glyph "S". This compressed bitmap consumes only 1,395 bytes of storage space in the bitmap cache, which is about 15% of the original non-compressed size. Thus, by using bitmap compression, we were able to reduce this bitmap’s storage requirements by more than 6.5 times!

Key Specifications

Supported Font Formats

  • D-Type (.dtf)
  • TrueType (.ttf)
  • TrueType Collections (.ttc)
  • OpenType (TrueType Outlines) (.otf)
  • OpenType (Type 2/CFF Outlines) (.otf)
  • OpenType Collections (.otc)
  • Adobe Type 1 (.pfb, .pfa)
  • Bare CFF (.cff)
  • PostScript Type 3 that adhere to D-Type’s parsing rules (.ps)

Note 1: D-Type Font Engine supports both WOFF 1.0 and WOFF 2.0 (Web Open Font Format) packaging of TrueType and OpenType fonts and font collections.

Note 2: D-Type Font Engine supports parsing of OpenType fonts with color glyph layers (a special COLR table and a supplementary CPAL table) as well as OpenType bitmap glyph images (the sbix table with embedded PNG and/or JPEG images). Both COLR Version 0 and COLR Version 1 formats are fully supported. D-Type PowerDoc Engine supports rendering of these fonts.

Note 3: D-Type Font Engine does not interpret TrueType bytecode (also known as TrueType instructions) but uses its own font hinting technology to enhance the display of fonts. This makes TrueType bytecode completely obsolete.

Character Encoding Standards

  • Unicode
  • ANSI

Glyph Positioning

  • Integer
  • Fractional
  • Float

Outline Transformations

  • Scale
  • Rotation
  • Horizontal/vertical compression
  • Horizontal/vertical mirror
  • Horizontal/vertical skew
  • Custom affine matrix (2×2)
  • Outline and Dilatation (font emboldening) with custom thickness

Other Standard Features

  • True text outline with custom thickness
  • Transparent text, with adjustable transparency
  • Optional sub-pixel rendering optimized for LCD screens (RGB or BGR color ordering)
  • Rendering to a variety of surface formats (8-bpp, 16-bpp RGB, 24-bpp RGB, 32-bpp RGB, RGBA, ARGB)
  • Support for strict and relaxed processing mode
  • Accepts broken or malformed fonts in relaxed processing mode
  • Support for kerning (however, using D-Type Text Layout Extension for text layout and shaping is much better)

Special Features

  • Variable and multiple-master font support
  • Real-time font interpolation capabilities (font morphing)
  • Intelligent automatic font hinting
  • Advanced memory management
  • A built-in font validation subsystem
  • Text filtering / bitmap tuning
  • Bitmap compression
  • A plethora of style effects including blur, soft shadow (blur), glow, pattern fill, synthetic font emboldening, emboss and various shading effects

Grayscale Levels

  • Up to 256, fully customizable

Dependencies

None

Availability

Static or shared (dynamically linked) library for:

  • Microsoft Windows (all versions, both Intel and ARM based)
  • macOS (all versions, both Intel and ARM based)
  • Linux (all modern distributions, both Intel and ARM based)
  • BSD (FreeBSD, NetBSD, OpenBSD)
  • Raspberry Pi
  • Android
  • iOS
  • Xbox
  • Custom builds (32-bit and 64-bit architectures)

See Platforms and Portability for details.


Screenshots

Here are a few screenshots that show D-Type Font Engine in action.

FIG 6 Text outlines with custom thickness and style
FIG 7 Fractional and whole-pixel positioning
FIG 8 Render very large text without difficulties
FIG 9 Variable and Multiple-Master font support
FIG 10 Smooth real-time animation
FIG 11 Special text effects
FIG 12 Text arc
FIG 13 Multiple character spacing options
FIG 14 Text in perspective 1
FIG 15 Text in perspective 2

Need More Information?

If you have a question about D-Type technology that you can’t find the answer to, please use our Obtain Additional Information form. We will publish your question along with our response within a few days and notify you once the answer is available on our website.

Additionally, you may find it helpful to explore the history of D-Type releases and review the D-Type News page.

Get Started Now Using D-Type

Available in binary, object, and/or source code format for any hardware or operating system environment, D-Type technology is an excellent choice for software developers seeking a rendering solution that is affordable, mature, reliable, secure, well-maintained, well-supported, super-fast and packed with features.

About D-Type Contact Us

Copyright © 1996-2025 D-Type Solutions. Last updated on August 22, 2025.