Code repository for tools for the testing and analysis of potential Progressive Font Enrichment (PFE) solutions.
This repository uses the bazel build system. You can build everything:
bazel build ...
and run all of the tests:
bazel test ...
# 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
bazel test analysis/pfe_methods:range_request_pfe_method_test
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.