Line spacing problem after upgrade


#1

Hi,

I have a line spacing problem after upgrade to version 3.16. The 0.5 line spacing is missing. You may check the attached picture.

Do you know how to fix it? Thank you.


#2

What version did you upgrade from?


#3

From 3.10 to 3.16


#4

It looks the problem is related to the OTF font like SourceHanSans-Normal.otf. You may download the font in the following URL https://github.com/jenskutilek/free-fonts/tree/master/Source/Source%20Han%20Sans/OTF. I attached my source code for your reference.


HelloWorldScene.cpp (3.6 KB)
AppDelegate.cpp (4.3 KB)


#5

if you use a TTF font do you have this same problem?


#6

I don’t see this problem on “Marker Felt.ttf”.


#7

Seems like it is related to OTF specifically. Have you created a GitHub issue yet?


#8

Has just reported as below:

Thank you for the reminder.


#9

Github can not find this issue.
Please check your link.


#10

it works for me.


#11

Now it works for me too.