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> |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| Cargo.toml | ||
| build.rs | ||