Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ getDescription
Method
getDescription
snap_drawing/src/snap_drawing/cpp/Text/Font.cpp:91–93 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
89
}
90
91
std::string Font::getDescription() const {
92
return fmt::format(
"{} {} x{}"
, _typeface->familyName().toStringView(), _size, _scale);
93
}
94
95
const FontMetrics& Font::metrics() {
96
if (!_loadedMetrics) {
Callers
3
getFullDescription
Method · 0.45
TextLayoutTestContainer
Method · 0.45
toJSONValue
Method · 0.45
Calls
1
toStringView
Method · 0.45
Tested by
1
TextLayoutTestContainer
Method · 0.36