googlefonts / googlefonts/fontations

[skrifa] assess autohinting performance

Open
#1,147 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
827
Forks
76
Avg merge
22h 33m
Merged PRs (30d)
75

Description

Testing with fauntlet revealed that applying autohinting to the [Handjet](https://fonts.google.com/specimen/Handjet) font takes considerable time to the point where we should likely avoid doing it at all.

Let's get some metrics for various fonts (particularly on mobile) and try to come up with reasonable limits to avoid performance cliffs.

Note: cases where autohinting takes excessive time likely indicate very complex or overly dense geometry which will either not benefit from hinting or produce distorted results.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Handjet autohinting case with fauntlet, then measure autohinting time across various fonts, particularly on mobile. Compare the results to geometry complexity and define reasonable limits that avoid performance cliffs; done means the limits and their expected behavior are established and covered by the relevant measurements.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.