Home | History | Annotate | Download | only in tools

Lines Matching defs:fontDesc

28 static struct FontDesc {
365 static int written_index(const FontDesc& fontDesc) {
368 if (!strcmp(fontDesc.fFont, writ.fName) && fontDesc.fStyle == writ.fStyle) {
377 FontDesc& fontDesc = gFonts[index];
378 int fontIndex = written_index(fontDesc);
380 fontDesc.fFontIndex = fontIndex;
383 SkTypeface* systemTypeface = SkTypeface::CreateFromName(fontDesc.fFont, fontDesc.fStyle);
385 SkString filepath(GetResourcePath(fontDesc.fFile));
389 output_font(resourceTypeface, fontDesc.fFont, fontDesc.fStyle, fontDesc.fCharsUsed, out);
390 fontDesc.fFontIndex = gWritten.count();
392 writ->fName = fontDesc.fFont;
393 writ->fStyle = fontDesc.fStyle;
427 const FontDesc& desc = gFonts[subIndex];