font display fixes
This commit is contained in:
parent
f0b7aeeb53
commit
4c05d1cef3
@ -20,7 +20,7 @@ The [suckless terminal (st)](https://st.suckless.org/) with some additional feat
|
|||||||
+ Compatibility with `Xresources` and `pywal` for dynamic colors. The `Xdefaults` file shows a usage example.
|
+ Compatibility with `Xresources` and `pywal` for dynamic colors. The `Xdefaults` file shows a usage example.
|
||||||
+ Default [gruvbox](https://github.com/morhetz/gruvbox) colors otherwise.
|
+ Default [gruvbox](https://github.com/morhetz/gruvbox) colors otherwise.
|
||||||
+ Transparency/alpha, which is also adjustable from your `Xresources`.
|
+ Transparency/alpha, which is also adjustable from your `Xresources`.
|
||||||
+ Default font is system "mono" at 16pt, meaning the font will match your system font.
|
+ Default font is system "mono" at 14pt, meaning the font will match your system font.
|
||||||
|
|
||||||
## Other st patches
|
## Other st patches
|
||||||
|
|
||||||
@ -70,10 +70,12 @@ To be clear about the color settings:
|
|||||||
|
|
||||||
Note that when you run `wal`, it will negate the transparency of existing windows, but new windows will continue with the previously defined transparency.
|
Note that when you run `wal`, it will negate the transparency of existing windows, but new windows will continue with the previously defined transparency.
|
||||||
|
|
||||||
## Crashing error
|
## Notes on Emojis and Special Characters
|
||||||
|
|
||||||
If st crashes when viewing emojis, install [libxft-bgra](https://aur.archlinux.org/packages/libxft-bgra/) from the AUR.
|
If st crashes when viewing emojis, install [libxft-bgra](https://aur.archlinux.org/packages/libxft-bgra/) from the AUR.
|
||||||
|
|
||||||
|
Note that some special characters may appear truncated if too wide. You might want to manually set your prefered emoji/special character font to a lower size in the `config.h` file to avoid this. By default, JoyPixels is used at a smaller size than the usual text.
|
||||||
|
|
||||||
## Contact
|
## Contact
|
||||||
|
|
||||||
- Luke Smith <luke@lukesmith.xyz>
|
- Luke Smith <luke@lukesmith.xyz>
|
||||||
|
4
config.h
4
config.h
@ -5,8 +5,8 @@
|
|||||||
*
|
*
|
||||||
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
|
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
|
||||||
*/
|
*/
|
||||||
static char *font = "mono:pixelsize=16:antialias=true:autohint=true";
|
static char *font = "mono:pixelsize=14:antialias=true:autohint=true";
|
||||||
static char *font2[] = { "Inconsolata for Powerline:pixelsize=16:antialias=true:autohint=true" };
|
static char *font2[] = { "JoyPixels:pixelsize=10:antialias=true:autohint=true" };
|
||||||
static int borderpx = 2;
|
static int borderpx = 2;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user