D17493: [WIP] Implementation of an Easy Mode in KCM fonts module
Max Harmathy
noreply at phabricator.kde.org
Tue Dec 11 15:29:56 GMT 2018
harmathy added inline comments.
INLINE COMMENTS
> freetype-renderer.cpp:342-345
> + int result_r = ((255 - value_r) * backgound_r + value_r * pen_r) / 255;
> + int result_g = ((255 - value_g) * backgound_g + value_g * pen_g) / 255;
> + int result_b = ((255 - value_b) * backgound_b + value_b * pen_b) / 255;
> + canvas->setPixel(cursor_x, cursor_y, qRgb(result_r, result_g, result_b));
sub-pixel rendered glyphs have unusual color haze
REPOSITORY
R119 Plasma Desktop
REVISION DETAIL
https://phabricator.kde.org/D17493
To: harmathy
Cc: yurchor, davidedmundson, broulik, ngraham, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20181211/ce21993b/attachment.html>
More information about the Plasma-devel
mailing list