Skip to main content

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

Hi,
I don't know if this is solvable via SWT API.
However, since you get a known char encoding, wouldn't it be possible to do a transformation into Unicode?
Jordi
--- On Tue, 8/25/09, ZODERER.Florian <F.ZODERER@xxxxxxxxxxxxx> wrote:

> From: ZODERER.Florian <F.ZODERER@xxxxxxxxxxxxx>
> Subject: [platform-swt-dev] FontData.getName() returns Non-Unicode string
> To: platform-swt-dev@xxxxxxxxxxx
> Date: Tuesday, August 25, 2009, 1:32 AM
> 
> 
>  
>  
>  
> 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 
> 
> -----Inline Attachment Follows-----
> 
> _______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
> 





Back to the top