freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft] sub pixel rendering does not work


From: newltf
Subject: [ft] sub pixel rendering does not work
Date: Thu, 20 Jun 2013 00:40:21 +0800 (CST)

I enable cleartype by uncomment macro FT_CONFIG_OPTION_SUBPIXEL_RENDERING and
write follow :

FT_Load_Glyph(Face, glyph.FtIndex, FT_LOAD_TARGET_LCD);
FT_Render_Glyph(Face->glyph, FT_RENDER_MODE_LCD);

the font become very large that is descriped by the comment “For example,
using FT_RENDER_MODE_LCD when calling */
  /* FT_Render_Glyph still generates a bitmap that is 3 times wider than   */
  /* the original size in case this macro isn't defined;”

what is the problem?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]