Flagstone Software

00020. Font name in DefineFont2, FontInfo[2] has trailing null.

The name field in DefineFont, FontInfo and FontInfow contains the trailing null used to terminate the string.

Root Cause

The specification for the font definition objects includes a fields that gives the length in bytes for the name of the font. This implies that there is no terminating null byte but in reality there is. As a result the decoding of the font name as a UTF-8 string also includes the terminating null.

Workaround?

There is no workaround.

When will it be fixed?

This was fixed in Describe 3.1.6 released on 16-Jan-2008