mirror of
https://github.com/storytold/wordcraft.git
synced 2026-10-24 10:27:44 -06:00
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>