28/06/2013 15:50, Jean-Marc Lasgouttes:
The branch, str-metrics, has been updated.
- Log -----------------------------------------------------------------
commit eec5cddccf92f80ce6faf7de5418a7700ce1c6a8
Author: Jean-Marc Lasgouttes <lasgout...@lyx.org>
Date: Tue Jun 25 14:57:09 2013 +0200
Store in the Row object the list of elements it contains
I am not sure I commented about this branch yet. You can read the
00README* file That describes what the goal is, what is done and what
the plans are. Currently there is not much to see, I did the easy part :)
Next step, now that I understand a bit more how bidi works, is to
compute rtl lengths by string too and reorder words as needed in each
row. If I am lucky, this will simplify a lot the rtl support. Of course,
I am only able to test by using roman letters set in english, so a few
"interesting" effects will need help from native arabic/hebrew speakers.
We'll see how far I can go with that, I have no ETA. I am not even sure
I can get everything to work in a satisfactory way :)
One big goal of this would be to create code that is understandable for
others, so feel free to checkout the branch and look at the code in Row
or TextMetrics::breakRow and tell me if something is impossible to
understand. Hopefully, I will be able to remove from other methods all
the code that does the same thing as breakRow does (parsing of words).
JMarc