-
Notifications
You must be signed in to change notification settings - Fork 28
Suggestions to drastically simplify this package #30
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
Comments
Hi! I wrote this library so long ago that I depended on the Code2000 font. It was long before Noto, and the situation with available fonts was much more of a patchwork. In general I agree with your points, though I don't understand how number 3 would be implemented. As to number 4, aren't fonts mostly sorted by coverage already, per the comments? As to number 5, yes, the original design of a single customize option was a mistake. An API for specifying fonts might be nicer than customize. |
|
@wyuenho would you like to become a collaborator on this repository? |
@rolandwalker Thanks for the offer. I'm currently experiment implementing this, and I'm afraid it's growing to almost a complete rewrite. Let me think about this more. There are a lot of really good foundations built into this package and its dependencies that I don't want to throw away. |
@wyuenho Are you able to publish what you have? |
All this package does is to override Emacs' font backends to provide a better font fallback behavior, but right now, every block especially the CJK blocks are littered with a mix of serif and sans-serif fonts, and some old optional system fonts that require additional downloads either from the OS font manager or manually from the internet, and all in different orderings. This makes the out of the box experience not much better than the default Emacs behavior. The font choices are just as random for each block.
The reason seems to be the
unicode-fonts-known-font-characteristics
variable is just a dump of old Windows and macOS system font lists. In addition, a lot of the fonts like the brush, cursive, pen and Kai styles are purely stylistic and not designed to provide good Unicode coverage or used for plaintext display, but somehow made into the block mappings.In the course of fixing this, I've discovered that with the exception of a couple of symbol blocks, a block only requires a couple of fonts to provide good coverage - a few from Windows, a few from macOS, Noto and maybe an exotic font purely designed for coverage for that block, so here's my suggestions for improvements to provide a better default experience:
unicode-fonts-skip-font-groups
(serif and sans-serif, so the user can choose to filter out those that conflict with their default font typeface)What do you think?
The text was updated successfully, but these errors were encountered: