The caret height should be the same for each line.
The caret height should be obtained from a font of character before caret for LTR.
גובהעבו תו יש לקבל תו אחרי תו עבור RTL