Affects Version/s: trunk
Fix Version/s: None
Environment:Operating System: All
External issue ID:44451
The attached patch fixes two problems:
- If distinct fonts declare the same font family name, the resulting font
mapping is currently arbitrary; now, a name-similarity heuristic is used to
prioritize the font mappings.
- "Medium" and "demi" fonts are now recognized as "bold", solving several
real-world problems (although this solution may be an oversimplification).