nanogui: PCF font render regression?
Subject:
Re: [nanogui] PCF font render regression?
From:
"Greg Haerr" ####@####.####
Date:
3 May 2010 17:02:27 -0000
Message-Id: <022201caeae2$678999e0$6564a8c0@winXP>
> 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.
Daniel -
I'm leaving for a week flight training, so I won't be able to
test for you this week. If you could send a diff, or
also comment out the above code as suggested, I
can help figure this out. Also, are you outputing
all text with a single GrText, or differently? Perhaps
I can get your sample text program.
Regards,
Greg