Skip to content

绘制文字的时候,估算的高度不准确 #2852

@cptbtptpbcptdtptp

Description

@cptbtptpbcptdtptp

Describe the bug
在引擎绘制位图文字的时候,在某些 Font 格式下,没有估算准文字的高度,可能会出现文字底部被截断的情况。

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Labels

Task-MediumThis issue can be claimed and is generally easy to resolve.text2D text system

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions