BUG: Can't Justify Text with Japanese Script Terminal Font (145755)



The information in this article applies to:

  • Microsoft Platform Software Development Kit (SDK) 1.0, when used with:
    • Microsoft Windows 95

This article was previously published under Q145755

SYMPTOMS

If the Japanese Script of the Terminal font is selected into the device context and then SetTextJustification is called to justify a text string, the text is not justified.

CAUSE

The Japanese Script of the Terminal font has a tmBreakChar value of zero. This prevents SetTextJustification from specifying the amount of space Windows should add to the break characters in a string of text. The tmBreakChar value should be 32 which is the half-space character.

RESOLUTION

The Japanese Script of the Terminal font should not be used to create justified text using SetTextJustification. This problem will be fixed in the next release of Windows 95.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Modification Type:MinorLast Reviewed:7/11/2005
Keywords:kbIntlDev KB145755