DEFINE_REF(Font);
-Font::Font(fontRenderClass *render, FTC_FaceID faceid, int isize, int tw): ref(0), tabwidth(tw)
+Font::Font(fontRenderClass *render, FTC_FaceID faceid, int isize, int tw): tabwidth(tw)
{
renderer=render;
font.font.face_id=faceid;
height=isize;
if (tabwidth==-1)
tabwidth=8*isize;
- ref=0;
// font.image_type |= ftc_image_flag_autohinted;
}
{
}
+DEFINE_REF(eTextPara);
+
int eTextPara::appendGlyph(Font *current_font, FT_Face current_face, FT_UInt glyphIndex, int flags, int rflags)
{
FTC_SBit glyph;