Telegram macOS beta 新增了自制头像的功能。其中包括了使用文字生成头像。然而文本框的「最长 2 字」限制仍然是用的 Unicode 码位,而不是 Swift 默认的 grapheme cluster 长度。导致放 yị (\u0079 \u1ECB \u0304) 的时候文本框里会只剩下 yị (\u0079 \u1ECB)。
都用 Swift 写了,为啥要自己重新发明字符串长度计算……
https://t.me/betainfoen/947
#Telegram小考察
追记:文本框似乎对 Emoji 类文字做了特殊处理,一个 Emoji 类字符算两个。输入🇺🇸的话只会留下🇺。对其他文种并没有类似限制,CJK 文字能正常的输入两个。其他组合字符也是按单个计算。
都用 Swift 写了,为啥要自己重新发明字符串长度计算……
https://t.me/betainfoen/947
#Telegram小考察
追记:文本框似乎对 Emoji 类文字做了特殊处理,一个 Emoji 类字符算两个。输入🇺🇸的话只会留下🇺。对其他文种并没有类似限制,CJK 文字能正常的输入两个。其他组合字符也是按单个计算。
Telegram
Beta Info English
Avatar customization
The Beta version of Telegram for macOS now allows you to customize the avatar of a profile, group or channel.
The avatar builder provides for the use of:
— Gradient backgrounds.
— Animated emoji.
— Stickers.
— Symbols (up to 2).…
The Beta version of Telegram for macOS now allows you to customize the avatar of a profile, group or channel.
The avatar builder provides for the use of:
— Gradient backgrounds.
— Animated emoji.
— Stickers.
— Symbols (up to 2).…
Following Roboto Serif, the OG Roboto has also released its variable font version – Roboto Flex. It comes with 12 axes covering weight, width, optical size, slant, grade, ascender/descender size, counter width, lower/uppercase/figure height, and contrast.
🔁🐦
https://material.io/blog/roboto-flex
🔁🐦
https://material.io/blog/roboto-flex
Twitter
Roboto Flex by @fontbureau is here!
After 5 years of intensive development, its huge range of weights and widths across a complete stack of optical sizes is ready for you to use in all kinds of products and documents.
https://t.co/jWiAbuqypL
🧵
After 5 years of intensive development, its huge range of weights and widths across a complete stack of optical sizes is ready for you to use in all kinds of products and documents.
https://t.co/jWiAbuqypL
🧵
Plltxe.
Following Roboto Serif, the OG Roboto has also released its variable font version – Roboto Flex. It comes with 12 axes covering weight, width, optical size, slant, grade, ascender/descender size, counter width, lower/uppercase/figure height, and contrast.…
Ascender Height and Slant axes in Roboto Flex doesn’t seem to work well with each other. When both values are set to their minimum value, the lowercase L will have a different slant angle from the others.
🐦
🐦
Plltxe.
Ascender Height and Slant axes in Roboto Flex doesn’t seem to work well with each other. When both values are set to their minimum value, the lowercase L will have a different slant angle from the others. 🐦
Twitter
Google Fonts
@blueset Thanks for calling this out, we're discussing it @ github.com/googlefonts/ro…
#TIL there is a Python library that can operate on a locally opened Excel instance so that I don’t need to learn VBS to automate some Macro-like operations.
https://www.xlwings.org/
🐦
https://www.xlwings.org/
🐦
Python in Excel alternative: Open. Self-hosted. No limits.
Write add-ins, custom functions (UDFs), and macros with Python in Excel. Run locally or on your infrastructure with all the packages you need.
🔁🐦
New features coming to Figma:
1. Dark mode
2. Redesigned auto layout
3. Component properties
4. Spotlight
5. New Jira, Asana, and GitHub widgets for FigJam
6. Variable fonts
7. Spring animation
8. Individual strokes
9. Review states for branching
10. Updated outlines view
11. International keyboard shortcuts
12. Password-protected links
13. Favoriting files
14. Desktop tab updates
15. Widget Code Generator
New features coming to Figma:
1. Dark mode
2. Redesigned auto layout
3. Component properties
4. Spotlight
5. New Jira, Asana, and GitHub widgets for FigJam
6. Variable fonts
7. Spring animation
8. Individual strokes
9. Review states for branching
10. Updated outlines view
11. International keyboard shortcuts
12. Password-protected links
13. Favoriting files
14. Desktop tab updates
15. Widget Code Generator
Twitter
Figma
Just announced at #Config2022. 🚀 1. Dark mode 2. Redesigned auto layout 3. Component properties 4. Spotlight 5. New @jira, @asana, and @github widgets for FigJam 6. Variable fonts 7. Spring animation 8. Individual strokes See all of our updates: figma.com/whats…
🤩2
Guess someone just didn’t bother to check how their front end code look like on Firefox. ¯\_(ツ)_/¯
https://store.google.com/magazine/google_smartwatch
🐦
https://store.google.com/magazine/google_smartwatch
🐦
👏1