Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Rendering of fonts in various national languages #191

Open
Alvazz opened this issue Jan 24, 2024 · 2 comments
Open

Rendering of fonts in various national languages #191

Alvazz opened this issue Jan 24, 2024 · 2 comments

Comments

@Alvazz
Copy link

Alvazz commented Jan 24, 2024

blend2d renders text and doesn't seem to support any other type of text besides English, e.g. Chinese, Korean.

image

@kobalicek
Copy link
Member

Sorry for a late reply.

I think this will be most likely about font substitution. Are you sure that OpenSans-Bold.ttf actually provides CJK characters?

Blend2D at the moment doesn't have any kind of font manager that would do font substitution and the font pipeline doesn't allow to mix multiple fonts in a single glyph run.

High level API would be required to support this use case actually. BTW even libraries such as harfbuzz don't allow to mix multiple fonts in a single glyph run.

@HowToExpect
Copy link

The current version cannot display Chinese and Korean for some fonts, but some fonts can be displayed normally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants