renderer(OpenGL): pass cell_width to glyph renderer
When adding a glyph, we didn't pass the expected width to the glyph renderer. This can be helpful when scaling emoji, as will happen in the next commit.pull/6602/head
parent
22ed08cfd8
commit
27c4fd76f3
|
|
@ -2105,6 +2105,7 @@ fn addGlyph(
|
|||
shaper_run.font_index,
|
||||
shaper_cell.glyph_index,
|
||||
.{
|
||||
.cell_width = if (cell.wide == .wide) 2 else 1,
|
||||
.grid_metrics = self.grid_metrics,
|
||||
.thicken = self.config.font_thicken,
|
||||
.thicken_strength = self.config.font_thicken_strength,
|
||||
|
|
|
|||
Loading…
Reference in New Issue