Comments (6)
Hmm, that's strange error, its basically an invalid value being returned from freetype for rendering characters. https://www.freetype.org/freetype2/docs/reference/ft2-basic_types.html#FT_Pixel_Mode
It may be that the error is harmless and can be ignored, you can try that by changing line 122 in freetype.py in the kitty source code to
if False:
and see if the font is rendered anyway.
from kitty.
If ignore this error - kitty starts, but symbols can`t render.
from kitty.
Oh well, worth a try. I tried the Hack font on my linux system, it renders fine in kitty -- dont know what else to suggest.
from kitty.
I am guessing conflict with freetype-infinality, i will check it.
from kitty.
After build from source last version of freetype it works.
https://sourceforge.net/projects/freetype/files/
tar xf freetype-2.7.1.tar.gz && cd freetype-2.7.1
./autogen.sh
make
sudo make install
export LD_LIBRARY_PATH="/usr/local/lib;/opt/python3.5/lib"
/opt/python3.5/bin/python3.5 ../../kitty/
from kitty.
I'm not aware of anything in the kitty code that requires very new versions of freetype, but then I am not a freetype expert. What was the old version of freetype on your system?
If anyone comes up with anything in freetype.c that can be changed, I'll be happy to accept a pull request. In the meantime I'm closing this issue, as I can't see anything wrong in the kitty freetype code. Feel free to re-open if I am wrong.
from kitty.
Related Issues (20)
- Nested Tabs HOT 3
- Crash on Wayland when switching to a virtual console HOT 10
- Support for COLRv1 fonts HOT 7
- [Help Wanted] strange font size in ligatures HOT 1
- `diff` kitten feature enhancements for terminal power users HOT 1
- [feat. discussion] Add an explicit `always_on_top` configuration option and launch option HOT 4
- `kitty @ ls` doesn't show other kitty os windows, only ones started with `--single-instance` HOT 1
- Flexible width for tab_title_template HOT 1
- macOS: Shell keybindings do not work HOT 3
- Cannot launch kitty in Fedora Asahi Remix HOT 2
- Full screen Kitty window on dual monitors in Ubuntu flickers/bleeds/swaps into the 2nd screen HOT 2
- Title bar mysteriously disappears HOT 4
- Build-time gcc detection fails if e.g. CC=x86_64-pc-linux-gnu-gcc (CC=gcc is fine) HOT 1
- The letter "f" looks weird in the title of the active tab when using the UbuntuMono Nerd Font HOT 1
- Minimized app uses default icon instead of custom one HOT 1
- bash: kitten: command not found HOT 1
- No window shadow on macOS HOT 3
- Kitty becomes unresponsive when using neovim HOT 1
- Cmd+K does not clear images on MacOS HOT 5
- Making `kitty icat` work in tmux popup 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 kitty.