Comments (6)
Thanks for bringing this to my attention! The reason why it's happening is because there's kerning between /c
(slash and c), so when <wbr />
is added, it breaks the kerning... If you check the fonts, the actual wbr character (U+200B) has no width.
This is a tricky one to be honest, you'll find this in other fonts too if you add a wbr character anywhere where there's normally kerning.
from work-sans.
Is there a way to combine WBR with the characters on both sides, like you would with f
and i
in a ligature?
from work-sans.
Not as a ligature but you could apply contextual kerning involving more than 2 glyphs. So technically in a way, but it would not make sense to do so performance wise.
What's the use case where you need to toggle WBR on and off?
from work-sans.
The file header has the name of the file path in full when the file is expanded, but is truncated when the file is collapsed.
from work-sans.
But why is the toggling of the WBR necessary for truncating and collapsing the text?
from work-sans.
It's the other way. When truncated I remove <wbr>
so everything can be on one line. Including the icon in the middle of the line indicating a rename.
When it is expanded I show the entire filename text, and add in <wbr>/<wbr>
around the slashes in the filename to improve readability with better line break opportunities.
from work-sans.
Related Issues (20)
- Other letters with same issue as A HOT 5
- dotbelowcomb (and all diacritics that depend on it) is defective in Light and ExtraLight weights HOT 2
- Bold "g" and "!" clump up at 21 ppem HOT 1
- VF: issues in STAT table HOT 1
- The letter "E" in Work Sans pixelates when exported from InDesign to Adobe PDF HOT 3
- Work Sans in Office 365 HOT 5
- A request for an opentail "g" HOT 3
- Inclusion of cased glottal stop HOT 6
- Add Greek and Cyrillic HOT 16
- Fonts not building anymore HOT 4
- Variable WOFF HOT 5
- If you ever go getting sponsored for making monospace version
- ss01 doesn't work from TypeKit HOT 2
- Slightly uneven outline with "R" in thin cuts
- Issue Work-Sans in Adobe Font HOT 1
- Interpolation problems in `WorkSans[wght].ttf`
- Interpolation problems in `WorkSans-Italic[wght].ttf`
- Numbers alignment HOT 3
- Possible lack of hinting
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from work-sans.