DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 4th April 2022
nihil nihil is offline
Port Guard
 
Join Date: Oct 2021
Posts: 27
Question Nerd Fonts and st

I've got about 32 different fonts in my ~/.font directory and I wonder how to find the
specific strings as to say for me to use the fonts. I want to build my st with nerd fonts,
but I don't know the exact spelling to put in the config.h for it to compile properly.

How may I obtain this information? I know there is a /etc/fonts/fonts.conf in which
I noticed some "aliases" for monospace font. Perhaps, I need to configure an alias for
each *.ttf file in /etc/fonts/conf.d/51-local.conf and it's gonna work somehow?

Here's my ~/.fonts directory:
Code:
Inconsolata LGC Bold Italic Nerd Font Complete Mono Windows Compatible.ttf
Inconsolata LGC Bold Italic Nerd Font Complete Mono.ttf
Inconsolata LGC Bold Italic Nerd Font Complete Windows Compatible.ttf
Inconsolata LGC Bold Italic Nerd Font Complete.ttf
Inconsolata LGC Bold Nerd Font Complete Mono Windows Compatible.ttf
Inconsolata LGC Bold Nerd Font Complete Mono.ttf
Inconsolata LGC Bold Nerd Font Complete Windows Compatible.ttf
Inconsolata LGC Bold Nerd Font Complete.ttf
Inconsolata LGC Italic Nerd Font Complete Mono Windows Compatible.ttf
Inconsolata LGC Italic Nerd Font Complete Mono.ttf
Inconsolata LGC Italic Nerd Font Complete Windows Compatible.ttf
Inconsolata LGC Italic Nerd Font Complete.ttf
Inconsolata LGC Nerd Font Complete Mono Windows Compatible.ttf
Inconsolata LGC Nerd Font Complete Mono.ttf
Inconsolata LGC Nerd Font Complete Windows Compatible.ttf
Inconsolata LGC Nerd Font Complete.ttf
Terminess (TTF) Bold Italic Nerd Font Complete Mono Windows Compatible.ttf
Terminess (TTF) Bold Italic Nerd Font Complete Mono.ttf
Terminess (TTF) Bold Italic Nerd Font Complete Windows Compatible.ttf
Terminess (TTF) Bold Italic Nerd Font Complete.ttf
Terminess (TTF) Bold Nerd Font Complete Mono Windows Compatible.ttf
Terminess (TTF) Bold Nerd Font Complete Mono.ttf
Terminess (TTF) Bold Nerd Font Complete Windows Compatible.ttf
Terminess (TTF) Bold Nerd Font Complete.ttf
Terminess (TTF) Italic Nerd Font Complete Mono Windows Compatible.ttf
Terminess (TTF) Italic Nerd Font Complete Mono.ttf
Terminess (TTF) Italic Nerd Font Complete Windows Compatible.ttf
Terminess (TTF) Italic Nerd Font Complete.ttf
Terminess (TTF) Nerd Font Complete Mono Windows Compatible.ttf
Terminess (TTF) Nerd Font Complete Mono.ttf
Terminess (TTF) Nerd Font Complete Windows Compatible.ttf
Terminess (TTF) Nerd Font Complete.ttf
Reply With Quote
  #2   (View Single Post)  
Old 4th April 2022
frakswe frakswe is offline
Port Guard
 
Join Date: Oct 2020
Posts: 18
Default

Code:
fc-list
outputs the names you need.
Reply With Quote
  #3   (View Single Post)  
Old 4th April 2022
nihil nihil is offline
Port Guard
 
Join Date: Oct 2021
Posts: 27
Default

Quote:
Originally Posted by frakswe View Post
Code:
fc-list
outputs the names you need.
thank you!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What are X11 built-in fonts? gustaf OpenBSD General 7 14th December 2021 02:19 PM
Console fonts rdikarlus OpenBSD General 2 14th April 2019 10:45 AM
ttf fonts in mlterm (netbsd) - how? billy_bazooka General software and network 0 14th January 2017 03:31 AM
Adding new fonts to system e1-531g OpenBSD General 2 16th May 2016 04:24 AM
Console Fonts JMJ_coder General software and network 6 10th September 2008 09:57 PM


All times are GMT. The time now is 11:40 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick