2010/4/30 Greg Haerr <g...@censoft.com>: > : What's happened to PCF font rendering? There's no space between digits > : and the space character is fully ignored. Attaching two images where > : "pcfok.png" is showing old nano-X (latest prior moving to Git) and > : "pcffail.png" shows the current version from Git. > > I have made some changes to font_pcf.c over the last several months, > trying to perfect output from NXLIB for FLTK, where funnily enough, > I had the exact problem with the space character. The fix entailed > ADDING width to the space character. > > Are you using GrText to output these strings all at once? > Perhaps you should post this program as well, (I know it > looks quite simple!) > > The area that I modified in font_pcf includes: > > /* HACK: adjust width of SPACE char when == 1 large (use 'e') for now*/ > if (i == ' ' && gwidth[n] <= 1) > n += 'e'-' '; > > Try commenting that out. I will have to look into the other issues, > I'm not sure what the problem is yet. Do you happen > to have a version of font_pcf.c that works you could send me?
My quick fix was to checkout font_pcf.c prior this years modifications, which now works perfectly (== looks exactly as earlier). If I get some time tomorrow I'll try with some of the editions between the old one and the current one in git repo. Regards Daniel --------------------------------------------------------------------- To unsubscribe, e-mail: nanogui-unsubscr...@linuxhacker.org For additional commands, e-mail: nanogui-h...@linuxhacker.org