Neil Hodgson
2014-06-09 00:14:11 UTC
Currently Scintilla draws line by line with each line completely owing ints strip of pixels. This leads to cutting off extreme ascenders and descenders although this depends on characters used and font. For Western text, its the Scandinavian âÃ
â that often sees its ring above disappear or have only half appear. Some Asian languages use diacritics for vowels or other reasons and these can stack like â
àŒàœàœŽâ (Tibetan) leading to character portions both above and below the line. Emoji like âðµ" are also often large and this was seen in the Swift experiment. Sometimes, text drawing is not clipped and the result can be ascenders that appear and disappear as the caret moves up and down. Here is an example (on Cocoa with a retina display so double normal size) with some missing ascenders and descenders
àŒàœàœŽâ (Tibetan) leading to character portions both above and below the line. Emoji like âðµ" are also often large and this was seen in the Swift experiment. Sometimes, text drawing is not clipped and the result can be ascenders that appear and disappear as the caret moves up and down. Here is an example (on Cocoa with a retina display so double normal size) with some missing ascenders and descenders