Comments (9)
I personally dont use ligatures because of inconsistencies.
I will surely look into this.
Did you notice these spaces in creep as well?
from scientifica.
from scientifica.
Alright, it looks like creep has inconsistent character bounding boxes, so it is able to join the characters forming a ligature, by extending them beyond the grid lines.
Here's an example:
I cannot extend the character in scientifica because it would break most linux terminals.
So, I have no solution to this issue as of now.
from scientifica.
Hmm, but why do some ligatures connect without an missing pixel, like the left arrow?
from scientifica.
Every character in scientifica is like this:
4px character + 1px space
Some characters fill the entire 5 pixels, thereby touching the character to its right.
A 5px character followed by a 4px char will appear to be joint, whereas a 4px char followed by another character will have 1px space in between, which is what you are seeing.
Now, it is possible to make this 4px char wider by adding another pixel, for the sake of ligatures, but I personally am not a fan of symbols like equals and minus joining up.
Maybe I could export a separate version with 'ligatures enabled', which are basically certain characters occupying all 5 pixels.
from scientifica.
Would it then maybe be possible to create a special symbol, for example like the powerline arrow, which is a 5px wide minus sign?
from scientifica.
Yeah sure. I can put them in the private use area block.
You could accordingly use them in the creep.vim plugin.
It should be up in the latest commit.
Edit:
U+E09E [ ] and U+E09F [ ] have been added as of this commit, for 5px wide equals sign and a 5px wide minus sign.
I'd recommend you refresh the font cache to see them.
fc-cache -fv
Restart Xorg if that does not work.
from scientifica.
Sorry for the long response time, i had to setup my system again.
The 5px wide minus sign works perfectly and the new arrow looks pretty nice too. But the equals sign is 1px too high:
Also thanks for working on this, even tho you don't like ligatures 😄
from scientifica.
Thanks for pointing it out!
It should be fixed in the latest commit.
I'm glad you like it!
from scientifica.
Related Issues (20)
- Pipe operator ligature request HOT 3
- Making the font bigger ? HOT 1
- Italic ttf variant mislabelled as Medium HOT 9
- Scientifica TTF not rendering correctly [Arch Linux] HOT 1
- Excessive right side bearings HOT 4
- Wrong glyph for U+019D LATIN CAPITAL LETTER N WITH LEFT HOOK HOT 1
- Font doesn't work in kitty terminal HOT 8
- Wrong glyph for U+01AA LATIN LETTER REVERSED ESH LOOP
- Inconsistent glyph for U+00DD LATIN CAPITAL LETTER Y WITH ACUTE HOT 1
- Is this possible on Windows? HOT 1
- Can't extract release tarball HOT 4
- Wrong spacing for two Turkish characters HOT 4
- Wrong glyphs for single angle quotation marks
- Uncomplete block characters
- Inconsistent width of box drawing glyphs
- Many chars beyond U+00FF have wrong widths
- feat: add patched nerd font
- question: Font as byte arrays? HOT 2
- Font is blurry in vscode help HOT 1
- Missing Build.sh HOT 4
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 scientifica.