We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v4.4.4
鸿蒙平台
如上图所示,调用PAGFile的replaceText方法替换文本文案,只替换文字内容,文字的格式,位置等信息均不修改.预期的样式类似于下图所示:
实际替换效果如下:
可以看到,中文文案内容和展示样式符合预期,但数字的颜色和字体发生了变化(而替换text时并未修改文案的展示样式). 经测试,还有一些其他的特殊字符,如‘#’等也会出现类似样式变化的问题. 这个问题在鸿蒙测试机上测试必现,应该可以快速复现(用数字测试replaceText),辛苦看下是什么原因.
The text was updated successfully, but these errors were encountered:
kevingpqi123
No branches or pull requests
【版本信息】
v4.4.4
【平台信息】
鸿蒙平台
【预期的表现】
如上图所示,调用PAGFile的replaceText方法替换文本文案,只替换文字内容,文字的格式,位置等信息均不修改.预期的样式类似于下图所示:
【实际的情况】
实际替换效果如下:
可以看到,中文文案内容和展示样式符合预期,但数字的颜色和字体发生了变化(而替换text时并未修改文案的展示样式).
经测试,还有一些其他的特殊字符,如‘#’等也会出现类似样式变化的问题.
这个问题在鸿蒙测试机上测试必现,应该可以快速复现(用数字测试replaceText),辛苦看下是什么原因.
【Demo及附件】
The text was updated successfully, but these errors were encountered: