/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/fontinfo/ |
D | FontInfoMain.java | 73 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.listGlyphDimensionBounds(font).prettyPrint(); in main() [all …]
|
/third_party/skia/src/ports/skia_ohos/ |
D | FontInfo_ohos.h | 17 struct FontInfo { struct 22 FontInfo() : familyName(""), fname(""), index(0), in FontInfo() argument 30 explicit FontInfo(const FontInfo& font) in FontInfo() function 44 explicit FontInfo(FontInfo&& font) in FontInfo() function 59 FontInfo(const char* fname, int index) in FontInfo() function 72 virtual ~FontInfo() = default; 77 FontInfo& operator = (const FontInfo& font) 98 FontInfo& operator = (FontInfo&& font)
|
D | SkTypeface_ohos.cpp | 17 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() 114 FontInfo info(*(fontInfo.get())); in onMakeClone() 138 const FontInfo* SkTypeface_OHOS::getFontInfo() const in getFontInfo()
|
D | SkTypeface_ohos.h | 19 SkTypeface_OHOS(const SkString& specifiedName, FontInfo& info); 20 explicit SkTypeface_OHOS(FontInfo& info); 22 const FontInfo* getFontInfo() const; 31 std::unique_ptr<FontInfo> fontInfo; // the font information of this typeface
|
D | FontConfig_ohos.h | 41 struct FontInfo; 122 void dumpFont(const FontInfo& font) const; 221 const VariationInfo& variation, FontInfo& font) const; 222 bool insertTtcFont(int count, FontInfo& font); 223 bool insertVariableFont(const AxisDefinitions& axisDefinitions, FontInfo& font);
|
D | FontConfig_ohos.cpp | 443 void FontConfig_OHOS::dumpFont(const FontInfo& font) const in dumpFont() 471 const FontInfo* font = (*(genericFamilySet[i]->typefaceSet))[j]->getFontInfo(); in dumpGeneric() 498 const FontInfo* font = tpSet[j]->getFontInfo(); in dumpFallback() 871 const VariationInfo& variation, FontInfo& font) const in getAxisValues() 895 bool FontConfig_OHOS::insertTtcFont(int count, FontInfo& font) in insertTtcFont() 904 FontInfo newFont(font); in insertTtcFont() 922 bool FontConfig_OHOS::insertVariableFont(const AxisDefinitions& axisDefs, FontInfo& font) in insertVariableFont() 935 FontInfo newFont(font); in insertVariableFont() 988 FontInfo font(fname, 0); in loadFont() 1151 const FontInfo* pFont = typeface->getFontInfo(); in buildSubTypefaceSet() [all …]
|
D | SkFontMgr_ohos.cpp | 397 FontInfo fontInfo; in makeTypeface()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/subtly/ |
D | font_info.cc | 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::set_chars_to_glyph_ids(CharacterMap* chars_to_glyph_ids) { in set_chars_to_glyph_ids() 101 void FontInfo::set_resolved_glyph_ids(GlyphIdSet* resolved_glyph_ids) { in set_resolved_glyph_ids() 105 void FontInfo::set_fonts(FontIdMap* fonts) { in set_fonts() 140 CALLER_ATTACH FontInfo* FontSourcedInfoBuilder::GetFontInfo() { in GetFontInfo() 160 Ptr<FontInfo> font_info = new FontInfo; in GetFontInfo()
|
D | font_info.h | 61 class FontInfo : public sfntly::RefCounted<FontInfo> { 64 FontInfo(); 68 FontInfo(CharacterMap* chars_to_glyph_ids, 71 virtual ~FontInfo(); 110 virtual CALLER_ATTACH FontInfo* GetFontInfo();
|
D | merger.cc | 45 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()
|
D | font_assembler.h | 41 FontAssembler(FontInfo* font_info, sfntly::IntegerSet* table_blacklist); 42 explicit FontAssembler(FontInfo* font_info); 60 sfntly::Ptr<FontInfo> font_info_;
|
D | merger.h | 38 virtual CALLER_ATTACH FontInfo* MergeFontInfos();
|
D | font_assembler.cc | 38 FontAssembler::FontAssembler(FontInfo* font_info, in FontAssembler() 45 FontAssembler::FontAssembler(FontInfo* font_info) in FontAssembler()
|
D | subsetter.cc | 49 Ptr<FontInfo> font_info; in Subset()
|
/third_party/skia/modules/skparagraph/include/ |
D | Paragraph.h | 152 struct FontInfo { struct 153 FontInfo(const SkFont font, const TextRange textRange) in FontInfo() argument 155 virtual ~FontInfo() = default; 156 FontInfo(const FontInfo& ) = default; 178 virtual std::vector<FontInfo> getFonts() const = 0; argument
|
/third_party/skia/modules/skottie/src/layers/ |
D | TextLayer.cpp | 168 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/ |
D | SkottiePriv.h | 67 struct FontInfo { struct 77 const FontInfo* findFont(const SkString& name) const; argument 288 SkTHashMap<SkString, FontInfo> fFonts;
|
/third_party/skia/third_party/externals/freetype/src/psaux/ |
D | afmparse.c | 559 parser->FontInfo = NULL; in afm_parser_init() 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 afm_parser_parse()
|
/third_party/skia/third_party/externals/freetype/src/tools/ |
D | test_afm.c | 99 parser.FontInfo = fi; in parse_afm()
|
/third_party/mesa3d/src/imgui/ |
D | imgui_draw.cpp | 1752 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 … ? stbtt_ScaleForPixelHeight(&src_tmp.FontInfo, cfg.SizePixels) : stbtt_ScaleForMappingEmToPixels(… 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, s… 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, &unscaled_ascent, &unscaled_descent, &unscaled_line_gap); in ImFontAtlasBuildWithStbTruetype()
|
/third_party/skia/third_party/externals/freetype/src/type1/ |
D | t1afm.c | 274 parser.FontInfo = fi; in T1_Read_Metrics()
|
/third_party/skia/third_party/externals/imgui/misc/freetype/ |
D | imgui_freetype.cpp | 116 struct FontInfo struct 139 FontInfo Info; // Font descriptor of the current font.
|
/third_party/skia/third_party/externals/imgui/ |
D | imgui_draw.cpp | 2304 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 … ? stbtt_ScaleForPixelHeight(&src_tmp.FontInfo, cfg.SizePixels) : stbtt_ScaleForMappingEmToPixels(… 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, s… 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, &unscaled_ascent, &unscaled_descent, &unscaled_line_gap); in ImFontAtlasBuildWithStbTruetype()
|
/third_party/skia/modules/skparagraph/src/ |
D | ParagraphImpl.h | 229 std::vector<FontInfo> getFonts() const override;
|
D | ParagraphImpl.cpp | 1476 std::vector<Paragraph::FontInfo> ParagraphImpl::getFonts() const { in getFonts() 1477 std::vector<FontInfo> results; in getFonts()
|