wordcraft/crates/fonts
xmaks82 7af79cd9f0
Fonts: treat Windows charset names as the font itself (#904)
Old Russian and Central European documents name fonts by their Windows 3.1
charset aliases: "Times New Roman Cyr", "Arial CYR", "Courier New CE",
"Arial (Hebrew)". Windows maps these to the font itself (FontSubstitutes);
we treated them as unknown families and fell back to the sans default.
resolve() now tries the base family, and substitutes for it when it isn't
installed (Times New Roman Cyr -> Liberation Serif, like Times New Roman).

Co-authored-by: Магда М.Г. <mail@mgmagda.ru>
Co-authored-by: Brandon Thomas <echelon@gmail.com>
2026-10-12 11:29:22 -04:00
..
src Fonts: treat Windows charset names as the font itself (#904) 2026-10-12 11:29:22 -04:00
tests M0.1–M0.6: workspace, geom, document model, fonts, layout, render 2026-10-05 22:30:16 -04:00
Cargo.toml Add fonts at run time: Add Font…, drop a font file, font.add (#582) (#668) 2026-10-12 00:38:20 -04:00
build.rs Chinese interface shows every character instead of boxes on Windows (#248) 2026-10-10 13:04:18 -04:00