Logo Search packages:      
Sourcecode: yudit version File versions

SS_GlyphIndex SFontTTF::substituteOTFGlyph ( const char *  feature,
SS_GlyphIndex  g 
) [protected]

Use feature 1 Signle Substitution and substitute glyph

Parameters:
feature is one of
  • init
  • isol
  • fina
  • medi
Returns:
0 on failure.

Definition at line 668 of file SFontOTF.cpp.

References getOTFLigature().

Referenced by findGlyphs().

{
  SS_GlyphIndex out = 0;
  unsigned int ligs = getOTFLigature ("arab", feature, &g, 1, &out, 1);
  if (ligs) return out;
  ligs = getOTFLigature ("syrc", feature, &g, 1, &out, 1);
  return 0;
}


Generated by  Doxygen 1.6.0   Back to index