Also, two technologic choices :
1) keep the height of each line up to 16 pixels and create the scrolling engine on this base.
2) modify each line height on the fly, depending of the font size of what it is displayed.
It is two methods fully different. I prefer the second one, which is more realistic and whom I already wrote an algo. But in this way, I will loose lots of you, because the algo is very strong. Unable to comment usefully : in this way, lots of schemes to tell the mechanism.
The first one, the problem is the step of 16 pixels : it is not beautiful. And I have no idea about the zoom... However the story of 4K, etc... No performance problem... Sure...
I will wait if anybody looks a performance problem with this small 3rd simulation.
And I will need a convention language to enrich the text, because the RTF language is absolutely not what I prefer. I d like a simpler language, an intuitive thing, which eases the write of a rich text.
Ex :
Code: Select all
//Arial//48//Green//Title of document
//Verdana//12//Black//
Introducing a concept of the headaches in our civilization has ever been considered as a __bold__strategy__ not to understand anything about the importance of all these flu.