4 proportional_regular_(Typeface::createSystemTypefaceFor(
5 BinaryData::LatoRegular_ttf, BinaryData::LatoRegular_ttfSize)),
6 proportional_light_(Typeface::createSystemTypefaceFor(
7 BinaryData::LatoLight_ttf, BinaryData::LatoLight_ttfSize)),
8 proportional_title_(Typeface::createSystemTypefaceFor(
9 BinaryData::MontserratLight_otf, BinaryData::MontserratLight_otfSize)),
10 proportional_title_regular_(Typeface::createSystemTypefaceFor(
11 BinaryData::MontserratRegular_ttf, BinaryData::MontserratRegular_ttfSize)),
12 monospace_(Typeface::createSystemTypefaceFor(
13 BinaryData::DroidSansMono_ttf, BinaryData::DroidSansMono_ttfSize)) {
17 Array<float> x_offsets;
18 proportional_regular_.getGlyphPositions(
"test", glyphs, x_offsets);
19 proportional_light_.getGlyphPositions(
"test", glyphs, x_offsets);
20 proportional_title_.getGlyphPositions(
"test", glyphs, x_offsets);
21 monospace_.getGlyphPositions(
"test", glyphs, x_offsets);