Skip to content

Code repository for tools for the the testing and analysis of potential Progressive Font Enrichment (PFE) solutions.

License

Notifications You must be signed in to change notification settings

w3c/PFE-analysis

Repository files navigation

PFE-analysis

Code repository for tools for the testing and analysis of potential Progressive Font Enrichment (PFE) solutions.

Build

This repository uses the bazel build system. You can build everything:

bazel build ...

and run all of the tests:

bazel test ...

Example of Running the Analysis

# Run the analysis
bazel run analysis:analyzer -- --input_data=$(pwd)/analysis/sample/english_sequence.textproto --input_form=text --font_directory=$(pwd)/patch_subset/testdata/ --default_font_id=Ahem.optimized.ttf > /tmp/pfe-analysis-results.textproto

# Inspect the results
bazel run tools:summarize_results -- --input_file=/tmp/pfe-analysis-results.textproto cost_summary

Test one PFE method

bazel test analysis/pfe_methods:range_request_pfe_method_test

Code Style

The code follows the Google C++ Style Guide. Formatting is enforced by an automated check for new commits to this repo. You can auto-correct formatting for all files using the format.sh script.

About

Code repository for tools for the the testing and analysis of potential Progressive Font Enrichment (PFE) solutions.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published