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

Messed up code font for Korean translated blog posts #488

Open
ericswpark opened this issue Feb 3, 2024 · 3 comments
Open

Messed up code font for Korean translated blog posts #488

ericswpark opened this issue Feb 3, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@ericswpark
Copy link
Contributor

Describe the bug
Currently the code font for Korean-translated blog posts is weird. See this link for an example:

https://ericswpark.com/ko/blog/2021/2021-11-13-terminal-incognito-mode/

Screenshots
image

Desktop (please complete the following information):

  • OS: [e.g. iOS] Windows
  • Browser [e.g. chrome, safari] Firefox
  • Version of the Theme v1.13.0
  • Version of Hugo (run a hugo version if unsure) hugo v0.121.2-6d5b44305eaa9d0a157946492a6f319da38de154+extended windows/amd64 BuildDate=2024-01-05T12:21:15Z VendorInfo=gohugoio

Additional context

@ericswpark ericswpark added the bug Something isn't working label Feb 3, 2024
@lxndrblz
Copy link
Owner

@ericswpark Eric, if I check the page in my browser, it looks normal.

image

Did you change anything in the meantime?

@ericswpark
Copy link
Contributor Author

Hmm, I can't replicate it on my MBP, but it was originally encountered and filed on my Windows machine. I'll try replicating when I get back today, but it's possible the issue was with the font installation on that specific Windows computer and/or was fixed in the interim. If that's the case I will close the issue.

@ericswpark
Copy link
Contributor Author

OK, I can still replicate it on Chrome/Firefox, on Windows at least. (Linux not checked yet.) My blog is running v1.14.0, and Chrome is on 126.0.6478.127, Firefox on 127.0 (and 128.0).

See the differences below.

English version:

image

Korean version:

image

It's like this thin/light font for the codeblocks.

Firefox reports that the English version uses the Arial font, while the Korean one uses GulimChe. I think for Korean at least, something like the Nanum font from Naver (https://hangeul.naver.com/font) may be more suitable. (It is also free to use for commercial purposes as long as the font pack itself is not resold if I understand the terms correctly.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants