In the design found to appear in the middle of the large font simulator display effect will be adjusted downward, microcontroller display will be adjusted upward using the font is their own imported bansnschrift, in fact, the text controls are the existence of positional deviation
Any results, please? I've been having this problem a lot.I don't know what to do with it.
hi, @Harry_Zhang
I have uploaded the file to the attachment as you provided.
The details of the problem and where I think the problem occurs are mentioned in the previous reply: problem reproduction and causes.
If you have a solution, please kindly contact me!
Looking forward to your reply!
Hello @Harry_Zhang
How should I share my project with you
Actually I have almost pinpointed where the problem is
The inconsistency between the effect on the microcontroller and the simulator is my problem The inconsistency between the simulator and the interface design is due to the problem with the baseline offset in the generated font file, which is different from that of the interface design but I don't know how to correct the situation from my side
If you can, could you please provide me with an email address, I will copy the project for you to reproduce and add some notes.
I look forward to your reply!
How to reproduce it:
Add the border of the label and make the font as big as possible, so that you can see the y-axis offset of the font in the label box.
Possible reasons for this problem:
The font position offsets during interface design are different from the emulator font offsets and may appear in this font file
Hi @陈宇
Can you share your project? I want to reproduce this issue.
BR
Harry
I use the official built-in Song test and this problem also occurs, the white places are where I use the container to mark the positional relationship between the controls
Hi @xiaohuihui
We'll address this in a future version.
If you need a large font size, it is recommended to adjust the offset according to the actual screen display to ensure that the final screen can be displayed properly.
BR
Harry.