Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.07 KB

README.md

File metadata and controls

32 lines (24 loc) · 1.07 KB

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.