From cf885b89983100aa94a2e2117d91ac016056016d Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 9 Mar 2024 20:37:33 -0800 Subject: [PATCH] font/shaper: fix style for runs --- src/font/shaper/run.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/font/shaper/run.zig b/src/font/shaper/run.zig index c1f483778..b5c29ec3f 100644 --- a/src/font/shaper/run.zig +++ b/src/font/shaper/run.zig @@ -55,7 +55,7 @@ pub const RunIterator = struct { try self.hooks.prepare(); // Let's get our style that we'll expect for the run. - const style = self.row.style(&cells[0]); + const style = self.row.style(&cells[self.i]); // Go through cell by cell and accumulate while we build our run. var j: usize = self.i;