Searched refs:wght (Results 1 – 2 of 2) sorted by relevance
/frameworks/minikin/libs/minikin/ |
D | Font.cpp | 44 inline uint16_t packKey(int wght, int ital) { in packKey() argument 46 if (wght != -1) { in packKey() 48 res |= static_cast<uint16_t>(wght) << 3; in packKey() 266 HbFontUniquePtr Font::getAdjustedFont(int wght, int ital) const { in getAdjustedFont() argument 267 return getExternalRefs()->getAdjustedFont(wght, ital); in getAdjustedFont() 270 HbFontUniquePtr Font::ExternalRefs::getAdjustedFont(int wght, int ital) const { in getAdjustedFont() argument 271 if (wght == -1 && ital == -1) { in getAdjustedFont() 275 const uint16_t key = packKey(wght, ital); in getAdjustedFont() 287 if (wght != -1 && variation.axisTag == TAG_wght) { in getAdjustedFont() 295 if (wght != -1) { in getAdjustedFont() [all …]
|
/frameworks/minikin/include/minikin/ |
D | Font.h | 169 HbFontUniquePtr getAdjustedFont(int wght, int ital) const; 170 const std::shared_ptr<MinikinFont>& getAdjustedTypeface(int wght, int ital) const; 190 const std::shared_ptr<MinikinFont>& getAdjustedTypeface(int wght, int ital) const; 191 HbFontUniquePtr getAdjustedFont(int wght, int ital) const; 212 std::vector<FontVariation> getAdjustedVariations(int wght, int ital) const;
|