mirror of https://github.com/polybar/polybar.git
Add link to known issues
parent
0b6883f6fe
commit
32bf4b2b78
4
Fonts.md
4
Fonts.md
|
@ -43,6 +43,8 @@ You can do that by changing the order in which you define the fonts, although th
|
||||||
4. **Try using `size` instead of `pixelsize`**: some fonts will **not** display if you try setting their size using the `pixelsize` property; try setting it with `size` instead, for example: `font-0: Inconsolata for Powerline:size=12;0`
|
4. **Try using `size` instead of `pixelsize`**: some fonts will **not** display if you try setting their size using the `pixelsize` property; try setting it with `size` instead, for example: `font-0: Inconsolata for Powerline:size=12;0`
|
||||||
5. **Try adding a property to the font name**. Some fonts may not properly respect a specified property (like Font Awesome 5 with `style`). Instead, you may have some luck appending the property to the name of the font to force a desired match (i.e. `FontAwesome5FreeSolid` instead of `FontAwesome5Free` will cause the font to match using the `solid` style).
|
5. **Try adding a property to the font name**. Some fonts may not properly respect a specified property (like Font Awesome 5 with `style`). Instead, you may have some luck appending the property to the name of the font to force a desired match (i.e. `FontAwesome5FreeSolid` instead of `FontAwesome5Free` will cause the font to match using the `solid` style).
|
||||||
|
|
||||||
|
Also see [known issues](https://github.com/polybar/polybar/wiki/Known-Issues) for more help.
|
||||||
|
|
||||||
## Freetype Fonts
|
## Freetype Fonts
|
||||||
Polybar uses fontconfig to match font descriptions to a specific font.
|
Polybar uses fontconfig to match font descriptions to a specific font.
|
||||||
To get the name for a font, use `fc-list` to list all fonts and their names installed on your system.
|
To get the name for a font, use `fc-list` to list all fonts and their names installed on your system.
|
||||||
|
@ -137,4 +139,4 @@ Usage: `perl test-fonts.pl "😀"`
|
||||||
Note: maybe you need to install "Font::FreeType" module for the Script
|
Note: maybe you need to install "Font::FreeType" module for the Script
|
||||||
```
|
```
|
||||||
$ perl -MCPAN -e 'install Font::FreeType'
|
$ perl -MCPAN -e 'install Font::FreeType'
|
||||||
```
|
```
|
Loading…
Reference in New Issue