Home
last modified time | relevance | path

Searched refs:fonts (Results 1 - 25 of 69) sorted by relevance

123

/third_party/skia/src/ports/
H A DSkFontMgr_fuchsia.cpp10 #include <fuchsia/fonts/cpp/fidl.h>
55 fuchsia::fonts::Slant SkToFuchsiaSlant(SkFontStyle::Slant slant) { in SkToFuchsiaSlant()
58 return fuchsia::fonts::Slant::OBLIQUE; in SkToFuchsiaSlant()
60 return fuchsia::fonts::Slant::ITALIC; in SkToFuchsiaSlant()
63 return fuchsia::fonts::Slant::UPRIGHT; in SkToFuchsiaSlant()
67 SkFontStyle::Slant FuchsiaToSkSlant(fuchsia::fonts::Slant slant) { in FuchsiaToSkSlant()
69 case fuchsia::fonts::Slant::OBLIQUE: in FuchsiaToSkSlant()
71 case fuchsia::fonts::Slant::ITALIC: in FuchsiaToSkSlant()
73 case fuchsia::fonts::Slant::UPRIGHT: in FuchsiaToSkSlant()
79 fuchsia::fonts
[all...]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/testing/
H A DFontLoader.java21 Font[] fonts = load(fontFile); in getFont()
22 if (fonts == null) { in getFont()
25 return fonts[0]; in getFont()
29 List<File> fonts, File dir, String startFrom, boolean foundStart) { in getFontFiles()
35 fonts.add(file); in getFontFiles()
39 getFontFiles(fonts, file, startFrom, foundStart); in getFontFiles()
28 getFontFiles( List<File> fonts, File dir, String startFrom, boolean foundStart) getFontFiles() argument
/third_party/skia/third_party/externals/sfntly/cpp/tools/
H A Dtest_data_generator_xml.py22 """Generates XML data for fonts using the provided |table_data_generators|."""
24 def __init__(self, table_data_generators, fonts, destination):
26 self.fonts = fonts
30 for font_path in self.fonts:
H A Dgenerate_font_list_cc.py70 default='../data/fonts',
75 parser.add_argument('--fonts',
81 help="""base directory of the fonts in the generated
96 if not args.fonts:
97 args.fonts = [path for path in
101 elif type(args.fonts) != 'list':
102 args.fonts = [args.fonts]
120 };""").substitute(tests=',\n'.join(map(GetFontPath, args.fonts))))
H A Dgenerate_font_data_xml.py16 """Script to generate XML test data from fonts."""
36 default='../data/fonts',
45 parser.add_argument('--fonts',
51 help="""base directory of the fonts in the generated
77 if not args.fonts:
78 args.fonts = GetFontList(args.source, ['.ttf', '.ttc', '.otf'])
82 args.fonts,
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/
H A DGPosTests.java23 Font[] fonts; in testGposFiles()
25 fonts = TestFontUtils.loadFont(name.getFile()); in testGposFiles()
26 assertNotNull(fonts); in testGposFiles()
31 for (int i = 0; i < fonts.length; ++i) { in testGposFiles()
32 Font font = fonts[i]; in testGposFiles()
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/subtly/
H A Dutils.cc32 FontArray fonts; in LoadFont() local
33 LoadFonts(font_path, font_factory, &fonts); in LoadFont()
34 return fonts[0].Detach(); in LoadFont()
45 void LoadFonts(const char* font_path, FontFactory* factory, FontArray* fonts) { in LoadFonts() argument
48 factory->LoadFonts(&input_stream, fonts); in LoadFonts()
H A Dmerger.cc34 Merger::Merger(FontArray* fonts) { in Merger() argument
35 if (!fonts) { in Merger()
38 int32_t num_fonts = fonts->size(); in Merger()
40 fonts_.insert(std::make_pair(i, fonts->at(i))); in Merger()
H A Dmerger_main.cc49 FontArray fonts; in main() local
54 fonts.push_back(font); in main()
57 Ptr<Merger> merger = new Merger(&fonts); in main()
H A Dfont_info.cc65 FontIdMap* fonts) { in FontInfo()
70 fonts_ = new FontIdMap(fonts->begin(), fonts->end()); in FontInfo()
105 void FontInfo::set_fonts(FontIdMap* fonts) { in set_fonts() argument
106 *fonts_ = *fonts; in set_fonts()
63 FontInfo(CharacterMap* chars_to_glyph_ids, GlyphIdSet* resolved_glyph_ids, FontIdMap* fonts) FontInfo() argument
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/
H A DFontFactory.java36 * The font factory. This is the root class for the creation and loading of fonts.
92 * Toggle whether fonts that are loaded are fingerprinted with a SHA-1 hash.
94 * font. This is useful for uniquely identifying fonts. By default this is turned on.
104 * Get the state of the fingerprinting option for fonts that are loaded.
117 * are used during the loading process. One or more fonts are returned if the
124 * @return one or more fonts
163 Font[] fonts = new Font[builders.length]; in loadCollection()
164 for (int i = 0; i < fonts.length; i++) { in loadCollection()
165 fonts[i] = builders[i].build(); in loadCollection()
167 return fonts; in loadCollection()
[all...]
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
H A Dcmap_editing_test.cc68 FontArray fonts; in TEST() local
71 LoadFont(SAMPLE_TTF_FILE, font_factory, &fonts); in TEST()
73 ASSERT_FALSE(fonts.empty()); in TEST()
74 ASSERT_FALSE(fonts[0] == NULL); in TEST()
75 FontPtr font = fonts[0]; in TEST()
H A Dtest_font_utils.cc45 void LoadFont(const char* font_path, FontFactory* factory, FontArray* fonts) { in LoadFont() argument
48 factory->LoadFonts(&is, fonts); in LoadFont()
54 FontArray* fonts) { in LoadFontUsingByteVector()
60 factory->LoadFonts(&bv, fonts); in LoadFontUsingByteVector()
52 LoadFontUsingByteVector(const char* font_path, bool fingerprint, FontArray* fonts) LoadFontUsingByteVector() argument
H A Dtest_font_utils.h29 void LoadFont(const char* font_path, FontFactory* factory, FontArray* fonts);
32 FontArray* fonts);
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/testutils/
H A DTestFontUtils.java54 * Open a file and read any fonts that it contains.
55 * In many cases this will be a single font but it may be multiple fonts.
57 * @return the fonts that came from the file
65 * Open a file and read any fonts that it contains.
66 * In many cases this will be a single font but it may be multiple fonts.
69 * @return the fonts that came from the file
87 * Open a file and read any fonts that it contains and check the fonts against supplied expected
91 * @return the fonts that came from the file
95 Font[] fonts in loadFont()
[all...]
/third_party/notofonts/scripts/
H A Dgather.py29 """Unzip fonts. If not dst is given unzip as BytesIO objects"""
30 fonts = []
36 fonts.append(target)
38 fonts.append(BytesIO(zipfile.read(filename)))
39 return fonts
143 fonts = fonts_from_zip(z, tmpdir) variable
144 for font in fonts:
145 newpath = Path("fonts/") / Path(font).relative_to(tmpdir)
/third_party/skia/third_party/externals/harfbuzz/util/
H A Dhb-fc-list.c81 fprintf (file, "List fonts matching [pattern] that can render [text]\n"); in usage()
86 fprintf (file, " -q, --quiet suppress all normal output, exit 1 if no fonts matched\n"); in usage()
92 fprintf (file, " -q, (quiet) suppress all normal output, exit 1 if no fonts matched\n"); in usage()
187 hb_font_t *font = hb_fc_font_create (fs->fonts[j]); in main()
194 FcPatternDel (fs->fonts[j], FC_CHARSET); in main()
198 FcPatternPrint (fs->fonts[j]); in main()
204 s = FcPatternFormat (fs->fonts[j], format); in main()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sfview/
H A DRuleDump.java20 Font[] fonts = loadFont(new File(fontName)); in main()
21 if (fonts == null) { in main()
25 Font font = fonts[0]; in main()
H A DSFView.java18 Font[] fonts = loadFont(new File(fontName)); in main()
19 if (fonts == null) { in main()
22 for (Font font : fonts) { in main()
H A DGsubRulesDump.java21 Font[] fonts = loadFont(new File(fontName)); in main()
22 if (fonts == null) { in main()
26 Font font = fonts[0]; in main()
/third_party/cups-filters/filter/
H A Dpdf.cxx192 QPDFObjectHandle fonts = resources.getKey("/Font"); in pdf_add_type1_font() local
193 if (fonts.isNull()) in pdf_add_type1_font()
195 fonts = QPDFObjectHandle::newDictionary(); in pdf_add_type1_font()
197 else if (!fonts.isDictionary()) in pdf_add_type1_font()
204 fonts.replaceKey("/bannertopdf-font", font); in pdf_add_type1_font()
205 resources.replaceKey("/Font", fonts); in pdf_add_type1_font()
/third_party/skia/include/ports/
H A DSkFontMgr_fuchsia.h11 #include <fuchsia/fonts/cpp/fidl.h>
17 SK_API sk_sp<SkFontMgr> SkFontMgr_New_Fuchsia(fuchsia::fonts::ProviderSyncPtr provider);
/third_party/ffmpeg/libavcodec/
H A Dmovtextenc.c87 char **fonts; member
172 av_freep(&s->fonts); in mov_text_encode_close()
265 av_dynarray_add(&s->fonts, &s->font_count, style->font_name); in encode_sample_description()
273 if (!strcmp(s->fonts[j], ass->styles[i].font_name)) { in encode_sample_description()
279 av_dynarray_add(&s->fonts, &s->font_count, in encode_sample_description()
285 av_dynarray_add(&s->fonts, &s->font_count, (char*)"Serif"); in encode_sample_description()
296 size_t len = strlen(s->fonts[i]); in encode_sample_description()
303 av_bprint_append_any(&s->buffer, s->fonts[i], len); in encode_sample_description()
501 if (!strcmp(name, s->fonts[i])) in find_font_id()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/fontinfo/
H A DFontUtils.java64 Font[] fonts = null; in getFonts()
67 fonts = fontFactory.loadFonts(is); in getFonts()
72 return fonts; in getFonts()
/third_party/skia/third_party/externals/harfbuzz/test/subset/
H A Dsubset_test_suite.py53 self.fonts = []
71 for font in self.fonts:
72 font = os.path.join(self._base_path(), "fonts", font)
83 "FONTS:": self.fonts,

Completed in 8 milliseconds

123