Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 301249

Summary: [TextSizeDetermination] holds on session-scoped fonts
Product: [RT] RAP Reporter: Rüdiger Herrmann <ruediger.herrmann>
Component: DemoAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 1.3 M5   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
Fix: store FontData instaed of Font none

Description Rüdiger Herrmann CLA 2010-01-29 09:14:07 EST
Various parts of the TextSizeDetermination hold references to Fonts in static lists and maps (application scoped).
Since resolving bug 284385, a Font may be assiciated to a display which means some fonts have session scope.
This may lead to memory leaks.
Comment 1 Rüdiger Herrmann CLA 2010-01-29 09:15:30 EST
Created attachment 157620 [details]
Fix: store FontData instaed of Font
Comment 2 Rüdiger Herrmann CLA 2010-01-29 12:40:21 EST
Applied patch with minor changes to CVS HEAD