#2875·PHPWord

Support for number forms and number spacing

Author: christian-friesCreated May 7, 2026Updated May 7, 2026
LabelsChange Request

Describe the problem

Word provides options to control the number spacing and the number forms in advanced font settings. These values control how numbers are rendered.

Word options for number spacing: Default, Proportional, Tabular

Image

Word options for number forms: Default, Lining, Old-style

Image

The related XML tags are w14:numForm and w14:numSpacing.

For web browsers, these settings can be controlled using the CSS property font-variant-numeric. Examples can be found here for number forms and here for number spacing.

In PHPWord, there is no setting to control these settings.

Describe the expected behavior

The font style of PHPWord should provide options to configure numForm and numSpacing.

Priority

  • I want to crowdfund the feature (with @algora-io) and fund a community developer.
  • I want to pay the feature and fund a maintainer for that. (Contact @Progi1984)