|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
What are X11 built-in fonts?
My X11 font path lists "built-ins," but doesn't provide any other clues as to where these built-ins might be.
Code:
$ xset -q Font Path: /usr/X11R6/lib/X11/fonts/misc/, /usr/X11R6/lib/X11/fonts/TTF/, /usr/X11R6/lib/X11/fonts/OTF/, /usr/X11R6/lib/X11/fonts/Type1/, /usr/X11R6/lib/X11/fonts/100dpi/, /usr/X11R6/lib/X11/fonts/75dpi/, built-ins Is there a command for finding the location of the X11 built-in fonts? Or some other way to determine what/where they are? Thanks. |
|
||||
You can view all available fonts along with their location by using fc-list(1).
__________________
Are you infected with Wetiko? |
|
||||
Looking at the bottom of /usr/xenocara/lib/libXfont2/src/builtins/fonts.c, where these are built, both classes of fonts are 6x13 medium condensed.
|
|
|||
Hi jggimi,
Thanks for pointing me to /usr/xenocara/lib/libXfont2/README.md. From the first paragraph (emphasis mine): Code:
libXfont provides the core of the legacy X11 font system, handling the index files (fonts.dir, fonts.alias, fonts.scale), the various font file formats, and rasterizing them. It is used by the X display servers (Xorg, Xvfb, etc.) and the X Font Server (xfs), but should not be used by normal X11 clients. X11 clients access fonts via either the new APIs in libXft, or the legacy APIs in libX11. Do the built-in fonts show up in fc-list(1), xfontsel(1), file system directories, or application font lists, etc? If the built-ins aren't used by anything after X starts, is it safe to remove "built-ins" from my font path? |
|
||||
Quote:
This command in the relevant desktop startup file (eg, ~/.xsession) should work: Code:
xset -fp built-ins
__________________
Are you infected with Wetiko? |
|
||||
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PostgreSQL 9.0 beta has replication built in | J65nko | News | 0 | 4th May 2010 10:32 PM |
Headphones versus built-in speakers | ddrx | OpenBSD General | 6 | 28th November 2009 05:07 PM |
Misc. BSD/UNIX ZFS just got built-in deduplication | vermaden | News | 3 | 3rd November 2009 01:03 PM |
a novel idea: a sh with a `fork built-in? | TerryP | Programming | 4 | 25th March 2009 07:17 PM |
Keyboard with built in mouse trackball | blodan | FreeBSD General | 2 | 21st June 2008 07:44 PM |