jjrscott / ColoredConsole

Reenabling colors in Xcode's console
Other
216 stars 11 forks source link

how to use #4

Closed 964562398 closed 5 years ago

964562398 commented 5 years ago

image xcod11

964562398 commented 5 years ago

How can I support Chinese? image

jjrscott commented 5 years ago

I've added installation instructions from #2.

jjrscott commented 5 years ago

What are the characters that failed to work? Can you add them as text to a comment?

964562398 commented 5 years ago

@jjrscott ???xcode characters??? image

iam not good at English

"你好" is Simplified Chinese。

i have edit my color but run ./colorify.pl Will not generate ttf files

964562398 commented 5 years ago

image

How can I solve this problem?

jjrscott commented 5 years ago

Have you installed the font as per the instructions in the README?

jjrscott commented 5 years ago

It appears that the base font Fira Mono does not support Simplified Chinese characters. I'm sorry to say that creating new glyphs is outside the scope of what I can do for this project.

964562398 commented 5 years ago

@jjrscott this is my setup image

The function of this project is very good. not support Simplified Chinese, it is also a good project. The xcode console output is normal。 image

I am using the "os_log_with_type" output, and the text output from console.app is wrong. image

should I block the "os_log_with_type" output in the release state? Just like in the release state, we need to shield "NSLog" to avoid excessive consumption of resources.

jjrscott commented 5 years ago

ColoredConsole only works in Xcode, it appears you can't set the font in Console.app. I think your suggestion is correct, don't use ⁠🏿 etc in os_log as it has its own types.