Home
last modified time | relevance | path

Searched refs:FontInfo (Results 1 - 25 of 27) sorted by relevance

12

/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/fontinfo/
H A DFontInfoMain.java73 System.out.println(String.format("sfnt version: %s", FontInfo.sfntVersion(font))); in main()
77 prependDataAndBuildCsv(FontInfo.listTables(font).csvStringArray(), fileName, i)); in main()
81 prependDataAndBuildCsv(FontInfo.listNameEntries(font).csvStringArray(), fileName, i)); in main()
84 System.out.println(String.format("sfnt version: %s", FontInfo.sfntVersion(font))); in main()
87 FontInfo.listTables(font).prettyPrint(); in main()
90 FontInfo.listNameEntries(font).prettyPrint(); in main()
100 prependDataAndBuildCsv(FontInfo.listFontMetrics(font).csvStringArray(), fileName, i)); in main()
104 FontInfo.listFontMetrics(font).prettyPrint(); in main()
114 FontInfo.listGlyphDimensionBounds(font).csvStringArray(), fileName, i)); in main()
118 FontInfo in main()
[all...]
/third_party/skia/src/ports/skia_ohos/
H A DFontInfo_ohos.h17 struct FontInfo { struct
22 FontInfo() : familyName(""), fname(""), index(0), in FontInfo() function
28 * \param font an object of FontInfo
30 explicit FontInfo(const FontInfo& font) in FontInfo() function
42 * \param font an object of FontInfo
44 explicit FontInfo(FontInfo&& font) in FontInfo() function
59 FontInfo(const char* fname, int index) in FontInfo() function
72 virtual ~FontInfo()
[all...]
H A DSkTypeface_ohos.cpp17 SkTypeface_OHOS::SkTypeface_OHOS(const SkString& familyName, FontInfo& info) in SkTypeface_OHOS()
21 fontInfo = std::make_unique<FontInfo>(std::move(info)); in SkTypeface_OHOS()
27 SkTypeface_OHOS::SkTypeface_OHOS(FontInfo& info) in SkTypeface_OHOS()
31 fontInfo = std::make_unique<FontInfo>(std::move(info)); in SkTypeface_OHOS()
136 FontInfo info(*(fontInfo.get())); in onMakeClone()
159 * \return The object of FontInfo
161 const FontInfo* SkTypeface_OHOS::getFontInfo() const in getFontInfo()
H A DSkTypeface_ohos.h19 SkTypeface_OHOS(const SkString& specifiedName, FontInfo& info);
20 explicit SkTypeface_OHOS(FontInfo& info);
22 const FontInfo* getFontInfo() const;
36 std::unique_ptr<FontInfo> fontInfo; // the font information of this typeface
H A DFontConfig_ohos.h41 struct FontInfo;
123 void dumpFont(const FontInfo& font) const;
222 const VariationInfo& variation, FontInfo& font) const;
223 bool insertTtcFont(int count, FontInfo& font);
224 bool insertVariableFont(const AxisDefinitions& axisDefinitions, FontInfo& font);
H A DFontConfig_ohos.cpp455 void FontConfig_OHOS::dumpFont(const FontInfo& font) const in dumpFont()
483 const FontInfo* font = (*(genericFamilySet[i]->typefaceSet))[j]->getFontInfo(); in dumpGeneric()
510 const FontInfo* font = tpSet[j]->getFontInfo(); in dumpFallback()
894 const VariationInfo& variation, FontInfo& font) const in getAxisValues()
918 * \param font an object of the FontInfo with font information
922 bool FontConfig_OHOS::insertTtcFont(int count, FontInfo& font) in insertTtcFont()
931 FontInfo newFont(font); in insertTtcFont()
945 * \param font an object of the FontInfo with font information
949 bool FontConfig_OHOS::insertVariableFont(const AxisDefinitions& axisDefs, FontInfo& font) in insertVariableFont()
962 FontInfo newFon in insertVariableFont()
[all...]
H A DSkFontMgr_ohos.cpp428 FontInfo fontInfo; in makeTypeface()
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/subtly/
H A Dfont_info.cc55 * FontInfo class
57 FontInfo::FontInfo() in FontInfo() function in subtly::FontInfo
63 FontInfo::FontInfo(CharacterMap* chars_to_glyph_ids, in FontInfo() function in subtly::FontInfo
73 FontInfo::~FontInfo() { in ~FontInfo()
79 FontDataTable* FontInfo::GetTable(FontId font_id, int32_t tag) { in GetTable()
88 const TableMap* FontInfo::GetTableMap(FontId font_id) { in GetTableMap()
97 void FontInfo
[all...]
H A Dfont_info.h61 class FontInfo : public sfntly::RefCounted<FontInfo> { class
63 // Empty FontInfo object.
64 FontInfo();
68 FontInfo(CharacterMap* chars_to_glyph_ids,
71 virtual ~FontInfo();
97 // FontSourcedInfoBuilder is used to create a FontInfo object from a Font
110 virtual CALLER_ATTACH FontInfo* GetFontInfo();
H A Dmerger.cc45 Ptr<FontInfo> merged_info; in Merge()
57 CALLER_ATTACH FontInfo* Merger::MergeFontInfos() { in MergeFontInfos()
58 Ptr<FontInfo> font_info = new FontInfo; in MergeFontInfos()
64 Ptr<FontInfo> current_font_info; in MergeFontInfos()
H A Dfont_assembler.h34 // Assembles FontInfo into font builders.
38 // font_info is the FontInfo which will be used for the new font
41 FontAssembler(FontInfo* font_info, sfntly::IntegerSet* table_blacklist);
42 explicit FontAssembler(FontInfo* font_info);
60 sfntly::Ptr<FontInfo> font_info_;
H A Dmerger.h38 virtual CALLER_ATTACH FontInfo* MergeFontInfos();
H A Dfont_assembler.cc38 FontAssembler::FontAssembler(FontInfo* font_info, in FontAssembler()
45 FontAssembler::FontAssembler(FontInfo* font_info) in FontAssembler()
167 // Assuming all fonts referenced by the FontInfo are the subsets of the same in AssembleGlyphAndLocaTables()
H A Dsubsetter.cc49 Ptr<FontInfo> font_info; in Subset()
/third_party/skia/modules/skparagraph/include/
H A DParagraph.h169 struct FontInfo { struct in skia::textlayout::Paragraph
170 FontInfo(const SkFont font, const TextRange textRange) in FontInfo() function
172 virtual ~FontInfo() = default;
173 FontInfo(const FontInfo& ) = default;
178 struct FontInfo { struct in skia::textlayout::Paragraph
179 FontInfo(const RSFont font, const TextRange textRange) in FontInfo() function
181 virtual ~FontInfo() = default;
182 FontInfo(const FontInfo
[all...]
/third_party/skia/modules/skottie/src/layers/
H A DTextLayer.cpp168 bool AnimationBuilder::FontInfo::matches(const char family[], const char style[]) const { in matches()
256 fFonts.foreach([&](const SkString& name, FontInfo* finfo) { in resolveNativeTypefaces()
313 FontInfo* current_font = nullptr; in resolveEmbeddedTypefaces()
355 fFonts.foreach([&](const SkString& name, FontInfo* finfo) { in resolveEmbeddedTypefaces()
387 fFonts.foreach([&has_unresolved](const SkString&, FontInfo* finfo) { in resolveEmbeddedTypefaces()
409 const AnimationBuilder::FontInfo* AnimationBuilder::findFont(const SkString& font_name) const { in findFont()
/third_party/skia/modules/skottie/src/
H A DSkottiePriv.h67 struct FontInfo { struct in skottie::internal::final
77 const FontInfo* findFont(const SkString& name) const;
288 SkTHashMap<SkString, FontInfo> fFonts;
/third_party/skia/third_party/externals/freetype/src/psaux/
H A Dafmparse.c559 parser->FontInfo = NULL; in FT_LOCAL_DEF()
599 AFM_FontInfo fi = parser->FontInfo; in afm_parse_track_kern()
741 AFM_FontInfo fi = parser->FontInfo; in afm_parse_kern_pairs()
972 AFM_FontInfo fi = parser->FontInfo; in FT_LOCAL_DEF()
/third_party/skia/third_party/externals/freetype/src/tools/
H A Dtest_afm.c99 parser.FontInfo = fi; in parse_afm()
/third_party/skia/third_party/externals/freetype/src/type1/
H A Dt1afm.c274 parser.FontInfo = fi; in FT_LOCAL_DEF()
/third_party/skia/third_party/externals/imgui/misc/freetype/
H A Dimgui_freetype.cpp116 struct FontInfo struct
139 FontInfo Info; // Font descriptor of the current font.
/third_party/mesa3d/src/imgui/
H A Dimgui_draw.cpp1752 stbtt_fontinfo FontInfo; member
1825 if (!stbtt_InitFont(&src_tmp.FontInfo, (unsigned char*)cfg.FontData, font_offset)) in ImFontAtlasBuildWithStbTruetype()
1853 if (!stbtt_FindGlyphIndex(&src_tmp.FontInfo, codepoint)) // It is actually in the font? in ImFontAtlasBuildWithStbTruetype()
1914 const float scale = (cfg.SizePixels > 0) ? stbtt_ScaleForPixelHeight(&src_tmp.FontInfo, cfg.SizePixels) : stbtt_ScaleForMappingEmToPixels(&src_tmp.FontInfo, -cfg.SizePixels); in ImFontAtlasBuildWithStbTruetype()
1919 const int glyph_index_in_font = stbtt_FindGlyphIndex(&src_tmp.FontInfo, src_tmp.GlyphsList[glyph_i]); in ImFontAtlasBuildWithStbTruetype()
1921 stbtt_GetGlyphBitmapBoxSubpixel(&src_tmp.FontInfo, glyph_index_in_font, scale * cfg.OversampleH, scale * cfg.OversampleV, 0, 0, &x0, &y0, &x1, &y1); in ImFontAtlasBuildWithStbTruetype()
1977 stbtt_PackFontRangesRenderIntoRects(&spc, &src_tmp.FontInfo, &src_tmp.PackRange, 1, src_tmp.Rects); in ImFontAtlasBuildWithStbTruetype()
2006 const float font_scale = stbtt_ScaleForPixelHeight(&src_tmp.FontInfo, cfg.SizePixels); in ImFontAtlasBuildWithStbTruetype()
2008 stbtt_GetFontVMetrics(&src_tmp.FontInfo, in ImFontAtlasBuildWithStbTruetype()
[all...]
/third_party/skia/third_party/externals/imgui/
H A Dimgui_draw.cpp2304 stbtt_fontinfo FontInfo; member
2378 if (!stbtt_InitFont(&src_tmp.FontInfo, (unsigned char*)cfg.FontData, font_offset)) in ImFontAtlasBuildWithStbTruetype()
2405 if (!stbtt_FindGlyphIndex(&src_tmp.FontInfo, codepoint)) // It is actually in the font? in ImFontAtlasBuildWithStbTruetype()
2465 const float scale = (cfg.SizePixels > 0) ? stbtt_ScaleForPixelHeight(&src_tmp.FontInfo, cfg.SizePixels) : stbtt_ScaleForMappingEmToPixels(&src_tmp.FontInfo, -cfg.SizePixels); in ImFontAtlasBuildWithStbTruetype()
2470 const int glyph_index_in_font = stbtt_FindGlyphIndex(&src_tmp.FontInfo, src_tmp.GlyphsList[glyph_i]); in ImFontAtlasBuildWithStbTruetype()
2472 stbtt_GetGlyphBitmapBoxSubpixel(&src_tmp.FontInfo, glyph_index_in_font, scale * cfg.OversampleH, scale * cfg.OversampleV, 0, 0, &x0, &y0, &x1, &y1); in ImFontAtlasBuildWithStbTruetype()
2528 stbtt_PackFontRangesRenderIntoRects(&spc, &src_tmp.FontInfo, &src_tmp.PackRange, 1, src_tmp.Rects); in ImFontAtlasBuildWithStbTruetype()
2560 const float font_scale = stbtt_ScaleForPixelHeight(&src_tmp.FontInfo, cfg.SizePixels); in ImFontAtlasBuildWithStbTruetype()
2562 stbtt_GetFontVMetrics(&src_tmp.FontInfo, in ImFontAtlasBuildWithStbTruetype()
[all...]
/third_party/skia/third_party/externals/freetype/include/freetype/internal/
H A Dpsaux.h273 #define T1_FIELD_DICT_FONTDICT ( 1 << 0 ) /* also FontInfo and FDArray */
1293 * FontInfo ::
1304 AFM_FontInfo FontInfo; member
/third_party/skia/modules/skparagraph/src/
H A DParagraphImpl.h269 std::vector<FontInfo> getFonts() const override;

Completed in 26 milliseconds

12