googlefonts / googlefonts/fontations

Add (optional) serde support to write-fonts

Open
#392 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
826
Forks
75
Avg merge
22h 33m
Merged PRs (30d)
75

Description

I would like to be able to write tests for write-fonts that involve attempting to serialize specific real-world failures, and the best way I can think of doing this is to add optional serde support; this way I can save some specific table to disk and then load and compile it in tests.

This will require also adding (optional) serde support to font-types; see #311.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting the write-fonts and font-types crates and their dependency configuration to understand how optional features are defined. Add optional serde support across both crates so tests can save and reload tables, then verify that the real-world failure cases can be serialized and compiled in tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
testing, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.