Hello, this is katahiromz aka a Win32 programmer and tester from Japan.
At first, check out the x12 patch of CORE-6621. Please take a look at
the WeightFromStyle and GetFontPenalty functions.
The "DejaVu Sans Mono" fonts are in use, as substitute fonts. There is
a problem. The penalty weight of "DejaVu Sans Mono Oblique" is lighter
than one of "DejaVu Sans Mono Book" in the current penalty system of
Table 1.
The "Oblique" penalty is 4 of Italic Penalty. The "Book" penalty is 3
* ((400 - 350) / 10) == 15 of Weight Penalty.
So, Oblique < Book!
Should we adjust Italic Penalty to 16 or more?