Comment #3 on issue 8138 by [email protected]: Restore anti-aliasing
http://code.google.com/p/chromium/issues/detail?id=8138

This is just for your information.
When adding FT_LOAD_TARGET_LCD in skia, is it possible to add  
FT_LOAD_NO_BITMAP to ignore bitmap glyphs of a font?
As far as I read the current skia,  
SkScalerContext_FreeType::generateImage() just copies the bitmap glyph to  
the output buffer
when a font has bitmap glyphs. (Unfortunately, a lot of CJK fonts still  
have bitmap glyphs.) This causes a serious problem
that we cannot render CJK characters at all when we use sub-pixel smoothing  
because the size of the bitmap glyph is not equal
to the one of the output buffer in this case. Even though we can change the  
function to resize the bitmap glyphs, I think
adding FT_LOAD_NO_BITMAP is easier to fix this edge case.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to