JDK-4191618 : Setting Font.WIDTH text attribute has no affect.
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 1.2.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_95
  • CPU: x86
  • Submitted: 1998-11-19
  • Updated: 2005-08-25
  • Resolved: 2005-08-25
Related Reports
Duplicate :  
Description
Name: gsC80088			Date: 11/19/98


Creating a font with a map that specifies the
width, name, and size of a font works, and
subsequent queries return the correct values. 
However, altering the width has no affect when
drawn using Graphics.drawString() or Graphics.drawGlyphVector().
(Review ID: 42177)
======================================================================

Comments
EVALUATION This works fine in JDK 6 (mustang) and I believe was fixed by the work for 4296952 which made all attributes work on a Font. So I am closing as a duplicate of 4296952 Whilst WIDTH could be implemented in some cases by finding a condensed version of a font for example, its actually implemented using a transform, so should work for any font.
25-08-2005

EVALUATION The width of the font may be changed by using something like font variations or modifying the font outlines in some algorithmic way. Currently 2D fonts do not have this feature. parry.kejriwal@eng 1999-04-28
28-04-1999