Bug 32120 - SWT Font or FontData should provide a method to query available glyph
Summary: SWT Font or FontData should provide a method to query available glyph
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.1   Edit
Hardware: PC All
: P3 enhancement with 5 votes (vote)
Target Milestone: ---   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 181166 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-02-18 10:21 EST by Masaki Saitoh CLA
Modified: 2024-04-25 17:04 EDT (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Saitoh CLA 2003-02-18 10:21:30 EST
java.awt.Font has a series of methods to query available glyphs.
SWT Font or FontData should provide similar methods. Otherwise, SWT client can 
not select appropriate Font for strings with unicode encoding.
Comment 1 Masaki Saitoh CLA 2003-05-09 21:35:55 EDT
Is there any comments?
I am still waiting.
Comment 2 Dan Kehn CLA 2005-02-25 12:38:28 EST
FYI... Saitoh-san has agreed to quantify the performance gain.
Comment 3 Rob McKay CLA 2007-04-26 04:14:55 EDT
We need this functionality so that we can use alternate characters and avoid the default character glyph. See the code I submitted to bug 181166 as a way of implementing this for windows.
Comment 4 Glen A. CLA 2008-03-08 10:15:13 EST
Please fix this. Inserting a character which is not available from the font in use results in the character being inserted in another font, which then increases the line height (at least in my case).
Comment 5 McKaot CLA 2011-11-25 07:10:17 EST
This bug/feature request seems to be looked at every 2 years. Is there a solution in sight?

There's still a workaround if the font to be checked is a "system font": just use the AWT font...  it's kinda sad!
But what if the font is loaded straight from a file?
Comment 6 Brian de Alwis CLA 2015-07-06 14:36:23 EDT
*** Bug 181166 has been marked as a duplicate of this bug. ***
Comment 7 Sorin Carbunaru CLA 2015-07-07 01:49:17 EDT
I am trying to create a character map. It's a dialog in which you select a font from a combo box and then see a table with all the characters that the font can render. A fix would help me to test if a specific font can render a certain character.
Comment 8 Andrew Thomas CLA 2024-04-25 17:04:28 EDT
Twenty years later, I want to know if I can use the symbols for union and intersection with the user's display font, and ... find this issue.