Behdad Esfahbod
Behdad Esfahbod
Here's paper.js's curve simplify in action: http://paperjs.org/examples/path-simplification/ https://github.com/paperjs/paper.js/blob/develop/src/path/PathFitter.js http://paperjs.org/reference/path/#simplify Should be rather trivial to integrate into a plugin.
I hit this with the text sequence "J̣J" and Google Sans, whereas kerning will fail to apply between the two J's after subsetting.
Thanks. Let's fix the wrong results by flipping on ignoreMarks, and file an issue or keep this open, for the inefficiency.
We clear the UseMarkFilteringSet flag and turn on IgnoreMarks. I believe Khaled is working on that part.
> The only downside is that then we cannot expose things like "get_advance", "get_extents", etc, without major reworking of how things work... Exposing them to the wasm I mean.
PingFangUI, the only `hvgl` font we know of, doesn't seem to use this table at all, in my brief inspection.
Would providing `--font-size` to `hb-view` fix it?
Okay. I'll dig in later in the week.
What do you think about this patch? ```diff diff --git a/util/shape-options.hh b/util/shape-options.hh index a41aaf576..a6cc61b53 100644 --- a/util/shape-options.hh +++ b/util/shape-options.hh @@ -93,7 +93,7 @@ struct shape_options_t font, HB_BUFFER_SERIALIZE_FORMAT_TEXT); - if (!strchr...
No that wouldn't work either. I'm not sure. Maybe we don't support `--ned`?