文件最后提交记录最后更新时间
feat: Add GetTextPathWithFallback API with font fallback support This commit adds a new API GetTextPathWithFallback that provides font fallback support when getting text path outlines. When the current font does not support certain characters, the API automatically finds fallback fonts from system fonts. Key changes: - Add GetTextPathWithFallback in NDK API (drawing_font.h/cpp) - Implement font fallback logic in Font class - Add TextUtils helper for text processing and codepoint decoding - Add NAPI and ANI bindings for the new API - Add comprehensive unit tests and fuzz tests - Refactor GetTextPath to use TextUtils helper The implementation uses FontMgr's GetFallbacksForString to find appropriate fallback fonts for unsupported characters, then renders text segments with corresponding fonts. Co-Authored-By: Agent Signed-off-by: dreamyhhh <hangmengxin@huawei.com> 24 天前
feat: Add GetTextPathWithFallback API with font fallback support This commit adds a new API GetTextPathWithFallback that provides font fallback support when getting text path outlines. When the current font does not support certain characters, the API automatically finds fallback fonts from system fonts. Key changes: - Add GetTextPathWithFallback in NDK API (drawing_font.h/cpp) - Implement font fallback logic in Font class - Add TextUtils helper for text processing and codepoint decoding - Add NAPI and ANI bindings for the new API - Add comprehensive unit tests and fuzz tests - Refactor GetTextPath to use TextUtils helper The implementation uses FontMgr's GetFallbacksForString to find appropriate fallback fonts for unsupported characters, then renders text segments with corresponding fonts. Co-Authored-By: Agent Signed-off-by: dreamyhhh <hangmengxin@huawei.com> 24 天前
Drawing ts adapt Shared Memory Signed-off-by: dreamyhhh <hangmengxin@huawei.com> Change-Id: I77a4aeff96d1f2f3b63a52057683f06a3d828003 3 个月前
Drawing ts adapt Shared Memory Signed-off-by: dreamyhhh <hangmengxin@huawei.com> Change-Id: I77a4aeff96d1f2f3b63a52057683f06a3d828003 3 个月前
fix codecheck Signed-off-by: dreamyhhh <hangmengxin@huawei.com> 18 天前
fontTypeface Signed-off-by: lixiaoxiang <lixiaoxiang0608@163.com> 1 年前