Home
last modified time | relevance | path

Searched refs:mallocSubFont (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dcanvas_component.cpp539 char *mallocSubFont = nullptr; in FontSetter() local
540 component->GetSubFont(component->fontValue_, index, mallocSubFont); in FontSetter()
541 if (mallocSubFont == nullptr) { in FontSetter()
549 if (*mallocSubFont >= '0' && *mallocSubFont <= '9') { in FontSetter()
550 component->fontStyle_.fontSize = strtol(mallocSubFont, nullptr, DEC); in FontSetter()
551 ace_free(mallocSubFont); in FontSetter()
552 mallocSubFont = nullptr; in FontSetter()
560 component->fontStyle_.fontName = mallocSubFont; in FontSetter()