[Cuis-dev] Big News! Cuis is now Unicode and Vector Graphics

Mariano Montone marianomontone at gmail.com
Sun Oct 30 06:28:48 PDT 2022


El 29/10/22 a las 21:01, Juan Vuletich escribió:
> Hi Mariano,
>
> On 10/29/2022 7:53 AM, Mariano Montone via Cuis-dev wrote:
>> 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.
>
> You can tweak 
> VectorEngineWithPluginSubPixel>>#defaultAntiAliasingWidth and then 
> evaluate `TrueTypeFont allInstancesDo: [ :f | f releaseCachedState 
> ].`, to try different parameters for the antialiasing filter.
Ah, apologies to Gerald, I didn't see that part when he pointed it to me.
>
> 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.
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".
>
> 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).

I'm on Linux with screen size of 1366x768. Cuis Display is 1360x713.

>
> Finally, a screen capture of an editor in your host OS with some text 
> that looks sharp to your eyes would be helpful.

Bitmap Cuis (DejaVuBitmap) (sharp):

Vector (DejaVuSans) (not sharp):

Host OS app:


I feel like the Host OS is using less greying around the fonts than Cuis 
and that makes it sharper.


Thanks,

     Mariano


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20221030/6afdc749/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cuis-bitmap-font.png
Type: image/png
Size: 6391 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20221030/6afdc749/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cuis-vector-font.png
Type: image/png
Size: 8958 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20221030/6afdc749/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: thunderbird.png
Type: image/png
Size: 23202 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20221030/6afdc749/attachment-0005.png>


More information about the Cuis-dev mailing list