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

[Feature Request] Support fallback font #883

Closed
pexcn opened this issue Jun 10, 2019 · 5 comments
Closed

[Feature Request] Support fallback font #883

pexcn opened this issue Jun 10, 2019 · 5 comments

Comments

@pexcn
Copy link

pexcn commented Jun 10, 2019

I changed mintty's font settings to consolas (system language: Simplified Chinese), but the consolas font only supports English characters. So windows will auto fallback other characters to system default fonts, other characters will look very ugly (at least in Simplified Chinese), like this:
image_2019-06-10_23-19-56

So I hope that mintty will support fallback font settings in future versions. Just like the font settings of the Intellj IDEA:
image_2019-06-10_23-17-17

@pexcn pexcn changed the title [feature request] support fallback font [Feature Request] Support fallback font Jun 10, 2019
@BrianInglis
Copy link

mintty already uses Uniscribe for output, so will use Windows linked fonts if specified in the registry:
https://docs.microsoft.com/en-us/globalization/input/font-technology#font-linking
which you have to set up yourself for standard fonts.
Windows "font fallback" is the original facility to use Windows equivalent fonts names as a substitute for font names available on other platforms, e.g. Times->Times New Roman, Courier->Courier New, Swiss->Arial, etc.

@pexcn
Copy link
Author

pexcn commented Jun 11, 2019

Thanks for your reply, I will try it later.

@pexcn
Copy link
Author

pexcn commented Jun 12, 2019

Solved, thank you.

@pexcn pexcn closed this as completed Jun 12, 2019
mintty added a commit that referenced this issue Jul 10, 2019
@mintty
Copy link
Owner

mintty commented Jul 10, 2019

Mintty now supports script-specific secondary fonts, option FontChoice. Configuration example:

FontChoice=Hebrew:6;Arabic:7;Han:8;Hangul:9
Font6=David
Font7=Simplified Arabic Fixed
Font8=FangSong
Font9=MingLiU

@mintty
Copy link
Owner

mintty commented Jul 13, 2019

Released 3.0.2.

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

No branches or pull requests

3 participants