Re: [PATCH] Font antialiasing v2

2011-06-24 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Was this the latest version? I wanted to apply this feature but this seems to be latest version but doesn't contain requested corrections. On 24.02.2010 14:52, Evgeny Kolesnikov wrote: > Hello! > > Here is improved patch for fonts anti-aliasing. Includes: > > 1) Optimized blending blitters for 8-bi

Re: [PATCH] Font antialiasing v2

2010-04-12 Thread Michal Suchanek
On 12 April 2010 20:13, Szymon Janc wrote: > Dnia poniedziałek 12 kwiecień 2010 o 19:30:00 Vladimir 'φ-coder/phcoder' > Serbinenko napisał(a): >> > You can also buffer the block offsets so that you can seek in the part >> > of the file you have seen already. >> >> Decompressor is stateful so you'l

Re: [PATCH] Font antialiasing v2

2010-04-12 Thread Michal Suchanek
2010/4/12 Vladimir 'φ-coder/phcoder' Serbinenko : > >> You can also buffer the block offsets so that you can seek in the part >> of the file you have seen already. >> >> > Decompressor is stateful so you'll need to save the sate as well which > may eat more RAM than decompressing the whole uncompre

Re: [PATCH] Font antialiasing v2

2010-04-12 Thread Szymon Janc
Dnia poniedziałek 12 kwiecień 2010 o 19:30:00 Vladimir 'φ-coder/phcoder' Serbinenko napisał(a): > > You can also buffer the block offsets so that you can seek in the part > > of the file you have seen already. > > Decompressor is stateful so you'll need to save the sate as well which > may eat mo

Re: [PATCH] Font antialiasing v2

2010-04-12 Thread Vladimir 'φ-coder/phcoder' Serbinenko
> You can also buffer the block offsets so that you can seek in the part > of the file you have seen already. > > Decompressor is stateful so you'll need to save the sate as well which may eat more RAM than decompressing the whole uncompressed file. It also doesn't solve the issue of retrieving

Re: [PATCH] Font antialiasing v2

2010-04-12 Thread Michal Suchanek
On 12 April 2010 17:50, Szymon Janc wrote: > On Mon, 12 Apr 2010 07:24:09 -0700 Colin D Bennett wrote > >> > This issue should be handled at compress time by choosing to compress >> > by blocks of desired size. This way font layer doesn't need to care >> > anymore. >> >> But can you randomly seek

Re: [PATCH] Font antialiasing v2

2010-04-12 Thread Michal Suchanek
On 12 April 2010 17:50, Szymon Janc wrote: > On Mon, 12 Apr 2010 07:24:09 -0700 Colin D Bennett wrote > >> > This issue should be handled at compress time by choosing to compress >> > by blocks of desired size. This way font layer doesn't need to care >> > anymore. >> >> But can you randomly seek

Re: [PATCH] Font antialiasing v2

2010-04-12 Thread Szymon Janc
On Mon, 12 Apr 2010 07:24:09 -0700 Colin D Bennett wrote > > This issue should be handled at compress time by choosing to compress > > by blocks of desired size. This way font layer doesn't need to care > > anymore. > > But can you randomly seek to an block transparently and read it that > way?

Re: [PATCH] Font antialiasing v2

2010-04-12 Thread Colin D Bennett
On Mon, 12 Apr 2010 09:31:56 +0200 Vladimir 'φ-coder/phcoder' Serbinenko wrote: > > >> Mixing compression and font engine will make the code more complex > >> and bug prone. It's better to put compression layer below the font > >> and make font subsystem unaware of it. The only exception is if >

Re: [PATCH] Font antialiasing v2

2010-04-12 Thread Vladimir 'φ-coder/phcoder' Serbinenko
>> Mixing compression and font engine will make the code more complex and >> bug prone. It's better to put compression layer below the font and >> make font subsystem unaware of it. The only exception is if >> compression takes advantage of knowing font structures. >> > > My aim was to make i

Re: [PATCH] Font antialiasing v2

2010-04-11 Thread Michal Suchanek
2010/4/9 Colin D Bennett : > On Fri, 09 Apr 2010 19:54:07 +0200 > Vladimir 'φ-coder/phcoder' Serbinenko wrote: > >> Evgeny Kolesnikov wrote: >> > On Fri, 2010-04-02 at 22:23 +0200, Vladimir 'φ-coder/phcoder' >> > Serbinenko wrote: >> > >> >> +#define FONT_FORMAT_STORAGE_PACK_MASK 0x0F >> >> +#defi

Re: [PATCH] Font antialiasing v2

2010-04-09 Thread Colin D Bennett
On Fri, 09 Apr 2010 19:54:07 +0200 Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Evgeny Kolesnikov wrote: > > On Fri, 2010-04-02 at 22:23 +0200, Vladimir 'φ-coder/phcoder' > > Serbinenko wrote: > > > >> +#define FONT_FORMAT_STORAGE_PACK_MASK 0x0F > >> +#define FONT_FORMAT_STORAGE_PACKED 1 > >> +

Re: [PATCH] Font antialiasing v2

2010-04-09 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Evgeny Kolesnikov wrote: > On Fri, 2010-04-02 at 22:23 +0200, Vladimir 'φ-coder/phcoder' Serbinenko > wrote: > > >> -for (j = font_info->ranges[i * 2]; j <= font_info->ranges[i * 2 + 1]; >> - j++) >> - add_char (font_info, face, j); >> + for (j = font_info->ranges[i * 2

Re: [PATCH] Font antialiasing v2

2010-04-05 Thread Michal Suchanek
On 5 April 2010 07:50, Evgeny Kolesnikov wrote: > On Fri, 2010-04-02 at 22:23 +0200, Vladimir 'φ-coder/phcoder' Serbinenko >> +#define FONT_FORMAT_STORAGE_PACK_MASK 0x0F >> +#define FONT_FORMAT_STORAGE_PACKED 1 >> +#define FONT_FORMAT_STORAGE_DEPTH_MASK 0xF0 >> +#define FONT_FORMAT_STORAGE_1BIT 0

Re: [PATCH] Font antialiasing v2

2010-04-04 Thread Evgeny Kolesnikov
On Fri, 2010-04-02 at 22:23 +0200, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > - for (j = font_info->ranges[i * 2]; j <= font_info->ranges[i * 2 + 1]; > - j++) > - add_char (font_info, face, j); > + for (j = font_info->ranges[i * 2]; j <= font_info->ranges[i * 2 +

Re: [PATCH] Font antialiasing v2

2010-04-02 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Evgeny Kolesnikov wrote: > Hello! > > Here is improved patch for fonts anti-aliasing. Includes: > > 1) Optimized blending blitters for 8-bit masks; > 2) Absolute compatibility with pf2 format. No PFF3 magic additions. > > Affected files: > font/font.c > include/grub/fbblit.h > include/grub/font.h

Re: [PATCH] Font antialiasing v2

2010-03-17 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Evgeny Kolesnikov wrote: > Hello, all! > > I understand that everyone was busy working on > recent release of GRUB, but does anybody have > any comments on this version of patch? > Like many other mails this one is "on my desk". I'm happy that community is active but this and next week I have ot

Re: [PATCH] Font antialiasing v2

2010-03-16 Thread Evgeny Kolesnikov
Hello, all! I understand that everyone was busy working on recent release of GRUB, but does anybody have any comments on this version of patch? ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

[PATCH] Font antialiasing v2

2010-02-24 Thread Evgeny Kolesnikov
Hello! Here is improved patch for fonts anti-aliasing. Includes: 1) Optimized blending blitters for 8-bit masks; 2) Absolute compatibility with pf2 format. No PFF3 magic additions. Affected files: font/font.c include/grub/fbblit.h include/grub/font.h