Skip to content

Commit

Permalink
feat(ohos): optimize text measure - close for theme font
Browse files Browse the repository at this point in the history
  • Loading branch information
sohotz committed Jan 13, 2025
1 parent 7cda938 commit 4465988
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ set(CMAKE_CXX_STANDARD 17)
add_library(${PROJECT_NAME} STATIC)
target_include_directories(${PROJECT_NAME} PUBLIC include)
target_compile_options(${PROJECT_NAME} PRIVATE ${COMPILE_OPTIONS})
target_compile_definitions(${PROJECT_NAME} PUBLIC "OHOS_DRAW_TEXT")
#target_compile_definitions(${PROJECT_NAME} PUBLIC "OHOS_DRAW_TEXT") # 默认关闭,因为OH_Drawing时主题字体还没有API支持。
#target_compile_definitions(${PROJECT_NAME} INTERFACE "OHOS_NATIVE_RENDER")
# endregion

Expand Down

0 comments on commit 4465988

Please sign in to comment.