Last Updated: 31 Oct 2018 07:54 by ADMIN
Created on: 06 Apr 2016 12:35
Category: RichTextBox
Type: Bug Report
RichTextBox: Text with ligatures ("tt", "ff", "ffi, etc.) is not measured correctly
When text is using fonts with defined ligatures (e.g. Calibri, Gabriola, etc.) and contains character groups with defined ligature for it, the text width is measured incorrectly (shorter that it should be). As caret and selection navigates on positions computed by this measuring system, they are not synchronized with what is shown in the UI (which correctly respects the ligatures), and there is slight offset from the real character positions and/or clipping of part of the letters at the end of the line.

Examples of such groups are (depending on the font) "tt", "ff", "ffi".