shithub: riscv

Download patch

ref: ccfb6f412643128d5a537df73805c8478f0a24ae
parent: 4808971db6c402f0f50a9bd2145e0e2daa5786fa
author: aiju <devnull@localhost>
date: Fri Oct 12 07:40:34 EDT 2018

libttf: fix swapped argument in vscan()...

--- a/sys/src/libttf/scan.c
+++ b/sys/src/libttf/scan.c
@@ -314,7 +314,7 @@
 			}
 			if(seen == 3 && j > 0 && iswhite(s, i, j-1) && iswhite(s, i, j)){
 				if((s->flags & STUBDET) == 0){
-					pixel(s, j-1, i);
+					pixel(s, i, j-1);
 					continue;
 				}
 				if(i <= 0 || i > s->width - 1 || j <= 0 || j > s->height - 1)