author | Francesco Abbate <francesco.bbt@gmail.com> | 2012年07月12日 09:54:21 +0200 |
---|---|---|
committer | Francesco Abbate <francesco.bbt@gmail.com> | 2012年07月12日 09:54:21 +0200 |
commit | eab8909093c6a5439f35167c9422c1a0934524f5 (patch) | |
tree | 8fbe4ffdf7996403c54b834ca490f07ac14f9bca /agg-plot/gamma.cpp | |
parent | 09253ab2f22b37d18929c53e17f652b2c0efebba (diff) | |
download | gsl-shell-eab8909093c6a5439f35167c9422c1a0934524f5.tar.gz |
-rw-r--r-- | agg-plot/gamma.cpp | 8 |
diff --git a/agg-plot/gamma.cpp b/agg-plot/gamma.cpp index 36bce377..00961428 100644 --- a/agg-plot/gamma.cpp +++ b/agg-plot/gamma.cpp @@ -3,4 +3,10 @@ #ifndef DISABLE_GAMMA_CORR gslshell::gamma_type gslshell::gamma(1.5); #endif -agg::lcd_distribution_lut gslshell::subpixel_lut(3./9., 2./9., 1./9.); +// Original values for the subpixel color filter. These are quite conservative +// to avoid color fringes. +// agg::lcd_distribution_lut gslshell::subpixel_lut(3./9., 2./9., 1./9.); + +// Slightly more agressive values with more weight to primary channel. +// Some people may notice colorer fringes but fonts looks sharper. +agg::lcd_distribution_lut gslshell::subpixel_lut(0.448, 0.184, 0.092); |