freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I'm back


From: David Turner
Subject: Re: I'm back
Date: Thu, 30 Apr 2020 00:43:44 +0200



Le ven. 24 avr. 2020 à 22:46, Nikolaus Waxweiler <address@hidden> a écrit :
Woah 😮

My favorite pet issue I never got around to fixing: make stem darkening
for the autohinter be as good as the CFF variant. Also, at least basic
stem darkening for bytecode'd TTFs.

Can you clarify what that means exactly? I think I lack context and/or examples :-)
 
Then Qt can go all in on stem
darkening and rendering fonts correctly. And hopefully everyone else.

What do you mean by "going all in on stem darkening", especially for QT?
Are you advocating for UIs with darker / bolder fonts or something like that?
Just trying to understand.


Also, the build system generation thing sounds very meta. I'd prefer
settling on a single build system (either CMake or Meson and nothing
else) 😁

I was thinking about something much simpler at first. For example, I have some local changes to considerably simplify the content of the rules.mk / module.mk.
This uses a few custom GNU Make functions but that's a hidden / implementation detail. The point is to make these .mk files easily parseable by something else.

The current build system was designed in a very different time, and there is definitely value in changing it more drastically. I'll start a different thread to discuss the idea though.

And even a basic testing framework sounds good. One could, if so
inclined, even use https://github.com/rougier/freetype-py and use
pytest and hypothesis to hammer out a test suite.

I'd prefer something that tests the FreeType API directly instead, so something based on C or C++ instead. GoogleTest seems a good candidate for this.
Another possibility is to change the way regression testing is performed (generating MD5 directly in ftobjs.c is ... unelegant and limited).
There are probably several dimensions to explore from this, from the simplest things to full goodies like Skia Gold which is really impressive, can be used for non-Skia projects, but requires setting up / administering / paying for Google-Cloud accounts / services.
 
Is there a specific corpus of font files being used currently for regression testing? Should we try to create one or improve the existing one?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]