Typography Filter 2.0.0 Brings Granular Control and Developer Integration to Drupal
Alexander Shabanov has announced the release of Typography Filter 2.0.0, a new major version of the Drupal module designed to automatically improve typography and bring more control and flexibility to site builders and developers.
Edouard Cunibil originally created the Typography Filter module and is now maintained by Cunibil, lalop, and Alexander Shabanov.
It aims to solve inconsistent, messy typography on Drupal sites by applying typographic rules (like smart quotes, dashes, ellipses, unit spacing, etc.) automatically via filters. In version 2.0.0, two key enhancements are highlighted:
Granular Control Over Filters
Rather than a simple on/off toggle, users can now select exactly which typographic transformations to enable for each text format. This lets site builders tailor the filter’s behavior to content type and locale, avoiding undesired transformations in certain contexts.
Developer‑Ready Service Integration
Typography Filter can now be used as a backend service, enabling developers to invoke its transformations programmatically. For instance, given HTML content, one can call:
$result = \Drupal::service('typography_filter.manager')->fix($content, $rules, $locale, $protected_tags);Or to process plain text:
$result = \Drupal::service('typography_filter.manager')->fixString($content, $rules);Under the hood, the module relies on the JoliTypo PHP library for its microtypographic transformations. JoliTypo supports features such as smart quotes, hyphenation, unit spacing, and more. The module supports Drupal 10 and 11.
Other Technical Details & Compatibility
Version 2.0.0 is a stable release, announced on 5 October 2025. It works with Drupal ^10 || ^11.
To install:composer require "drupal/typography_filter:^2.0"
The update includes internal refactoring, such as converting the filter plugin discovery to use PHP attributes.
According to the project page, approximately 22 sites report using the module as of this release.
Earlier development of the module, up to version 8.x-1.0, was supported by the French Drupal agency Happyculture, who contributed paid development time.
- Version 2.0.0 adds fine‑tuned control over which typographic rules to apply
- Typography Filter is now callable as a backend service for programmatic use
- Built on the proven JoliTypo library
- Compatible with Drupal 10 and 11
- Released under stable status with security coverage
Download or view more details at the module’s Drupal.org page: Typography Filter on Drupal.org.
Source: LinkedIn post by Alexander Shabanov (2 Oct 2025) announcing the release.


