Introducing DWriteShapePy


Microsoft has released to open source a Python extension built using Cython for the purpose of testing text shaping of OpenType fonts using Direct Write. The model is similar to the model provided by uHarfBuzz but has some differences because differences in API models between Direct Write and HarfBuzz. DWriteShapePy was originally developed for use in some of our Python based font build and test scripts so text shaping of a font could be tested under both HarfBuzz and Direct Write.

The source repository is located here:

The release point on PyPi is available here:

Note that DWriteShapePy is only available for Windows platform because it depends on system installed Direct Write.