Thread the jian_skia font-registry generation through the native render + measure caches so a runtime font import reflows an already-open document instead of keeping stale fallback-font layout. - op-pen-loader: CachingMeasureBackend drops its memo map, and SceneBuildCache folds font_generation into its rebuild-decision inputs, whenever the generation advances (current_font_generation is cfg-gated on skia-measure; const 0 for the estimate build). - op-host-native: NativeBackend + the export EXPORT_BACKEND inherit the refresh for free through their shared FontResolver. widget_host's refresh_layout_scene now also rebuilds when the generation changed (tracked in layout_scene_font_generation) since a font import does not dirty editor_state; the generation is read before the initial scene is built to avoid a constructor race. - Tests: end-to-end measure-changes-after-register (native resolver) and a host-level regression test for the scene-rebuild gate. Bumps vendor/jian to the mutable imported-font registry commit. |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| Cargo.toml | ||