orbtk icon indicating copy to clipboard operation
orbtk copied to clipboard

About other languages

Open ShirasawaTopaz opened this issue 2 years ago • 4 comments

What makes me sad is that Orbtk still doesn't support Chinese It seems that not only Chinese, but also Japanese When will there be support for them, please?

ShirasawaTopaz avatar Mar 16 '22 16:03 ShirasawaTopaz

Chinese/Korean/Japanese characters r not supported now, because orbtk use the Roboto font which does not provide for langs like Chinese. #163

Cy6er7um avatar Mar 16 '22 16:03 Cy6er7um

What makes me sad is that Orbtk still doesn't support Chinese It seems that not only Chinese, but also Japanese When will there be support for them, please?

you can regist a chinese font ,replace default Roboto font

moon989 avatar Mar 23 '22 09:03 moon989

Just for clarification:

I know, this is a totally unsatisfactory situation. But to be clear: we can't and will not attempt to include giant amount of font files into the toolkit. This simply will not overcome the given shortcoming.

If you are eager, OrbTk already offers a mechanism to include and reference your preferred native font via ithe theming engine. E.g.this enables you, to extend the font path pointing to the storage path of your font file. This will be checkt and referenced at compile time. ... Consult the examples or the book ....

As a more idiomatic development goal:

  • enhance font handling We should be able to incorporate crate fontdb. This will enable us to use system installed fonts (Multi-Platform aware). This is especially important to open OrbTk for Arabic, Indian-, Korean-, Hebrew-, Chinese , Japan languages et. al., without incorporating giant font files into the framework itself.

Would love, if anybody is interested in that topic and like to volunteer. Open for an open discussion on that issues. Remember: we are developing noncommercial and without any funding!

We do have matter most based redox chat channel for further online discussion.

rzerres avatar Mar 23 '22 10:03 rzerres

What makes me sad is that Orbtk still doesn't support Chinese It seems that not only Chinese, but also Japanese When will there be support for them, please?

you can regist a chinese font ,replace default Roboto font

how regist a chinese font?

jluwoniu avatar May 03 '22 04:05 jluwoniu

If you are eager, OrbTk already offers a mechanism to include and reference your preferred native font via ithe theming engine. E.g.this enables you, to extend the font path pointing to the storage path of your font file. This will be checkt and referenced at compile time. ... Consult the examples or the book ....

Could you clarify that somewhat? As far as I can tell, none of the examples use a custom font, and searching the book for "font" only brings up either how to use the built-in icon fonts or a blurb in the tinyskia section about how there are no good font rasterizers in Rust right now.

slondr avatar Sep 03 '22 20:09 slondr