Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
AW: [platform-swt-dev] FontData.getName() returns Non-Unicode string

Hi Filipe,

Thank you for your answer. Our chinese partner told us if he looks at the Fonts list in the windows control panel, he sees all font names in english. No font with a chinese character. This is also true for font "SimSun". What we need is exactly this list of font names (all with their english names).

Is there a way to recive this list of fonts via SWT API?

Thank you for your help.

Florian



-----Ursprüngliche Nachricht-----
Von: platform-swt-dev-bounces@xxxxxxxxxxx [mailto:platform-swt-dev-bounces@xxxxxxxxxxx] Im Auftrag von Felipe Heidrich
Gesendet: Dienstag, 25. August 2009 14:56
An: Eclipse Platform SWT component developers list.
Cc: platform-swt-dev@xxxxxxxxxxx; platform-swt-dev-bounces@xxxxxxxxxxx
Betreff: Re: [platform-swt-dev] FontData.getName() returns Non-Unicode string

Hi,

Short answer is no, we don't provide API for what you are trying to do (force English name for all fonts).
But why do you want that ? IMO, you should use the localized names, it is consistent with all other applications on the platform and that is probably what your users expect to see.

Regards,
Felipe

---note: for future user questions please use the SWT newsgroup.




From:
"ZODERER.Florian" <F.ZODERER@xxxxxxxxxxxxx>
To:
<platform-swt-dev@xxxxxxxxxxx>
Date:
08/25/2009 04:33 AM
Subject:
[platform-swt-dev] FontData.getName() returns Non-Unicode string Sent by:
platform-swt-dev-bounces@xxxxxxxxxxx



Hi all,
 
we're providing a software solution for chinese and european costumers and ran in a problem with FontData class. We need a list of all fonts which are installed on the operating system and expect their names in basic latin characters. But if someone changes the settings in the control panel for the language for non-unicode applications (see attached screenshot), we get for example chineses characters ("宋体") for the font "SimSun". 
 
Is there a way to get rid of this problem with the SWT API? We can't expect from our chinese customers that they change operating system settings for this issue.
 
Thanks in advance,
 
Florian Zoderer[attachment "language.jpg" deleted by Felipe Heidrich/Ottawa/IBM] _______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev



_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top