DescriptionEmulate distance field gamma fix by making glyphs thicker or thinner
The idea here is that we determine the 0.5 crossover for each
row in the gamma table, then invert the mapping to determine
which point that maps to in the original range [-.65,
.65]. That gives us a change in the apparent width of the
glyph that closely corresponds to the change produced by the gamma fix.
BUG=skia:2933
Committed: https://skia.googlesource.com/skia/+/21deace8efc8e167d8626187ef0e6b4c241324b6
Patch Set 1 #Patch Set 2 : Fix release build #Patch Set 3 : Fix release build #Patch Set 4 : Rebase to ToT #
Total comments: 2
Patch Set 5 : Fix some compile issues #Patch Set 6 : Remove header #
Total comments: 2
Patch Set 7 : Implement != by using == #Patch Set 8 : Some clean up #
Messages
Total messages: 12 (2 generated)
|