https://bugs.kde.org/show_bug.cgi?id=392473

--- Comment #5 from Tyson Tan <tyson...@mail.com> ---
There are a few factors involved about Krita's text rendering problem:
1) Font/background colors and subpixel antialiasing
2) Krita's way of handing font size against dpi (or what ever reference it
uses)
3) Krita's way of handing hinting

First of all, I noticed that when text in Krita has a non-grey color, it often
looks weird over a grey-color background. This probably has something to do
with text antialiasing method. GIMP probably use "Subpixel" method which allows
subpixels produced by antialiasing interpolation to have color/transparency.
Krita on the other hand, uses the "Grayscale" method. It makes the subpixels
looks disjointed with the main color and closer to the background color,
therefore the final result look uneven to human perception. The particular
example I included can be considered to be the extreme situation.

Secondary, a same font size in Krita and GIMP produces different actual font
size (both document are 640x480, 72dpi). A) I don't know what Krita's font size
unit is -- in my .kra file it is "9", but in SVG it says "16pt". But "9" and
"16pt" in Krita matches the size of 12px in GIMP. I don't know which is more
correct, but at least Krita's font size is proportional relative to the canvas
size, which is very confusing and I might need to file another BUG report just
for that.

Thirdly, hinting changes how freetype forces the letters into screen pixels. It
has the following values: none, slight, medium, full. It might be useful for
screen UI text but wrong for everything else. Krita might be using medium,
which distorts the font's original shapes, and this effect is further worsened
by greyscale antialiasing creating a very weird result under certain
circumstances.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to