Home
last modified time | relevance | path

Searched refs:font_name (Results 1 – 25 of 66) sorted by relevance

123

/third_party/skia/third_party/externals/harfbuzz/test/subset/
Dgenerate-expected-outputs.py30 def generate_expected_output(input_file, unicodes, profile_flags, output_directory, font_name): argument
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)
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)
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/
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/flutter/skia/third_party/externals/sfntly/cpp/src/test/autogenerated/
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/flutter/skia/third_party/externals/sfntly/cpp/src/test/
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/third_party/externals/sfntly/cpp/src/test/
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/flutter/skia/modules/skottie/src/text/
DTextValue.cpp25 const skjson::StringValue* font_name = (*jtxt)["f"]; in FromJSON() local
29 if (!font_name || !text || !text_size || !line_height) { in FromJSON()
33 const auto* font = abuilder->findFont(SkString(font_name->begin(), font_name->size())); in FromJSON()
35 abuilder->log(Logger::Level::kError, nullptr, "Unknown font: \"%s\".", font_name->begin()); in FromJSON()
/third_party/harfbuzz/test/subset/
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)
Dgenerate-expected-outputs.py41 font_name = test.get_font_name() variable
42 print("Creating subset %s/%s" % (output_directory, font_name))
45 font_name))
Drun-repack-tests.py36 print (' test.font_name %s' % test.font_name)
41 out_file = os.path.join (tempfile.mkdtemp (), test.font_name + '-subset.ttf')
/third_party/flutter/skia/third_party/externals/harfbuzz/test/subset/
Dgenerate-expected-outputs.py45 font_name = test.get_font_name() variable
46 print("Creating subset %s/%s" % (output_directory, font_name))
49 font_name))
/third_party/skia/modules/skottie/src/text/
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/
Dsrtenc.c99 if (st->font_name && strcmp(st->font_name, ASS_DEFAULT_FONT) || in srt_style_apply()
103 if (st->font_name && strcmp(st->font_name, ASS_DEFAULT_FONT)) in srt_style_apply()
104 srt_print(s, " face=\"%s\"", st->font_name); in srt_style_apply()
216 .font_name = srt_font_name_cb,
Dmovtextenc.c266 if (style->font_name) { in encode_sample_description()
267 av_dynarray_add(&s->fonts, &s->font_count, style->font_name); in encode_sample_description()
268 font_names_total_len += strlen(style->font_name); in encode_sample_description()
272 if (!ass->styles[i].font_name) in encode_sample_description()
275 if (!strcmp(s->fonts[j], ass->styles[i].font_name)) { in encode_sample_description()
282 ass->styles[i].font_name); in encode_sample_description()
283 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()
632 .font_name = mov_text_font_name_cb,
Dass_split.h41 char *font_name; /**< font face (case sensitive) */ member
164 void (*font_name)(void *priv, const char *name); member
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/chromium/
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()
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()
Dfont_subsetter.h43 static int SubsetFont(const char* font_name,
Dsubsetter_impl.h57 bool LoadFont(const char* font_name,
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sample/chromium/
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()
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()
Dfont_subsetter.h43 static int SubsetFont(const char* font_name,
Dsubsetter_impl.h57 bool LoadFont(const char* font_name,
/third_party/skia/third_party/externals/angle2/src/libANGLE/
Dgen_overlay_fonts.py172 for font_name, font_size in font_defs:
181 font_tag = font_name.capitalize()

123