Wesley Moore
Wesley Moore
Thanks for opening the ticket—I should have done that as I was aware this test was failing. Just hadn't got around to working on a fix.
`OutlineBuilder` is just a trait so it has no state of it's own. It only borrows the underlying table (mutably) when `visit` is called. Unless I'm missing a detail?
Right it seems that I was misunderstanding your question. Normally you would not be able to call `shape` while holding an `OutlineBuilder` impl because the borrow checker would not allow...
> This is kind of sad, because `allsorts` is actually kind of fast and extremely featureful. I'm having no problems shaping/rasterizing text every single frame _in software_ (the rasterizer is...
If the compiler allows it then there shouldn't be any safety issues.
Right. I think it should be `number_of_coordinates`.
I've just released 0.9, which implements building of a proper `cmap` table for subset fonts.
Yes I'm working on that next. I have a draft PR open for it https://github.com/yeslogic/allsorts-tools/pull/18
Reopening as we strip the `OS/2` table which is required in OpenType fonts.
> I don't understand the reasoning behind this crate's dependency on Rc/RefCell. What is it used for? It's used for caching during shaping: https://github.com/yeslogic/allsorts/blob/6f44fc4fefdb94f3441c10054449c98deea89e39/src/layout.rs#L2964