Bug 35915 - Need a locale String from FontData
Summary: Need a locale String from FontData
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.1   Edit
Hardware: PC Linux-Motif
: P3 enhancement (vote)
Target Milestone: 3.0   Edit
Assignee: Grant Gayed CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 35335
  Show dependency tree
 
Reported: 2003-04-01 10:38 EST by Tod Creasey CLA
Modified: 2008-04-11 14:08 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tod Creasey CLA 2003-04-01 10:38:44 EST
2.1

We need a way to get the Locale information so that it can be displayed. On 
Motif the FontDialog is laid out in such a way that the encoding looks like 
the name and as a result it looks to the user like we have not displayed 
anything. We need to be able to display this value in the FontPreferencePage.

Something like getLocaleValue() would be fine.
Comment 1 Felipe Heidrich CLA 2003-04-14 09:38:50 EDT
Okay, since FontData has an API setLocale() it should also has a getLocale().

Comment 2 Steve Northover CLA 2003-04-14 14:45:52 EDT
GG is currently playing with the FontDialog on Linux.  Tod, is it enough to 
just fix the dialog or do you need the API?

NOTE:  It should also be possible for getLocale() to return "null" when not 
set.  Ask SSQ about it.
Comment 3 Tod Creasey CLA 2003-04-14 14:52:20 EDT
Fixing the dialog should be fine - I just need to be able to show a string 
that looks like it was selected from the dialog.
Comment 4 Grant Gayed CLA 2008-04-11 14:08:29 EDT
This was fixed in 3.0, this report was just forgotten.  Closing.