Re: Re: FontMetrics from HSSFFont?

2002-03-07 Thread D. Alvarado
> I think you have to construct an AWT font class. But I want a clean room > impl. for POI. You'll have to construct an AWT Font using the info in > HSSFFont. > I don't think it's too much of a stretch to create a java.awt.Font class using the class's constructor: Font(String name, int sty

Re: Re: Re: FontMetrics from HSSFFont?

2002-03-07 Thread acoliver
>On Thu, 7 Mar 2002 16:11:35 -0500 "D. Alvarado" <[EMAIL PROTECTED]> wrote. >> I think you have to construct an AWT font class. But I want a clean room >> impl. for POI. You'll have to construct an AWT Font using the info in >> HSSFFont. >> > >I don't think it's too much of a stretch to create

Re: Re: Re: FontMetrics from HSSFFont?

2002-03-07 Thread Glen Stampoutlzis
> > > >I don't think it's too much of a stretch to create a java.awt.Font class > using the class's > >constructor: > > > >Font(String name, int style, int size), > > > >and it's straightforward to extract the necessary HSSFFont parameters to > pass into the Font > >constructor. But now it gets t

RE: Re: Re: FontMetrics from HSSFFont?

2002-03-07 Thread Danny Angus
>please donate a FontMetrics that just takes a > font name > > and knows about a standard set (basic unix and windows fonts without > > depending on awt or swing). Otherwise, eventually I'll get around to it > but > > not yet. > > > > -Andy > > Sounds like what we need is a separate program that