OpenBlocks

OpenBlocks

56M Downloads

The text in the info book is complelely unrecognizable when "Force Unicode" is turned on

oldjunyi opened this issue ยท 9 comments

commented

Also, if the locale is set to some language like Chinese, Japanese. Whether or not the "Force Unicode" option is turned on, the characters in the book are always extremely small.

a

As a suggest, the scale ratio for any text in a mod should not be less than 1.0x.

commented

So it's compromise. I'm not happy with that, but it's currently only solution. It may be broken,
but only for small percent of configurations (~5% of clients that use languages with non-latin alphabet).

Pretty please, http://www.joelonsoftware.com/articles/Unicode.html before posting such replies.
Also, if this: javaw-20150515-195614 54
is your definition of "readable", my definition of "readable" disagree with yours.
There's no excuse for not supporting proper unicode in 21'st century. There was none in the previous century, too, but that is a dicussion for another day.

commented

reading_comprehension--

I never said I was against Unicode or that's not supported (it's Java after all. I would need to do extra work to NOT support Unicode). I was just pointing out that Minecraft font renderer is broken (even in vanilla itself), but I'm not willing to pull alternative font renderer with few kLOC of code and possibly mismatched license for that purpose.

Also, text on your image is readable. Not pretty, but readable.

EDIT:If you can figure that out, then please make pull request. Otherwise, don't just put blog post (that I've already read few years ago) and expect stuff to be magically fixed.

commented

I added a locale-related config options to the *.lang files of OpenModsLib.

Now different language environment can have different text scaling and line space. Under current config settings, it will only enlarge the Chinese chacterers, leaves other languages' font unchanged.

It may not be the best solution, but at least, seems OK.

Before:
2015-05-16_15 19 08

After:
2015-05-16_15 17 46

commented

Now that's nice idea. Merged (with some changes).

commented

Also, text on your image is readable. Not pretty,

"Not pretty" is the single worst possible offense you could do the the written word.

commented

"wriiten word"

commented

Yes, sorry. Somehow, it happens to me when I type doubled letters. Not all of them are caught before posting.

commented

Well dont turn on force-unicode silly

commented

@ajloveslily14 I don't think such comments help anyone. Please comment only when you have something constructive to say

/me puts off official hat

Anyway, I don't have that much control over text rendering and I'm not willing to implement my own solution.

Minecraft lack of anti-aliasing and proper scaling is causing problems even in vanilla (try setting GUI scale to small with forced Unicode).

And I'm not changing scale of that text. There is not enough space to even basic information.

So it's compromise. I'm not happy with that, but it's currently only solution. It may be broken, but only for small percent of configurations (~5% of clients that use languages with non-latin alphabet).