Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chocolateimage/fontviewer
View and install fonts on a Linux system
https://github.com/chocolateimage/fontviewer
fonts google-fonts gtk linux
Last synced: about 1 month ago
JSON representation
View and install fonts on a Linux system
- Host: GitHub
- URL: https://github.com/chocolateimage/fontviewer
- Owner: chocolateimage
- License: gpl-2.0
- Created: 2024-05-18T09:35:16.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-12-24T23:40:15.000Z (about 1 month ago)
- Last Synced: 2024-12-25T00:26:57.920Z (about 1 month ago)
- Topics: fonts, google-fonts, gtk, linux
- Language: C++
- Homepage:
- Size: 218 KB
- Stars: 25
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Font Viewer
View and install fonts on a Linux system and install fonts from Google Fonts.![image](https://github.com/user-attachments/assets/2f94ce10-39b7-46c3-bc9b-fecb54ee9207)
---
## Installation
To install the package, run:
```bash
bash <(curl -s https://raw.githubusercontent.com/chocolateimage/fontviewer/refs/heads/main/install.sh)
```I no longer want to do PPA for now because of how shitty Launchpad is.
## Building/installing from source
You need to have `meson` installed.Install all dependencies:
```bash
# Debian/Ubuntu (apt)
sudo apt install meson pkg-config libfontconfig-dev libgtkmm-3.0-dev libjson-glib-dev libcurl4-gnutls-dev# Fedora (dnf)
sudo dnf install git g++ meson pkg-config fontconfig-devel gtkmm3.0-devel json-glib-devel libcurl-devel# Arch Linux (pacman)
sudo pacman -S --needed git gcc meson fontconfig gtkmm3 json-glib curl
```
You may want to remove `libcurl4-gnutls-dev` from the install list if you already have libcurl-dev installed.Run this command to setup the build directory:
```bash
meson setup builddir
cd builddir
```If you want to **install**:
```bash
meson install
```
And press "y" and enter if asked for elevated privileges, the program should now appear in the application launcher as "Fonts".---
If you want to **develop**:
To compile the program run:
```bash
meson compile
```To run fontviewer run:
```bash
# Make sure to be in the build directory!
./fontviewer
```## Uninstallation
To uninstall an already installed installation, run:
```bash
bash <(curl -s https://raw.githubusercontent.com/chocolateimage/fontviewer/refs/heads/main/uninstall.sh)
```