From da8ad135109e79df9eb2fde3d3a968503b51e376 Mon Sep 17 00:00:00 2001 From: Simon Wanner Date: Fri, 7 Jun 2024 09:01:13 +0200 Subject: [PATCH] Documentation: Add some fonts to required packages Sometimes, especially on WSL, no fonts are installed, which will fail `VERIFY(m_default_font)` in Ladybird/FontPlugin. Note that Liberation Sans does not provide fonts for `cursive` and `fantasy`, which will fall back to the default, sans-serif, font. To cover all generic font families Microsoft's "Core fonts for the Web" are available as `ttf-mscorefonts-installer`, `ttf-ms-fonts`, etc. --- Documentation/BuildInstructionsLadybird.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/BuildInstructionsLadybird.md b/Documentation/BuildInstructionsLadybird.md index 85884a29871..9af2aae3ed5 100644 --- a/Documentation/BuildInstructionsLadybird.md +++ b/Documentation/BuildInstructionsLadybird.md @@ -9,7 +9,7 @@ NOTE: In all of the below lists of packages, the Qt6 multimedia package is not n On Debian/Ubuntu required packages include, but are not limited to: ``` -sudo apt install build-essential cmake libgl1-mesa-dev ninja-build qt6-base-dev qt6-tools-dev-tools qt6-multimedia-dev ccache +sudo apt install build-essential cmake libgl1-mesa-dev ninja-build qt6-base-dev qt6-tools-dev-tools qt6-multimedia-dev ccache fonts-liberation2 ``` For Ubuntu 20.04 and above, ensure that the Qt6 Wayland packages are available: @@ -21,17 +21,17 @@ sudo apt install qt6-wayland On Arch Linux/Manjaro: ``` -sudo pacman -S --needed base-devel cmake libgl ninja qt6-base qt6-tools qt6-wayland qt6-multimedia ccache +sudo pacman -S --needed base-devel cmake libgl ninja qt6-base qt6-tools qt6-wayland qt6-multimedia ccache ttf-liberation ``` On Fedora or derivatives: ``` -sudo dnf install cmake libglvnd-devel ninja-build qt6-qtbase-devel qt6-qttools-devel qt6-qtwayland-devel qt6-qtmultimedia-devel ccache +sudo dnf install cmake libglvnd-devel ninja-build qt6-qtbase-devel qt6-qttools-devel qt6-qtwayland-devel qt6-qtmultimedia-devel ccache liberation-sans-fonts ``` On openSUSE: ``` -sudo zypper install cmake libglvnd-devel ninja qt6-base-devel qt6-multimedia-devel qt6-tools-devel qt6-wayland-devel ccache +sudo zypper install cmake libglvnd-devel ninja qt6-base-devel qt6-multimedia-devel qt6-tools-devel qt6-wayland-devel ccache liberation-fonts ``` On NixOS or with Nix: