Microsoft KB Archive/145755

{|
 * width="100%"|

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

 * }

Q145755

-

The information in this article applies to:


 * Microsoft Win32 Software Development Kit (SDK), used with:
 * Microsoft Windows 95

-

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

Issue type :

Technology : kbWin32SDKSearch kbAudDeveloper kbSDKSearch kbWin32sSearch