Re: supporting antialiased text in gdk



On Tue, 5 Dec 2000, Pavel Machek wrote:

> Hi!
>
> > The linux-fb port uses anitialiased text rendered by freetype, and since
> > other ports may start using antialiased text rendering in the future i
> > think we need to discuss some issues that has appeared due to this.
>
> Where is that code? I can't find it:
>
> static void
> gdk_fb_draw_text(GdkDrawable    *drawable,
> 		 GdkFont        *font,
> 		 GdkGC          *gc,
> 		 gint            x,
> 		 gint            y,
> 		 const gchar    *text,
> 		 gint            text_length)
> {
>   g_warning ("gdk_fb_draw_text NYI");
> }
>
> I'd like to turn linux-fb into linux-console font, and draw_text is
> vital for me.

linux-console font? I can't parse that sentence, but the rasterization is
done in gdkpango-fb.c and the aa drawing of the glyphs is in
gdkdrawable-fb.c and gdkrender-fb.c.

/ Alex






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]