Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

文本描边颜色不正确 #29

Closed
zeas2 opened this issue Dec 1, 2018 · 5 comments
Closed

文本描边颜色不正确 #29

zeas2 opened this issue Dec 1, 2018 · 5 comments

Comments

@zeas2
Copy link

zeas2 commented Dec 1, 2018

文本如果设置成黑色,描边无论设置成什么颜色,都是黑色的效果
而文本若设置成白色,则描边颜色显示正常

@xiaoguzhu
Copy link
Member

测试demo后没有发现你说的问题。

@zeas2
Copy link
Author

zeas2 commented Dec 3, 2018

测试工程 https://pan.baidu.com/s/1S_M2Rg5iieNCZ_epaRgcrg
文本控件n0在编辑器里是黑字白边,加载到cocos里显示的是黑字黑边

@xiaoguzhu
Copy link
Member

抱歉,请你先测试官方的demo,有问题再提上来。

@zeas2
Copy link
Author

zeas2 commented Dec 3, 2018

官方demo:
Basics/Demo_Text
修改右上角的控件n19“描边效果”,字体设置为黑色,描边设为白色即可重现
截图:
https://pan.baidu.com/s/1uDmSdwqC5GEcbpXjQAdkgg
使用github上最新的FairyGUI-cocos2dx代码,编译使用未经修改的cocos2d-x-3.15.1(除CCLabel增加一处virtual以通过编译)

xiaoguzhu added a commit that referenced this issue Dec 3, 2018
@xiaoguzhu
Copy link
Member

的确是有这个问题,已修正。

WuJiayiSH added a commit to WuJiayiSH/cocos2d-x that referenced this issue Jan 24, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants