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

Add support of multi-language #20

Open
WanderMax opened this issue Oct 9, 2016 · 17 comments
Open

Add support of multi-language #20

WanderMax opened this issue Oct 9, 2016 · 17 comments

Comments

@WanderMax
Copy link

Add support of multi-language, any idea?

@d3m3vilurr
Copy link
Owner

can be. but really need that?

@WanderMax
Copy link
Author

As Vita-Shell add this feature, maybe I think.

@d3m3vilurr
Copy link
Owner

vitashell have lots of features.
but save manager hav just few feature.

l10n is cool thing but i don't know it really need or not.
but i'll add this to next plan.

@WanderMax
Copy link
Author

Yes, it's the plan feature, not that necessary. Stable first.

@iTZQing
Copy link

iTZQing commented Oct 25, 2016

Uh. . Simplified Chinese is not supported
Is character set

@WanderMax
Copy link
Author

@tongzq I know. can support if use custom font like Vita-Shell.

@d3m3vilurr
Copy link
Owner

i was already made patch to xerpi/libvita2d#30 for multi language.
so actually we just need to fix this
but this changes make spend more memory for font. so sometimes just using custom font is more helpful.

ps. i guess vita-shell also use custom libvita2d for this feature :\

@WanderMax
Copy link
Author

@d3m3vilurr yes. however, vita allow run only one the 3-rd app.
more memory usage is acceptable, I think.
if translation needed, I can help.

@d3m3vilurr
Copy link
Owner

yeah. this feature maybe add to next version.
but actually i don't want to load all fonts. :)

but i need these for dev feature

  • generic idea for selecting fontset & detect language setting
  • font set info about each fonts.

korean font not have eng set.
but system default font support jap + eng. :\

problem is some games only have title info of their language.
for example; i use korean actually, but sometimes i can install chinese game. if this game only have chinese title name, they cannot print strange like ____ ___.

so logically, font set should be 1. can support user's game titles 2. also can support user transed text :\

@WanderMax
Copy link
Author

@d3m3vilurr I know. You means that the custom font would better support all language.
Here is the example of font https://github.com/adobe-fonts/source-han-sans

@d3m3vilurr
Copy link
Owner

@WanderMax actually i'll not make custom font. i guess it should be users choice :)
i always implement for system font. it's my first option.
but anyway i'll also make config option for custom font. but it's next step :)

@WanderMax
Copy link
Author

@d3m3vilurr OK.
It's strange that PSV can support multi-language UI, but 3-rd app cannot support multi-language characters, like Vita-Shell. Maybe it's the issue of base SDK.

@d3m3vilurr
Copy link
Owner

d3m3vilurr commented Oct 25, 2016

@WanderMax no it's just vita font problem.
sdk(official & vitasdk both) only provide loading pgf font & draw font, so all app(include homebrew & non homebrew) use these. vita-shell also.

if you compile vitashell source code, it cannot print korean and chinese w/o custom font.
but release version can print korean. few month ago(maybe at the starting this project), i was checked this problem.
so i guess, vitashell also use custom libvita2d for the release build, and i made patch to libvita2d.
so now a days, savemgr support korean, but yeah not support chinese :
but i mean, just add chinese set is very easier, but IMO, it's non generic solution

so, look TheOfficialFloW/VitaShell#108. this issue is same point

PS. custom font is outside of problem. this case only just need to call font loading api, and supporting this is also easy.

@WanderMax
Copy link
Author

@d3m3vilurr OK I see.

@WanderMax
Copy link
Author

@d3m3vilurr I find psv has new pvf folder with many fonts. Each font size is big enough to support all characters. that folder is in sa0:data/font, hope it can help you.

@d3m3vilurr
Copy link
Owner

since last weekend, i started reversing libpvf (but not tested yet), this lib methods looks similar libpgf, but structures are diff.
i guess can mod libvita2d in current state, so maybe few day after i can test my reversed set...
anyway libpvf use freetype library, and it can direct use ttf files with scePvfOpenUserFile :)

i'm little busy cuz my job & moonlight, so please waiting :)

@WanderMax
Copy link
Author

Great

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

No branches or pull requests

3 participants