6 Jan 2011 13:22
Patch for feature request
Matthew Wakeling <matthew <at> wakeling.homeip.net>
2011-01-06 12:22:51 GMT
2011-01-06 12:22:51 GMT
Attached is a patch for feature request 701101 for xdvik. This implements subpixel rendering. Only a small amount of code needed to be changed, as much of the required stuff was already there - just not quite finished. There may be an issue with coloured text, which I may have time to look at later. Fixing it would involve putting the color_filter_image() step before the tinting step rather than after. As it stands, B&W text looks really quite nice on my LCD screen with the patched version. Thanks, Matthew -- -- Experience is what allows you to recognise a mistake the second time you make it.
? patch1 ? utils ? texk/kpathsea/stamp-auto ? texk/kpathsea/stamp-paths Index: texk/xdvik/dvi-draw.c =================================================================== RCS file: /cvsroot/xdvi/xdvik/texk/xdvik/dvi-draw.c,v retrieving revision 1.384 diff -r1.384 dvi-draw.c 74c74,75(Continue reading)
However it seems there's something buggy with the with computation - on
my system, anti-aliased text appears 3 times as wide:
Best regards,
Stefan
On Thu, 2011-01-06 at 12:22 +0000, Matthew Wakeling wrote:
> Attached is a patch for feature request 701101 for xdvik. This implements
> subpixel rendering. Only a small amount of code needed to be changed, as
> much of the required stuff was already there - just not quite finished.
>
> There may be an issue with coloured text, which I may have time to look at
> later. Fixing it would involve putting the color_filter_image() step
> before the tinting step rather than after.
>
> As it stands, B&W text looks really quite nice on my LCD screen with the
> patched version.
>
> Thanks,
>
> Matthew
>
> --
> Experience is what allows you to recognise a mistake the second time you
> make it.
RSS Feed