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
source-han-{sans,serif,mono}: {update,refactor,init} #79776
Conversation
@GrahamcOfBorg build source-han-sans source-han-serif source-han-mono |
The official README recommends language specific OTFs for Linux. Actually, I experienced that some applications (sorry, I forgot which one was) fail to select proper language. I will try this branch. |
I don't see any specific recommendation for Linux in that document (but maybe I'm missing it?), just notes that lots of font engines don't handle the Super OTCs well – I think that's probably out of date, since I've had no problems with it in my testing so far, and if anything the results for multilingual content are better. Custom fontconfig does potentially need adjusting to use the generic |
I mean “Other” in the flowchart. Anyway, I will try this branch with Firefox, Inkscape, LibreOffice, KDE, and GNOME desktop in a clean virtual machine. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works fine, at least for Japanese locale. Size of the files could be a problem, but IMO it is acceptable.
17df3b2
to
e8828d4
Compare
Updated to use @GrahamcOfBorg build source-han-sans source-han-serif source-han-mono |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
e8828d4
to
0715ba3
Compare
* source-han-sans: 1.004R -> 2.001 * source-han-serif: switch to Super OTC * source-han-mono: init at 1.002 The Source Han fonts now use shared package infrastructure, and the Super OTC distributions, which unify the various scripts into a single bundle file, improving automatic font selection and reducing overall disk space usage. This also means that the Traditional Chinese—Hong Kong language variant is now included. The old package names including language are aliased to the Super OTC bundle packages.
0715ba3
to
6eb45bf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Motivation for this change
The Source Han fonts now use shared package infrastructure, and the Super OTC distributions, which unify the various scripts into a single bundle file, improving automatic font selection and reducing overall disk space usage. This also means that the Traditional Chinese—Hong Kong language variant is now included.
The old package names including language are aliased to the Super OTC bundle packages.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)