https://bugs.documentfoundation.org/show_bug.cgi?id=126754

--- Comment #9 from Julien Nabet <serval2...@yahoo.fr> ---
It seems we're already distinguish both cases here:
    140 bool FeatureCollector::collect()
    141 {
    142     gr_face* grFace = hb_graphite2_face_get_gr_face(m_pHbFace);
    143 
    144     if (grFace)
    145     {
    146         return collectGraphite();
    147     }
    148     else
    149     {
    150         collectForTable(HB_OT_TAG_GSUB); // substitution
    151         collectForTable(HB_OT_TAG_GPOS); // positioning
    152         return true;
    153     }
    154 }

the test is exactly the same as here:
    146 bool LogicalFontInstance::IsGraphiteFont()
    147 {
    148     if (!m_xbIsGraphiteFont)
    149     {
    150         m_xbIsGraphiteFont =
hb_graphite2_face_get_gr_face(hb_font_get_face(GetHbFont())) != nullptr;
    151     }
    152     return *m_xbIsGraphiteFont;
    153 }
in vcl/source/font/fontinstance.cxx

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to