Closed cmyr closed 2 months ago
If yes let's try and figure out what a test case looks like?
Naively this seems readily unit testable in glyphs2fontir/src/source.rs
, is there a barrier to testing I'm missing?
If yes let's try and figure out what a test case looks like?
Naively this seems readily unit testable in
glyphs2fontir/src/source.rs
, is there a barrier to testing I'm missing?
I want an end-to-end test that goes from 'source including *origin anchor' to 'mark compiled at correct position', and I want to be able to validate this against what glyphs is compiling for some sample source. Last we spoke cosimo was working on putting something like this together.
I want an end-to-end test
Agreed, but I don't think we need to block this PR on it. We could unit test the funcitonality here and then update it if the full compile test reveals problems.
So after conversation with @anthrotype, I'm going to close this; I don't think it's the correct approach.
I think this is the most principaled approach; we apply this delta in the conversion to IR, and drop the anchor then.
cc @anthrotype, does this seem reasonable to you? If yes let's try and figure out what a test case looks like?