Not all combinations returns kerning values.
Example: AV
Is this my code fault?
if (this->m_Kerning == true)
{
for (unsigned k = 0; k < CharMap.size (); ++k)
{
FT_Vector Correction;
FT_Get_Kerning (FreeType2Face, static_cast<unsigned int>(CharMap
[k]), CurrentIndex, FT_KERNING_UNFITTED, &Correction);
this->m_KerningData [CharMap [i]][CharMap [k]] = (Correction.x >>
6);
if (this->m_KerningData [CharMap [i]][CharMap [k]] < 0) std::cout
<< CharMap [k] << CharMap [i] << "(" << this->m_KerningData [CharMap
[i]][CharMap [k]] << "), ";
}
}
_______________________________________________
Freetype mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype