Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Question about FontData
Question about FontData [message #436091] Tue, 11 May 2004 13:47 Go to next message
Benjamin Pasero is currently offline Benjamin PaseroFriend
Messages: 337
Registered: July 2009
Senior Member
Hello,

I am wondering in what cases the OS will return an array of FontData
objects bigger than 1?

In my application I am not dealing with the case that font.getFontData()
returns more than one FontData object. I am not sure if this is the
correct handling for win32, gtk, motif and carbon.

Thanks,
Ben
Re: Question about FontData [message #436096 is a reply to message #436091] Tue, 11 May 2004 14:21 Go to previous messageGo to next message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
This can happen on Motif only.

"Benjamin Pasero" <bpasero@rssowl.org> wrote in message
news:c7qlhq$jic$1@eclipse.org...
> Hello,
>
> I am wondering in what cases the OS will return an array of FontData
> objects bigger than 1?
>
> In my application I am not dealing with the case that font.getFontData()
> returns more than one FontData object. I am not sure if this is the
> correct handling for win32, gtk, motif and carbon.
>
> Thanks,
> Ben
>
Re: Question about FontData [message #436097 is a reply to message #436096] Tue, 11 May 2004 14:29 Go to previous messageGo to next message
Benjamin Pasero is currently offline Benjamin PaseroFriend
Messages: 337
Registered: July 2009
Senior Member
Ok, so how to handle it? Should I apply my fontdata changes to each object
in the array or is it sufficient for the first one?

> This can happen on Motif only.

> "Benjamin Pasero" <bpasero@rssowl.org> wrote in message
> news:c7qlhq$jic$1@eclipse.org...
> > Hello,
> >
> > I am wondering in what cases the OS will return an array of FontData
> > objects bigger than 1?
> >
> > In my application I am not dealing with the case that font.getFontData()
> > returns more than one FontData object. I am not sure if this is the
> > correct handling for win32, gtk, motif and carbon.
> >
> > Thanks,
> > Ben
> >
Re: Question about FontData [message #436191 is a reply to message #436097] Wed, 12 May 2004 13:04 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Your changes should be applied to each FontData in the array, since any (or
all) of them could be used depending on the characters that are to be
rendered.

Grant

"Benjamin Pasero" <bpasero@rssowl.org> wrote in message
news:c7qo0q$n8i$1@eclipse.org...
> Ok, so how to handle it? Should I apply my fontdata changes to each object
> in the array or is it sufficient for the first one?
>
> > This can happen on Motif only.
>
> > "Benjamin Pasero" <bpasero@rssowl.org> wrote in message
> > news:c7qlhq$jic$1@eclipse.org...
> > > Hello,
> > >
> > > I am wondering in what cases the OS will return an array of FontData
> > > objects bigger than 1?
> > >
> > > In my application I am not dealing with the case that
font.getFontData()
> > > returns more than one FontData object. I am not sure if this is the
> > > correct handling for win32, gtk, motif and carbon.
> > >
> > > Thanks,
> > > Ben
> > >
>
>
Previous Topic:border less button
Next Topic:Error using jFace with Eclipse M8
Goto Forum:
  


Current Time: Thu Apr 25 07:58:23 GMT 2024

Powered by FUDForum. Page generated in 0.03655 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top