Abnormal rendering of Chinese characters. #221
tangxg posted onGitHub
以解决字体库名字 不统一引起
补充说明: 后续测试发现 WIN7渲染正常 win10才会出现异常。其他环境未测试过。
Problem description:
- Project depends on LCDesign LCUI
- Resource reference LC-design.css Custom CSS
- Normal Rendering in English is abnormal when Chinese characters appear. For example: in four cases, either the first two words are small, or the second two words are small.
For example, the "直接打印" strokes in "直" are rendered incorrectly.
Code examples:
<?xml version="1.0" encoding="UTF-8" ?>
<lcui-app>
<resource type="text/css" src="assets/stylesheets/SharedPrinting.css"/>
<resource type="text/css" src="assets/stylesheets/lc-design.css"/>
<ui>
<home>
<w class="title">
<p>直接打印</p>
</w>
</home>
</ui>
</lcui-app>
问题描述:
1.项目依赖 LCDesign LCUI
2.资源引用 lc-design.css 自定义CSS
3. 英文渲染正常当出现汉字时异常。例如:四个情况下,不是前面两个字小点就是后面2个字小点。
例如”直接打印“ 当中的”直“ 笔画都渲染错了。
代码示例:
<?xml version="1.0" encoding="UTF-8" ?>
<lcui-app>
<resource type="text/css" src="assets/stylesheets/SharedPrinting.css"/>
<resource type="text/css" src="assets/stylesheets/lc-design.css"/>
<ui>
<home>
<w class="title">
<p>直接打印</p>
</w>
</home>
</ui>
</lcui-app>