This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] gui, implement getAvailableFontFamilyNames


On Wed, 2004-10-20 at 17:55, Andreas Tobler wrote:
> Andreas Tobler wrote:
> 
> > Hi all,
> > 
> > I have to go a step back.
> > Implementing getAllFonts is a bit more complicated than it seemed on the 
> > first view. We have to return an array of _all_ fonts available on the 
> > system. That means all combinations with plain, bold, italic ....
> > 
> > My underlying gtk uses different names for the styles (faces) so I have 
> > first to study on how to map them.
> > 
> > I decided to bring up only the getAvailableFontFamilyNames for the 
> > moment. It should be enough for the curious to play with different fonts :)
> > 
> > If you have the resources (time and interest), I'd welcome some feedback).
> > 
> > Andreas
> > 
> > 2004-10-20  Andreas Tobler  <a.tobler@schweiz.ch>
> > 
> >     * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
> >     New File.
> >     (nativeGetNumFontsFamilies) New function.
> >     (nativeGetFontFamilies) Likewise.
> >     * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
> >     (getAvailableFontFamilyNames): Implement.
> >     * Makefile.am (gtk_c_source_files): Add GdkGraphicsEnvironment.c.
> >     * Makefile.in: Regenerate.
> 
> Ok, reviewed by fitzsim.
> 
> ok for gui ?
> 

Yes, look great.  Please commit.

Tom



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]