D-Type Unicode Text Module

A powerful, compact, feature-rich and remarkably simple-to-use module to lay out, render and edit Unicode text.
D-Type Unicode Text Module

Download Purchase

D-Type Unicode Text Module is a portable C/C++ library for laying out, rendering and editing Unicode text. It is designed to be powerful, fast, flexible, elegant and, above all, extremely easy to use. With only a few key functions, it allows application developers to easily create, format, lay out and render high-quality text in virtually any Unicode script and language, while also handling cursor positioning, selection highlighting, and text editing.

D-Type Unicode Text Module is a module for D-Type PowerDoc Engine. Aside from D-Type PowerDoc Engine and its dependencies, this module does not require any other third-party libraries or fonts to function properly.

Features

Text layout and rendering that incorporates advanced styling and formatting, bidirectional text support, font handling, various Unicode algorithms, contextual shaping, cursor handling, selection highlighting and automatic text flow is a very complex task. Most programmers lack the necessary skills, knowledge, know-how and time to develop and maintain their own text composition engines. D-Type Unicode Text Module is currently the only product of this kind available on the market. No other library can easily match the performance, quality, flexibility, portability, reliability, technical elegance and simplicity of D-Type Unicode Text Module.

General

Layout and Formatting

Advanced

Key Specifications

Key Functions

  • Text layout
  • Rich text styling and formatting
  • Cursor positioning and movement
  • Selection highlighting
  • Text editing

Text Styling / Formatting Attributes

Over 100 attribute identifiers organized into the following 18 categroies:

  1. Typography
  2. Text Body
  3. Text Shadow
  4. Text Outline
  5. Text Underline
  6. Text Layout
  7. Text Ruler
  8. Miscellaneous
  9. Typographic Frame — Body
  10. Typographic Frame — Shadow
  11. Typographic Frame — Outline
  12. Row Boundary
  13. Row Boundary — Body
  14. Row Boundary — Shadow
  15. Row Boundary — Outline
  16. Text Baseline
  17. Text Baseline — Line
  18. Text Baseline — Shadow

Supplied Hyphenation Dictionaries:

  • English
  • French
  • German
  • Spanish
  • Russian
  • Bulgarian
  • Czech
  • Croatian
  • Danish
  • Dutch
  • Greek (Monotonic)
  • Greek (Polytonic)
  • Finnish
  • Hungarian
  • Italian
  • Norwegian (Bokmal)
  • Norwegian (Nynorsk)
  • Polish
  • Portuguese
  • Romanian
  • Slovak
  • Slovenian
  • Serbian (Cyrillic)
  • Swedish
  • Turkish
  • Ukrainian

Text Segmentation

  • Via Unicode Script Tables and Fontmap

Bidirectional Text Display Methods

  • Bidirectional Reordering
  • Bidirectional Rotation

Text Device Modes

  • Device-dependent
  • Device-independent
  • Mixed

Text Transformations

  • Affine Matrix (2×2)
  • 2D Projectve Transformation Matrix (3×3)

Input Text Encoding Schemes

Same as D-Type Text Layout Extension

Supported Unicode Scripts

Same as D-Type Text Layout Extension

Output Text Direction

Horizontal Layout (Text in Rows) and Bidirectional Reordering:
  1. Left-to-Right, Top-to-Bottom (e.g. Latin, Cyrillic, Greek)
  2. Right-to-Left, Top-to-Bottom (e.g. Arabic, Hebrew)
  3. Left-to-Right, Bottom-to-Top
  4. Right-to-Left, Bottom-to-Top
  5. Same as 1 but swap Portrait & Landscape
  6. Same as 2 but swap Portrait & Landscape
  7. Same as 3 but swap Portrait & Landscape
  8. Same as 4 but swap Portrait & Landscape
Vertical Layout (Text in Columns) and Bidirectional Reordering:
  1. Top-to-Bottom, Right-to-Left (e.g. Vertical Chinese)
  2. Bottom-to-Top, Right-to-Left
  3. Top-to-Bottom, Left-to-Right
  4. Bottom-to-Top, Left-to-Right
  5. Same as 9 but swap Portrait & Landscape
  6. Same as 10 but swap Portrait & Landscape
  7. Same as 11 but swap Portrait & Landscape
  8. Same as 12 but swap Portrait & Landscape
Horizontal Layout (Text in Rows) and Bidirectional Rotation:
  1. Left-to-Right, Top-to-Bottom (e.g. Latin, Cyrillic, Greek)
  2. Right-to-Left, Top-to-Bottom (e.g. Arabic, Hebrew)
  3. Left-to-Right, Bottom-to-Top
  4. Right-to-Left, Bottom-to-Top
  5. Same as 17 but swap Portrait & Landscape
  6. Same as 18 but swap Portrait & Landscape
  7. Same as 19 but swap Portrait & Landscape
  8. Same as 20 but swap Portrait & Landscape
Vertical Layout (Text in Columns) and Bidirectional Rotation:
  1. Top-to-Bottom, Right-to-Left (e.g. Vertical Chinese)
  2. Bottom-to-Top, Right-to-Left
  3. Top-to-Bottom, Left-to-Right
  4. Bottom-to-Top, Left-to-Right
  5. Same as 25 but swap Portrait & Landscape
  6. Same as 26 but swap Portrait & Landscape
  7. Same as 27 but swap Portrait & Landscape
  8. Same as 28 but swap Portrait & Landscape

Dependencies

D-Type PowerDoc Engine and its dependencies

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 Unicode Text Module in action.

FIG 1 International text and Unicode support
FIG 2 Sixteen different types of text progression

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.