googlefonts / fontdiffenator

Font comparison tool
Apache License 2.0
80 stars 13 forks source link

WIP: Render diff tables and font tables #29

Closed m4rc1e closed 5 years ago

m4rc1e commented 5 years ago

For the past year I've had to use GF Regression to visualise diff results.

This PR will allow users to generate their own before and after gifs. In order to do this, Harfbuzz, Cairo and FreeType need to be installed.

I'm hoping this feature will allow designers to easily proof their fonts. Previously it was a pita. This implementation is also over x100 faster.


kerns_missing Cairo upstream against GF version


@davelab6 keep this open.

I still need to do the following:

cc @chrissimpkins

chrissimpkins commented 5 years ago

fontdiffenator -rd -r diff.gif [Font1.ttf] [Font2.ttf] is how you use it?

m4rc1e commented 5 years ago

diffenator font_a font_b -r ~/path/to/dir

I'll update the Readme.

m4rc1e commented 5 years ago

Getting close. I just need to add the C libs to travis.

Once this is merged, I'm make a start on #28

m4rc1e commented 5 years ago

@davelab6 This can be merged now.

I haven't extensively tested it so there may be a few edge cases I haven't covered. I'll hopefully pick them up when I refactor to make the v1.0.0 release.

m4rc1e commented 5 years ago

@davelab6 we have a bunch of fonts that need releasing this week. I'll test on this first before we merge.

davelab6 commented 5 years ago

Sounds good

m4rc1e commented 5 years ago

@davelab6 we're good here sir!

Apologies for taking a while, had to learn a bunch of new apis and Cython etc.

The functionality of this tool is pretty much complete. I will tackle #28 over the holidays so we have a quality tool .