nanogui: PCF font render regression?


Previous by date: 4 May 2010 08:18:30 -0000 Re: pixmaps and XOR not working, Greg Haerr
Next by date: 4 May 2010 08:18:30 -0000 [PATCH] src/demos/nxscribble/hre.h: #include for wchar_t typedef, =?UTF-8?q?Daniel=20Nystr=C3=B6m?=
Previous in thread: 4 May 2010 08:18:30 -0000 Re: PCF font render regression?, Greg Haerr
Next in thread:

Subject: Re: [nanogui] PCF font render regression?
From: Daniel ####@####.####
Date: 4 May 2010 08:18:30 -0000
Message-Id: <u2ld08fc9ca1005040118l4012192ey383b87d3372af49e@mail.gmail.com>

Den 3 maj 2010 19.02 skrev Greg Haerr ####@####.####
>> 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.

Yes all text goes through one single GrText. I'll try to see if some
of the 2010 years changes works, else the diff is everything done this
year. You get it by: git diff 838b99 src/engine/font_pcf.c

Btw, just did a pull on master; "39 files changed, 1801 insertions(+),
255 deletions(-)". It seems you really put a lot of work to this
project. Thats great, and I hope nano-X gain some interests when 0.92
is released. Maybe you should announce the release to any of the
magazine which covered the project earlier (linuxfordevices et al).

Great luck with your flight week!

Regards
Daniel

Previous by date: 4 May 2010 08:18:30 -0000 Re: pixmaps and XOR not working, Greg Haerr
Next by date: 4 May 2010 08:18:30 -0000 [PATCH] src/demos/nxscribble/hre.h: #include for wchar_t typedef, =?UTF-8?q?Daniel=20Nystr=C3=B6m?=
Previous in thread: 4 May 2010 08:18:30 -0000 Re: PCF font render regression?, Greg Haerr
Next in thread:


Powered by ezmlm-browse 0.20.