<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">El 29/10/22 a las 21:01, Juan Vuletich
escribió:<br>
</div>
<blockquote type="cite" cite="mid:635DBEDF.1060201@cuis.st">Hi
Mariano,
<br>
<br>
On 10/29/2022 7:53 AM, Mariano Montone via Cuis-dev wrote:
<br>
<blockquote type="cite">A thing I would like to adjust if it were
possible, is that I feel like the font rendering loses some
sharpness with VG; some fonts more than others, and some sizes
more than others.
<br>
</blockquote>
<br>
You can tweak
VectorEngineWithPluginSubPixel>>#defaultAntiAliasingWidth
and then evaluate `TrueTypeFont allInstancesDo: [ :f | f
releaseCachedState ].`, to try different parameters for the
antialiasing filter.
<br>
</blockquote>
Ah, apologies to Gerald, I didn't see that part when he pointed it
to me.<br>
<blockquote type="cite" cite="mid:635DBEDF.1060201@cuis.st">
<br>
Still, I'm curious. Can you post a Display using
HybridCanvas/VectorCanvas and another using BitBltCanvas? Best if
you can include some fonts/sizes you feel are sharp enough, and
others that aren't. If file sizes are too big for the list (I
believe it is 500kb once encoded in MIME64), please send them to
me privately.
<br>
</blockquote>
I'm inserting some images below. Look at the equality symbol for
example. I think the problem is that the greying of the font is too
much and makes the font blurry. But my comparison is probably
unfair, since I'm using the DejaVuBitmap font for the Bitmap case,
with doesn't use the greying, or too little; but that's an example
of what I mean "sharp".<br>
<blockquote type="cite" cite="mid:635DBEDF.1060201@cuis.st">
<br>
One question: What Display resolution do you use? Size of screen?
Does the `Display size` in Cuis match the OS and physical screen
resolution? (this is rarely the case on MacOS, unfortunately).
<br>
</blockquote>
<p>I'm on Linux with screen size of 1366x768. Cuis Display is
1360x713.<br>
</p>
<blockquote type="cite" cite="mid:635DBEDF.1060201@cuis.st">
<br>
Finally, a screen capture of an editor in your host OS with some
text that looks sharp to your eyes would be helpful.
<br>
</blockquote>
<p>Bitmap Cuis (DejaVuBitmap) (sharp):<br>
</p>
<p><img moz-do-not-send="false"
src="cid:part1.yJ2P9RqM.heqSX5gM@gmail.com" alt="" width="252"
height="100"></p>
<p>Vector (DejaVuSans) (not sharp):<br>
</p>
<p><img moz-do-not-send="false"
src="cid:part2.D0cimY24.OiKQpY1d@gmail.com" alt="" width="269"
height="91"></p>
<p>Host OS app:</p>
<img moz-do-not-send="false"
src="cid:part3.E7qrjVxv.Wa7jCtCD@gmail.com" alt="" width="820"
height="108"><br>
<p>I feel like the Host OS is using less greying around the fonts
than Cuis and that makes it sharper.</p>
<p><br>
</p>
<p>Thanks, <br>
</p>
<p> Mariano<br>
</p>
<br>
<p><br>
</p>
</body>
</html>