Home
last modified time | relevance | path

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

12

/external/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()
/external/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()
/external/harfbuzz_ng/test/subset/
Dgenerate-expected-outputs.py43 font_name = test.get_font_name() variable
44 print "Creating subset %s/%s" % (output_directory, font_name)
47 font_name))
/external/fonttools/Tests/varLib/
DvarLib_test.py108 def _run_varlib_build_test(self, designspace_name, font_name, tables, argument
116 ttx_paths = self.get_file_list(ttx_dir, '.ttx', font_name + '-')
140 font_name='TestFamily',
158 font_name='TestFamily3',
178 font_name='TestFamily3',
198 font_name='TestFamily3',
209 font_name="TestFamily",
225 font_name='TestFamily4',
/external/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.cc130 bool HasName(const char* font_name, Font* font) { in HasName() argument
131 UCharString font_string = ConvertFromUtf8(font_name); in HasName()
182 Font* FindFont(const char* font_name, const FontArray& font_array) { in FindFont() argument
187 if (font_name && strlen(font_name)) { in FindFont()
190 if (HasName(font_name, i->p_)) { in FindFont()
676 bool SubsetterImpl::LoadFont(const char* font_name, in LoadFont() argument
687 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,
/external/skqp/modules/skottie/src/
DSkottieTextLayer.cpp229 sk_sp<SkTypeface> AnimationBuilder::findFont(const SkString& font_name) const { in findFont()
230 if (const auto* font = fFonts.find(font_name)) { in findFont()
234 this->log(Logger::Level::kError, nullptr, "Unknown font: \"%s\".", font_name.c_str()); in findFont()
DSkottieValue.cpp256 const skjson::StringValue* font_name = (*jtxt)["f"]; in FromJSON() local
259 if (!font_name || !text || !text_size || in FromJSON()
260 !(v->fTypeface = abuilder->findFont(SkString(font_name->begin(), font_name->size())))) { in FromJSON()
/external/skia/modules/skottie/src/
DSkottieTextLayer.cpp229 sk_sp<SkTypeface> AnimationBuilder::findFont(const SkString& font_name) const { in findFont()
230 if (const auto* font = fFonts.find(font_name)) { in findFont()
234 this->log(Logger::Level::kError, nullptr, "Unknown font: \"%s\".", font_name.c_str()); in findFont()
DSkottieValue.cpp256 const skjson::StringValue* font_name = (*jtxt)["f"]; in FromJSON() local
259 if (!font_name || !text || !text_size || in FromJSON()
260 !(v->fTypeface = abuilder->findFont(SkString(font_name->begin(), font_name->size())))) { in FromJSON()
/external/freetype/src/type1/
Dt1driver.c107 return (const char*) face->type1.font_name; in t1_get_ps_name()
273 if ( type1->font_name ) in t1_ps_get_font_value()
275 retval = ft_strlen( type1->font_name ) + 1; in t1_ps_get_font_value()
277 ft_memcpy( value, (void *)( type1->font_name ), retval ); in t1_ps_get_font_value()
Dt1objs.c258 FT_FREE( type1->font_name ); in T1_Face_Done()
442 if ( type1->font_name ) in T1_Face_Init()
443 root->family_name = type1->font_name; in T1_Face_Init()
Dt1tokens.h106 T1_FIELD_KEY ( "FontName", font_name, T1_FIELD_DICT_FONTDICT )
/external/python/cpython3/Lib/idlelib/
Dconfigdialog.py525 self.font_name = tracers.add(StringVar(self), self.var_changed_font)
596 font_name = configured_font[0].lower()
605 self.font_name.set(font_name)
608 current_font_index = lc_fonts.index(font_name)
630 value = self.font_name.get()
646 self.font_name.set(font.lower())
655 font_name = self.font_name.get()
657 new_font = (font_name, self.font_size.get(), font_weight)
/external/freetype/src/type42/
Dt42objs.c279 if ( type1->font_name ) in T42_Face_Init()
280 root->family_name = type1->font_name; in T42_Face_Init()
441 FT_FREE( type1->font_name ); in T42_Face_Done()
Dt42drivr.c108 return (const char*)face->type1.font_name; in t42_get_ps_font_name()
/external/pdfium/fpdfsdk/
Dfpdfedittext.cpp31 const ByteString& font_name, in LoadFontDesc() argument
38 fontDesc->SetNewFor<CPDF_Name>("FontName", font_name); in LoadFontDesc()
42 if (font_name.Contains("Serif")) in LoadFontDesc()
/external/freetype/include/freetype/internal/
Dt1types.h104 FT_String* font_name; /* top-level dictionary */ member
Dcfftypes.h370 FT_String* font_name; member
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_configdialog.py77 d.font_name.set('Fake')
82 self.assertNotEqual(d.font_name.get(), 'Fake')
105 self.assertIn(d.font_name.get(), down_font.lower())
115 self.assertIn(d.font_name.get(), up_font.lower())
138 self.assertIn(d.font_name.get(), font1.lower())
168 d.font_name.set('Test Font')
196 d.font_name.set('test')
/external/ImageMagick/MagickCore/
Dxwindow.c816 *font_name; in XBestFont() local
825 font_name=resource_info->font; in XBestFont()
827 font_name=resource_info->text_font; in XBestFont()
828 if ((font_name != (char *) NULL) && (*font_name != '\0')) in XBestFont()
839 fontlist=FontToList(font_name); in XBestFont()
851 ThrowXWindowException(XServerError,"UnableToLoadFont",font_name); in XBestFont()
3512 resource_info->font_name[0]=XGetResourceClass(database,client_name,"font1", in XGetResourceInfo()
3514 resource_info->font_name[1]=XGetResourceClass(database,client_name,"font2", in XGetResourceInfo()
3516 resource_info->font_name[2]=XGetResourceClass(database,client_name,"font3", in XGetResourceInfo()
3518 resource_info->font_name[3]=XGetResourceClass(database,client_name,"font4", in XGetResourceInfo()
[all …]
Dxwindow-private.h270 *font_name[MaxNumberFonts], member
/external/pdfium/core/fpdfdoc/
Dcpdf_formfield.cpp924 ByteString font_name(syntax.GetWord()); in LoadDA() local
925 CPDF_Dictionary* pFontDict = pFont->GetDictFor(font_name); in LoadDA()

12