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

Fixed issue #29 Editor doesn't support CJK #194

Closed
wants to merge 9 commits into from

Conversation

marynate
Copy link
Contributor

Editor now support CJK display

  • Add Build option (scons cjk=yes) to bundle DroidSansFallback (34328 unicode chars) as default font to support CJK display;
  • Add loading compressed editor font support, reduce debug build size form 28M to 15M
  • Add loading multi-page editor font support (1x 4096-> 6x1024)

Nextstep:

  • More control of CJK build size
  • Dynamic font support (Runtime TTF)
  • Multi-language editor
  • IME support on Mac/Linux

@reduz
Copy link
Member

reduz commented Mar 13, 2014

I was thinking of exporting an editor setting to a font, so CJK support doesn't have to be a separate build, it doesn't have to come bundled with the engine, you just download it and install it with a simpe menu option.

@reduz
Copy link
Member

reduz commented Mar 13, 2014

TTF support in the engine would probably be more difficult, as you need a font cache to store the rastered characters, creating a single texture for each of them is really inefficient so you would probably want to create pages or something similar.

@marynate
Copy link
Contributor Author

I like the idea that making the CJK font installable via menu would be better than separate build.
Also when multi-language support is ready, user can also download translation as necessary.

For dynamic TTF, I'm start investigating if there'll be serious performance/efficiency issues. (As many engines has implemented that, hopefully there'll be benchmark already )

@sanikoyes
Copy link
Contributor

add dynamic load a ttf fond is a good idea, wait for you

@marynate marynate closed this May 21, 2014
@reduz
Copy link
Member

reduz commented May 21, 2014

I know that in theory CJK fonts for display work, but what about IME?

On Wed, May 21, 2014 at 1:20 PM, marynate [email protected] wrote:

Closed #194 #194.


Reply to this email directly or view it on GitHubhttps://github.com//pull/194#event-123424596
.

@useada
Copy link

useada commented Nov 28, 2014

This is greate!
And next is IME!

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

Successfully merging this pull request may close these issues.

4 participants