[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
questions on scalable fonts
From: Harry Lin ####@####.#### Date: 25 Jul 2002 18:37:13 -0000 Message-Id: <02072514254006.01600@coyote> Hello - I need "BIG" fonts to show nicely(clearly) on a TV screen. Well, I am having a problem rendering truetype using freetype1.3.1 lib. while i am debugging into the freetype131 lib as well as mwin drivers (devfont.c), does/did anybody encounter the similiar problems now/before..... in brief my problems are -- 1. freetype131 and mwin worked together fine rendering truetype on linux framebuf on i386, color mode is 8-bit palette 2. while cross compiled to ppc-405 arch, mwin renders built-in fonts fine, but caused seg fault when rendering truetype in GdArea( ). Is there some kind of alignment issues related to rendering truetype? or some sort of compile/link flags to set for ppc arch..........?any advice?? Thanx H. p.s. Is there a way to scale the proportional font a little BIGGER, so that it can be built-in??? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] questions on scalable fonts
From: "Greg Haerr" ####@####.#### Date: 25 Jul 2002 21:29:47 -0000 Message-Id: <050301c23420$0d1d0a40$3aba46a6@xmission.com> > 2. while cross compiled to ppc-405 arch, mwin renders built-in fonts fine, but caused seg fault when rendering truetype in GdArea( ). > Is there some kind of alignment issues related to rendering truetype? or some sort of compile/link flags to set for ppc arch..........?any advice?? This definitely sounds like a possible alignment problem. Check out the call to GrArea in engine/devfont.c, that's where all this happens. That code was written a little too quickly, and it still needs some work (drawing black foreground is broken in this area). > p.s. Is there a way to scale the proportional font a little BIGGER, so that it can be built-in??? Pick any BDF font you like, and then use the fonts/convbdf script to convert them to .c files to link them into the server. If you want to capture fonts, I wrote a program for Win32 that will take any screen-displayed font and capture it. Tom extended the program for wide fonts, his code will be checked in CVS shortly. Regards, Greg | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |