Last year while I was searching for a workaround, I found odd in the lines :
// determine the scale factor
- float scale_factor = target_font_height() * scale / one_to_one_line_height;
+ float scale_factor = std::min(target_pixel_height / float(raw_font_pixel_height) / options().font_rows(),
+ target_pixel_width / float(raw_font_pixel_height) / options().font_rows());
that a division is made between
target_pixel_width
and raw_font_pixel_height
if I understand correctly this expression the second line should be
target_pixel_width / float(raw_font_pixel_width) / options().font_collumns()
I don't know if raw_font_pixel_width and font_collumns exist, i just put meaningful names
just an idea....