message: text_shaper: force monospace fonts, if monospace was requested
diff: @@ -570,13 +570,13 @@ void open_shaper::shape(font_key _font,
  continue;
  // Skip if main font is monospace but fallback font is not.
  - // if (fontInfo.description.spacing != font_spacing::proportional)
  - // {
  - // FontInfo const& fallbackFontInfo = d->fonts_.at(fallbackKeyOpt.value());
  - // bool const fontIsMonospace = fallbackFontInfo.ftFace->face_flags & FT_FACE_FLAG_FIXED_WIDTH;
  - // if (!fontIsMonospace)
  - // continue;
  - // }
  + if (fontInfo.description.spacing != font_spacing::proportional)
  + {
  + FontInfo const& fallbackFontInfo = d->fonts_.at(fallbackKeyOpt.value());
  + bool const fontIsMonospace = fallbackFontInfo.ftFace->face_flags & FT_FACE_FLAG_FIXED_WIDTH;
  + if (!fontIsMonospace)
  + continue;
  + }
  FontInfo& fallbackFontInfo = d->fonts_.at(fallbackKeyOpt.value());
  debuglog().write("Try fallback font: key={}, path=\"{}\"\n", fallbackKeyOpt.value(), fallbackFontInfo.path);
  