Home | History | Annotate | Download | only in subtly

Lines Matching refs:Font

19 #include "sfntly/font.h"
27 int32_t TotalFontSize(Font* font) {
29 const TableMap* table_map = font->GetTableMap();
37 double TableSizePercent(Font* font, int32_t tag) {
38 TablePtr table = font->GetTable(tag);
39 return static_cast<double>(table->DataLength()) / TotalFontSize(font) * 100;
42 void PrintComparison(FILE* out, Font* font, Font* new_font) {
44 const TableMap* tables = font->GetTableMap();
50 TableSizePercent(font, it->first));
70 void PrintStats(FILE* out, Font* font) {
72 const TableMap* tables = font->GetTableMap();
78 TableSizePercent(font, it->first));