Lines Matching refs:hkern
133 bool MatchHKerningRule(SPHkern const *hkern,
138 bool value = (hkern->u1->contains(previous_unicode[0])
139 || hkern->g1->contains(previous_glyph_name))
140 && (hkern->u2->contains(glyph->unicode[0])
141 || hkern->g2->contains(glyph->glyph_name.c_str()));
160 // has to read the attributes of the SVGFont hkern and vkern nodes in order to adjust the glyph kerning.
208 SPHkern *hkern = dynamic_cast<SPHkern *>(node);
209 if (hkern && is_horizontal_text && MatchHKerningRule(hkern, this->glyphs[i], previous_unicode, previous_glyph_name) ){
210 x -= (hkern->k / 1000.0);//TODO: use here the height of the font