snowie2000/mactype

MacType rendering is super slow?

LoganDark opened this issue · 11 comments

Without MacType installed, scrolling lists in apps like Task Manager or Explorer is super fast. But with it installed, scrolling lists becomes super slow!

Here is a video demonstration:

VID_20230107_085136-8mb.mp4

Some programs have it worse than others. RealWorld Paint is extremely slow and flickery, and it's just a simple Win32 app from over a decade ago. It has no business being this slow given the fact that it was designed for Windows 2000.

Without MacType:

RWPaint_tjm1cvZE3y.mp4

With MacType:

RWPaint_QSDt1jqJzE.mp4

Without MacType:

RWPaint_YgdONVvjop.mp4

With MacType:

RWPaint_QlWeG8rRRi.mp4

This is insane. do you know why MacType is so much slower than the vanilla Windows rendering? is there any way to make it faster?

I think it's that the application is loading all types of fonts for preview purposes and it will lag because mactype(freetype) needs to load that font as well along with Windows. Other than that, I didn't see any problem.

Rec.0061.mp4

I think it's that the application is loading all types of fonts for preview purposes and it will lag because mactype(freetype) needs to load that font as well along with Windows. Other than that, I didn't see any problem.

The text tool isn't even selected in the first two recordings, in the second two, the rest of the app still has terrible lag and slowness, so this is not "loading".

Unless mactype loads a font from scratch every time it is asked to draw something (?!?!)

Mactype only loads font on demand, and one font will be loaded only once per-app-run.

It's weird that the fonts in your recording look even worse with mactype...

It's weird that the fonts in your recording look even worse with mactype...

There's a font substitution (Inter), but this same issue occurs on my other computer without the substitution

The only thing that your system differs from mine is that you're using an HiDPI monitor.

Maybe you could try to put ClipBoxFix=0 under the experimental section?

The only thing that your system differs from mine is that you're using an HiDPI monitor.

Maybe you could try to put ClipBoxFix=0 under the experimental section?

This doesn't affect performance at all (just tested it)

Then my only hypothesis is that you have installed a font/some fonts which are somewhat incompatible with freetype and render super slowly. When you do something with the realworld paint, it loads the font in the background for some reason and slow down the whole program.

As you can see, on my system, RWPaint is quite clean. It only loads very basic and common fonts on canvas creation and everything is just smooth without hiccups.

Rec.0062.mp4

I love MacType abd this, just broke down my heart
Situation is terrible in emacs

As you can see, on my system, RWPaint is quite clean. It only loads very basic and common fonts on canvas creation and everything is just smooth without hiccups.

This is weird, how in the world is yours so fast?

What installation method are you using?