-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Propose to change Chinese layer default font #3120
Comments
@louy2 |
Those are actually the same font, |
@louy2
I think you could change it to whatever you want. |
I know and I've done exactly that. But what you do you think if we actually enable Source Han Sans by default? I was a bit confused when I installed Chinese layer and still had codepoint glyphs displayed, and had to dig to the document. Source Han Sans is already recommended among font enthusiasts, so I think it is good enough to be made default. |
Any news on this discussion? Are you planing to PR it, or it is an abandoned idea? |
If changing the font in Chinese layer still ensures a safe fallback when Source Han Sans is not installed, then I'd like to PR. So question: how does Emacs resolve its fonts? |
I'm not sure to understand your question? |
For example in CSS I can specify a number of fonts and have the browser fallback in order. Do I need to write some logic to achieve that in Emacs? |
I looked a little bit and it seems related to fontset: |
Use Source Code Pro only , and I can't align Chinese character and English character in a table when I edit under Org mode. |
@eitazhou It is possible to set different font sizes for Chinese and English with |
@louy2 Do you find how to set font fallback in spacemacs just like css?
with |
@kingFighter Ref: https://www.gnu.org/software/emacs/manual/html_node/emacs/Modifying-Fontsets.html#Modifying-Fontsets |
@louy2 Thanks. I tried
with |
@kingFighter Ref: |
@louy2 |
According to syl20bnr/spacemacs#3120 (comment). Ref: https://www.gnu.org/software/emacs/manual/html_node/elisp/Face-Attributes.html#Face-Attributes https://www.gnu.org/software/emacs/manual/html_node/elisp/Creating-Symbols.html#Creating-Symbols https://www.gnu.org/software/emacs/manual/html_node/elisp/Quoting.html#Quoting
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
@zilongshanren
Since Spacemacs is promoting Source Code Pro as its default font, I propose Source Han Sans or Noto Han Sans as Chinese layer default to keep things aligned.
The text was updated successfully, but these errors were encountered: