Home
last modified time | relevance | path

Searched refs:font_name (Results 1 - 25 of 31) sorted by relevance

12

/third_party/skia/third_party/externals/harfbuzz/test/subset/
H A Dgenerate-expected-outputs.py30 def generate_expected_output(input_file, unicodes, profile_flags, output_directory, font_name):
31 fonttools_path = os.path.join(tempfile.mkdtemp (), font_name)
44 harfbuzz_path = os.path.join(tempfile.mkdtemp (), font_name)
65 output_path = os.path.join(output_directory, font_name)
84 font_name = test.get_font_name() variable
85 print("Creating subset %s/%s" % (output_directory, font_name))
87 output_directory, font_name)
H A Drepack_test.py12 self.font_name = None
17 return os.path.join (self._base_path (), "fonts", self.font_name)
30 self.font_name = lines.pop (0)
H A Drun-repack-tests.py43 print (' test.font_name %s' % test.font_name)
48 out_file = os.path.join (tempfile.mkdtemp (), test.font_name + '-subset.ttf')
/third_party/skia/third_party/externals/sfntly/cpp/src/test/autogenerated/
H A Dcmap_basic_test.cc62 std::string font_name = "../../"; in SetUp() local
64 font_name += "../"; in SetUp()
66 font_name += std::string(GetParam()); in SetUp()
67 LoadFont(font_name.c_str(), font_factory, &font_array); in SetUp()
73 fprintf(stderr, "No CMap: %s\n", font_name.c_str()); in SetUp()
77 document_ = TiXmlDocument((font_name + ".xml").c_str()); in SetUp()
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
H A Dcmap_test.cc44 CMapTestCase(const char* font_name, in CMapTestCase() argument
53 : font_name_(font_name), in CMapTestCase()
64 const char* font_name() const { return font_name_; } in font_name() function in sfntly::CMapTestCase
106 << test_case->font_name() << ", " in operator <<()
171 LoadFont(GetParam().font_name(), font_factory, &font_array); in TEST_P()
180 LoadFont(GetParam().font_name(), font_factory, &font_array); in TEST_P()
187 LoadFontUsingByteVector(GetParam().font_name(), true, &font_array); in TEST_P()
/third_party/skia/modules/skottie/src/text/
H A DTextValue.cpp22 const skjson::StringValue* font_name = (*jtxt)["f"]; in Parse() local
26 if (!font_name || !text || !text_size || !line_height) { in Parse()
30 const auto* font = abuilder.findFont(SkString(font_name->begin(), font_name->size())); in Parse()
32 abuilder.log(Logger::Level::kError, nullptr, "Unknown font: \"%s\".", font_name->begin()); in Parse()
/third_party/ffmpeg/libavcodec/
H A Dsrtenc.c102 if (st->font_name && strcmp(st->font_name, ASS_DEFAULT_FONT) || in srt_style_apply()
106 if (st->font_name && strcmp(st->font_name, ASS_DEFAULT_FONT)) in srt_style_apply()
107 srt_print(s, " face=\"%s\"", st->font_name); in srt_style_apply()
219 .font_name = srt_font_name_cb,
H A Dmovtextenc.c264 if (style->font_name) { in encode_sample_description()
265 av_dynarray_add(&s->fonts, &s->font_count, style->font_name); in encode_sample_description()
266 font_names_total_len += strlen(style->font_name); in encode_sample_description()
270 if (!ass->styles[i].font_name) in encode_sample_description()
273 if (!strcmp(s->fonts[j], ass->styles[i].font_name)) { in encode_sample_description()
280 ass->styles[i].font_name); in encode_sample_description()
281 font_names_total_len += strlen(ass->styles[i].font_name); in encode_sample_description()
560 mov_text_font_name_set(s, style->font_name); in mov_text_ass_style_set()
630 .font_name = mov_text_font_name_cb,
H A Dass_split.h41 char *font_name; /**< font face (case sensitive) */ member
148 void (*font_name)(void *priv, const char *name); member
H A Dttmlenc.c289 if (style.font_name) { in ttml_write_region()
291 av_bprint_escape(buf, style.font_name, NULL, AV_ESCAPE_MODE_XML, in ttml_write_region()
H A Dass_split.c76 {"Fontname", ASS_STR, offsetof(ASSStyle, font_name) },
108 {"Fontname", ASS_STR, offsetof(ASSStyle, font_name) },
527 if (callbacks->font_name) in ff_ass_split_override_codes()
528 callbacks->font_name(priv, tmp[0] ? tmp : NULL); in ff_ass_split_override_codes()
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/chromium/
H A Dfont_subsetter.cc21 int SfntlyWrapper::SubsetFont(const char* font_name, in SubsetFont() argument
34 if (!subsetter.LoadFont(font_name, original_font, font_size)) { in SubsetFont()
H A Dsubsetter_impl.cc95 bool HasName(const char* font_name, Font* font) { in HasName() argument
96 UnicodeString font_string = UnicodeString::fromUTF8(font_name); in HasName()
147 Font* FindFont(const char* font_name, const FontArray& font_array) { in FindFont() argument
152 if (font_name && strlen(font_name)) { in FindFont()
155 if (HasName(font_name, i->p_)) { in FindFont()
646 bool SubsetterImpl::LoadFont(const char* font_name, in LoadFont() argument
657 font_ = FindFont(font_name, font_array); in LoadFont()
H A Dfont_subsetter.h35 // |font_name| Font name, required for TTC files. If specified NULL,
43 static int SubsetFont(const char* font_name,
60 // |font_name| Font index, ignored for non-TTC files, 0-indexed.
H A Dsubsetter_impl.h57 bool LoadFont(const char* font_name,
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A Dgen_overlay_fonts.py172 for font_name, font_size in font_defs:
181 font_tag = font_name.capitalize()
/third_party/skia/third_party/externals/freetype/src/type1/
H A Dt1driver.c106 return (const char*) face->type1.font_name; in t1_get_ps_name()
274 if ( type1->font_name ) in t1_ps_get_font_value()
276 retval = ft_strlen( type1->font_name ) + 1; in t1_ps_get_font_value()
278 ft_memcpy( value, (void *)( type1->font_name ), retval ); in t1_ps_get_font_value()
H A Dt1objs.c261 FT_FREE( type1->font_name ); in T1_Face_Done()
445 if ( type1->font_name ) in FT_LOCAL_DEF()
446 root->family_name = type1->font_name; in FT_LOCAL_DEF()
H A Dt1tokens.h106 T1_FIELD_KEY ( "FontName", font_name, T1_FIELD_DICT_FONTDICT )
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dmain.cc283 dump_glyphs (hb_blob_t *blob, const char *font_name) in dump_glyphs() argument
299 fwrite (font_name, 1, strlen (font_name), font_name_file); in dump_glyphs()
/third_party/skia/modules/skottie/src/layers/
H A DTextLayer.cpp409 const AnimationBuilder::FontInfo* AnimationBuilder::findFont(const SkString& font_name) const { in findFont()
410 return fFonts.find(font_name); in findFont()
/third_party/skia/third_party/externals/freetype/src/type42/
H A Dt42objs.c278 if ( type1->font_name ) in FT_LOCAL_DEF()
279 root->family_name = type1->font_name; in FT_LOCAL_DEF()
441 FT_FREE( type1->font_name ); in T42_Face_Done()
H A Dt42drivr.c108 return (const char*)face->type1.font_name; in t42_get_ps_font_name()
/third_party/python/Lib/idlelib/
H A Dconfigdialog.py309 on_fontlist_select(), which sets var font_name.
325 (*)fontlist: ListBox - font_name
334 self.font_name = tracers.add(StringVar(self), self.var_changed_font)
389 from tk. Setup fontlist and set font_name. Setup sizelist,
393 font_name = configured_font[0].lower()
397 # Set sorted no-duplicate editor font selection list and font_name.
401 self.font_name.set(font_name)
404 current_font_index = lc_fonts.index(font_name)
426 value = self.font_name
[all...]
/third_party/skia/third_party/externals/freetype/include/freetype/internal/
H A Dt1types.h101 FT_String* font_name; /* top-level dictionary */ member

Completed in 22 milliseconds

12