1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-29 03:53:38 +03:00

Normalize output text before rendering

This commit is contained in:
Ezequiel Rosas 2017-08-04 21:13:35 -05:00
parent 0138899e40
commit a17ee9bca5

View File

@ -67,7 +67,7 @@ extension NeoVimView {
let glyphPositions = positions.map { CGPoint(x: $0.x, y: $0.y + offset) }
self.drawer.draw(
string,
string.precomposedStringWithCanonicalMapping,
positions: UnsafeMutablePointer(mutating: glyphPositions), positionsCount: positions.count,
highlightAttrs: rowFrag.attrs,
context: context