-
Notifications
You must be signed in to change notification settings - Fork 2.7k
luci-base: remove bad Unicode on clone button #7746
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
base: master
Are you sure you want to change the base?
Conversation
Note: this should be backported to 24.10 as well |
There are no bad unicode characters - just the choice of fonts displaying them. https://www.unicode.org/charts/PDF/U2FF0.pdf |
No useful fonts implement these characters, and they look like garbage to everybody, but sure, show garbage to everybody |
What do you run, windows 3.11? https://fonts.google.com/?preview.text=%E2%BF%BB |
https://www.fontspace.com/unicode/char/2FFB-ideographic-description-character-overlaid lists a total of 13 fonts that implement the character, none of them appear like they'd be default on any standard installation. https://www.fileformat.info/info/unicode/char/2ffb/fontsupport.htm lists 6, though 2 of them are fallback fonts. Your own link only shows the actual character for the Noto fonts for China, Japan, and Korea and related locations, as far as I can tell. All the rest are the same as my screenshot. |
Using your link, I made one change, restricting the language to English, and then scrolled through 1,599 fonts. This excluded the Noto Chinese, Japanese, and Korean fonts I mentioned. I saw 4 fonts that implemented this character:
|
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. That icon button makes the UI inconsistent, breaks the rhythm, there is no spacing between icon and label, the dashed outline is hard to see on dark gray and I believe, that the icon should be before the label. I would add Fixes: #7754
Git trailer.
This Unicode character is intended to be followed by 2 more characters which are combined. It's entirely unnecessary, so just remove it. Fixes: openwrt#7754 Signed-off-by: Doug Freed <dwfreed@mtu.edu>
Seems it is implemented in rather default fonts: https://unicodeplus.com/U+2FFB |
Seems to work here on Firefox 138 on Fedora 42, with no extra fonts installed. Ditto for the latest Firefox on Android 15. Not sure what the issue is. Might look better with an extra space, sure. |
Maybe use something like this to detect if the element is defined:
then invoke This checks if the width is the same as the refenence width. Not idiot proof but should work most of the time, if accidentally the width is the same the only consequence is that the symbol is missing (not the end of the world). |
Or, you know, just not use a character that requires special font support and serves no practical purpose... One solution seems massively simpler than the other. |
Signed-off-by: <my@email.address>
row (viagit commit --signoff
)<package name>: title
first line subject for packagesThis Unicode character is intended to be followed by 2 more characters which are combined. It's entirely unnecessary, so just remove it.