[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: Putting Composite into TableItem ?

In the meantime I found out, that the "Courier New" font under windows
supports the showup of most glyphs in a table, if I use:

Font font = new Font (parent.getDisplay(), "Courier New", 10, SWT.NORMAL);
...
theTable.setFont(font);
...

but I don't know how to setup this font for the status line and a usual
MessageDialog (?). Further I wonder where the right place in a ViewSample
based plugin might be to dispose this font's object?

-Valentino

"Grant Gayed" <ggayed@xxxxxxxxxx> schrieb im Newsbeitrag
news:avupm0$lst$1@xxxxxxxxxxxxxxxx
> It sounds like you're using a font that doesn't contain those characters,
> hence the outline rectangles are drawn instead.  You probably need to set
> the font on these widgets to one that can definitely draw the problematic
> characters.
>
> Grant
>
> Valentino Kyriakides wrote:
>
> > Thank's for this one!
>
> > It showed that my initial table refilling procedure was done in the same
way
> > and hopefully right way. However, I have a problem with showing up some
of
> > the graph chars from character sets (extended characters), as for
example
> > those higher order special line/frame drawing chars etc. These are never
> > drawn inside my table cells and also not shown in any MessageDialog,
instead
> > just a little outline rectangle is always shown there for these.
>
> > Is there some way to setup a SWT table and MessageDialog in a way that
those
> > chars can be shown up correctly?
>
> > Thank's for any hint
>
> > -Valentino
>
> > "Grant Gayed" <ggayed@xxxxxxxxxx> schrieb im Newsbeitrag
> > news:avmsji$9b5$1@xxxxxxxxxxxxxxxx
> > > I've added one, see
> > >
> >
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-swt-home/sn
> > ippits/snippet103.html
>
>
>
>
>