Comments (10)
Trying to do specify fonts like this:
Literation Mono Powerline:pixelsize=13:hintstyle=hintnone:antialias=false:rgb=none:hinting=none
doesn't seem to help. (I believe these options don't work in this context...)
from bar.
Confirmed that disabling antialias in font config removes this issue. However, it screws ups every other font and every other character. Is it possible to specify antialias settings in lemonbar's -f
?
from bar.
I was able to reproduce it using lcdfilter.
Top is lcdfilter = lcdnone
Bottom is lcdfilter = lcddefault
Is it possible to specify antialias settings in lemonbar's -f?
I dont think so.
from bar.
Yeah, but after disabling it system-wide, everything looks like this:
Making an exception using <test/>
in font config for one font isn't greatest either.
from bar.
I will look into how urxvt handles that
from bar.
Please note that urxvt uses .Xresources
which is separate from font config. However, I can see the blocks render just fine also in Firefox, and Firefox does use font config - otherwise I wouldn't be able to obtain the screenshot above (which happened after changing font config).
from bar.
If I change the call to XftDrawString16
to draw more than just one character at a time, it works fine. Perhaps there's something wrong with "gluing" the characters?
Anyway, a quick fix would be to change draw_char
and if
s before to a while
that collects all consecutive UTF8/ASCII characters that do not belong to any %{Command}
, and then pass whole such string to XftDrawString16
.
from bar.
Is there a fix coming for this?
FWIW, a workaround for this is to use a bitmap font to draw the box characters, using %{T}. Bitmap fonts seem to render fine.
from bar.
Well #12 fixes this. I would really like to integrate it and the ucs branch into the main branch, however I am not using lemombar anymore and did not invest much time into it over the last year.
Do you think people use the xft-fork to render bitmap fonts? Would be a huge simplification to just remove the bitmap code.
from bar.
#12 would probably suffice for my use case, which is just generating simple blocks.
from bar.
Related Issues (20)
- Icon fonts not loading on latest AUR version HOT 2
- Latest build only rendering one font HOT 2
- So, what's the proper way to specify an XFT font? HOT 2
- Why not merge ucs4? HOT 3
- Xlib-xcb dependency HOT 2
- Kerning issues? HOT 3
- Documenting xft options HOT 2
- Scroll buttons are unresponsive, A4 and A5 HOT 2
- [feature request] Implement Stebalien's `Owidth` formatting command for paddings? HOT 4
- Faraway unicode symbols (☢,⚙, …) not displayed. HOT 4
- bold fonts not working? HOT 1
- bar above fullscreen windows HOT 7
- Foreground transparency
- Cannot display some special characters HOT 15
- Formatting does not seem to work HOT 1
- "Invalid geometry for the clickable area" error HOT 1
- Action-Area Not Working HOT 1
- Fontconfig never reports failure - with workable solution. HOT 1
- Last commit broke Lemonbar HOT 2
- State of this Repo
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 bar.