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

ID: Q145755


The information in this article applies to:


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.

Additional query words: 4.00


Keywords          : kbIntlDev 
Version           : 4.00
Platform          : WINDOWS 
Issue type        : 

Last Reviewed: March 7, 1999