Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Giving a Font the Underline property
Giving a Font the Underline property [message #444487] Wed, 13 October 2004 18:17 Go to next message
Eclipse UserFriend
Originally posted by: cphillips.pureedge.com

I'm a SWT newbie and can't seem to figure out how to make my fonts
underline. The FontData object only takes the styles Normal, Bold and
Italic. All attempts to turn up info on Underline has failed. Either I'm
missing something blindingly obvious, or fonts in SWT don't support
Underline (which seems highly unlikely).

Thanks in advance

Chris Phillips

PureEdge Software.
Re: Giving a Font the Underline property [message #444512 is a reply to message #444487] Thu, 14 October 2004 15:39 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
SWT fonts don't support underline. While native Windows fonts do, fonts on
other platforms do not.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=59514
https://bugs.eclipse.org/bugs/show_bug.cgi?id=71901

"chris phillips" <cphillips@pureedge.com> wrote in message
news:ckjr5b$9nu$1@eclipse.org...
> I'm a SWT newbie and can't seem to figure out how to make my fonts
> underline. The FontData object only takes the styles Normal, Bold and
> Italic. All attempts to turn up info on Underline has failed. Either I'm
> missing something blindingly obvious, or fonts in SWT don't support
> Underline (which seems highly unlikely).
>
> Thanks in advance
>
> Chris Phillips
>
> PureEdge Software.
>
>
Previous Topic:TableTreeEditor covers expander
Next Topic:Wrapping in Text Widget
Goto Forum:
  


Current Time: Thu Mar 28 11:45:45 GMT 2024

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

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

Back to the top