Home
last modified time | relevance | path

Searched refs:typeFace (Results 1 - 4 of 4) sorted by relevance

/foundation/graphic/graphic_3d/lume/LumeFont/src/
H A Dfont_manager.cpp67 TypeFace typeFace { in InitTypeFace()
77 typeFace.style.Weight = static_cast<Weight>(tblOS2->usWeightClass); in InitTypeFace()
78 typeFace.style.Width = widths_os2_match[tblOS2->usWidthClass]; in InitTypeFace()
81 typeFace.style.Weight = Weight::Bold; in InitTypeFace()
85 typeFace.style.SlantType = SlantType::Italic; in InitTypeFace()
87 return typeFace; in InitTypeFace()
113 for (auto& typeFace : typeFaces_) { in GetTypeFace()
114 if (typeFace.name == name) { in GetTypeFace()
115 if (styleName.empty() || typeFace.styleName == styleName) { in GetTypeFace()
116 return &typeFace; in GetTypeFace()
139 CreateFontBuffer(const TypeFace& typeFace) CreateFontBuffer() argument
183 CreateFont(const TypeFace& typeFace) CreateFont() argument
198 CreateFontFromMemory(const TypeFace& typeFace, const BASE_NS::vector<uint8_t>& buffer) CreateFontFromMemory() argument
224 GetGlyphIndex(const TypeFace& typeFace, uint32_t code) GetGlyphIndex() argument
[all...]
H A Dfont_manager.h170 std::shared_ptr<FontBuffer> CreateFontBuffer(const TypeFace& typeFace);
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/ndk/ndkfont_fuzzer/
H A Dndkfont_fuzzer.cpp94 OH_Drawing_Typeface* typeFace = OH_Drawing_TypefaceCreateDefault(); in NativeDrawingFontTest002() local
95 OH_Drawing_FontSetTypeface(nullptr, typeFace); in NativeDrawingFontTest002()
96 OH_Drawing_FontSetTypeface(font, typeFace); in NativeDrawingFontTest002()
107 OH_Drawing_TypefaceDestroy(typeFace); in NativeDrawingFontTest002()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_uni_render_util.cpp1191 std::shared_ptr<Drawing::Typeface> typeFace = nullptr; in DrawRectForDfx() local
1195 Drawing::TextBlob::MakeFromString(position.c_str(), Drawing::Font(typeFace, 24.0f, 1.0f, 0.0f)); in DrawRectForDfx()

Completed in 7 milliseconds