Conversation
There was a problem hiding this comment.
This removes most of the normalisation work from Parley
There was a problem hiding this comment.
The changes in this file allow for shaped segments and holes to be stored in separate structures before deciding how they should be pushed to the Layout. I think a mature implementation will remove these temporary data structures and mutate Layout directly (to avoid redundant copies).
There was a problem hiding this comment.
This file can be ignored. By shaping with more fonts, the need to cache generating font metrics increases. So I added this LRU cache on font metrics to get a feel for what the ultimate performance of this approach could be.
There was a problem hiding this comment.
This file contains a lot of refactoring and handling of shaped segments / holes.
See linebender#462 (comment)
To do: