Reduce minimum scaling value and fix aliasing issues with small fonts and rasterization.

This commit is contained in:
Filippo Scognamiglio
2015-01-20 00:57:23 +01:00
parent 32f7923652
commit 2bc88768b6
4 changed files with 30 additions and 8 deletions

View File

@@ -1,5 +1,11 @@
.pragma library
function clamp(x, min, max) {
if (x <= min)
return min;
if (x >= max)
return max;
return x;
}
function lint(a, b, t) {
return (1 - t) * a + (t) * b;
}