Skip to content

Rendering is bad when fallback font is used #581

@yoyocat

Description

@yoyocat

Version: 3.2.2
The rendering is bad when fallback font is used on Windows. The main font is consola.ttf and fallback font is msyh.ttc.
Rendering text is "Hello 你好!". The result as below:
Image

It's not aligned properly. This is the expected result:
Image

Here are code to render the text: https://github.com/yoyocat/moonedit/blob/main/src/main/main.mbt
I suppose the C version has the same issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions