diff --git a/src/ports/skia_ohos/SkTypeface_ohos.cpp b/src/ports/skia_ohos/SkTypeface_ohos.cpp index 2e5d602833392f5dbfe72cd97140ae63e6e6872a..ecff2bcbc0061e76d7b8e12709a1e27cf9ab192f 100644 --- a/src/ports/skia_ohos/SkTypeface_ohos.cpp +++ b/src/ports/skia_ohos/SkTypeface_ohos.cpp @@ -7,6 +7,7 @@ #include "include/private/base/SkTArray.h" #include "src/core/SkFontDescriptor.h" #include "src/ports/SkFontHost_FreeType_common.h" +#include "base/logging.h" /*! Constructor * \param familyName the specified family name for the typeface @@ -64,6 +65,8 @@ std::unique_ptr SkTypeface_OHOS::onMakeFontData() const if (fontInfo->stream.get() == nullptr) { return nullptr; } + LOG(DEBUG) << "Current font file is : " << fontInfo->fname.c_str(); + LOG(DEBUG) << "Current font family name is : " << fontInfo->familyName.c_str(); return std::make_unique(fontInfo->stream->duplicate(), fontInfo->index, 0,