JDK-4112240 : Font.GetOutline api should be moved to GlyphSet
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 1.2.0
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 1998-02-13
  • Updated: 1998-05-06
  • Resolved: 1998-05-06
Related Reports
Duplicate :  
Description

Name: bb33257			Date: 02/13/98


Font has API to get the outline of a glyphset.  This API should
be moved to GlyphSet.

Only the glyphset is required, as it knows the Font that 
created it.  Moving the API to GlyphSet avoids programmer errors
resulting from passing  a GlyphSet to a font that did not 
create it.  

All similar API is implemented on GlyphSet.  Putting this API
on GlyphSet is better object-oriented design, and it will be 
easier to document and use if the API is consistent.  Programmers
should ask the GlyphSet for its own Shape.


======================================================================

Comments
WORK AROUND Name: bb33257 Date: 02/13/98 This is a design bug. The fix is to move this API from Font to GlyphSet. ======================================================================
11-06-2004

EVALUATION getOutline removed from Font. TextLayout and GlyphVector have "getOutline" paul.charlton@eng 1998-05-06
06-05-1998

PUBLIC COMMENTS getOutline removed from Font. TextLayout and GlyphVector have "getOutline" paul.charlton@eng 1998-05-06
06-05-1998