Files
craft-libs/crates
aiongg 1fadb03453 Document faces: one queue per context, lost loads fail, replays mark faces drawn, one byte budget
- The load queue is made once per context, as TextureLoader's is: without a
  host, default_jobs() returned a new Arc each call, so every new face made a
  new queue and dropped the loads before it.
- The begin-pass step marks a face unavailable when its load is neither
  queued nor running and delivered no result (a job that panicked), so the
  row stops asking for passes.
- A kept face's draw mark is journaled, so a settled view's replay marks the
  faces its run drew and eviction keeps them while on screen.
- One budget over the files the registry keeps plus the files egui still
  holds for faces taken out. Past it, the faces drawn longest ago go down to
  half the budget and egui's fonts are made again once. The budget is a
  registry field; trials set it with testing::document_face_budget.
- FacesCx::document_face takes a closure that makes the load, called only
  for a new key, so a ready face clones no FaceInfo or catalog.
- Similar fonts weigh a family by its file's raw usWeightClass again
  (FaceInfo::weight_class, None without OS/2; 400 then), not the scan's
  weight. The review point that families without OS/2 data now join Similar
  fonts was checked: the old read_traits listed them too, with zero PANOSE
  and weight 400, so they stay.
2026-11-23 03:25:59 +00:00
..
…
…
…
…
…
…
…
…
2026-11-19 13:06:40 +01:00
…
…
…
…
…
2026-11-19 12:57:10 +01:00
…
…
…
…
2026-11-19 13:05:37 +01:00
…
2026-11-19 12:56:29 +01:00
…
2026-11-19 13:06:16 +01:00
2026-11-19 13:05:21 +01:00
…
2026-11-19 13:07:16 +01:00
…
2026-11-19 13:05:56 +01:00
2026-11-19 13:06:16 +01:00
…
…