How to change fonts in links2 (graphical) browser?

Everything about X, Gnome, KDE, ... and everything running on it

How to change fonts in links2 (graphical) browser?

Postby bedtime » 2018-02-18 11:31

When I say links2, I mean xlinks2 or links2 ran with the -g (graphics mode) parameter. Obviously, if ran in terminal one could just change the terminal's font and be done with it.

I've done several net searches and have turned up with unrelated results. The links2 program on my machine has been compiled from source, so if there is a particular setting to be changed, it can be done; I would greatly appreciate knowing it. :)

I can only think of one way to change the fonts, and that would be to delete all the unwanted fonts until I am left with the desired font or to rename a standard font as the one I would like to use, but I'd rather do this the proper way if it can be done.

Also, if anyone knows (chances are 1:10000000) how to change the width of the scroll bar. I know it can't be done externally and must be done in code, but I've looked and looked and have found settings for the scroll bar but none relating to width or thickness.

Thanks.
OS: Debian GNU/Linux (Buster—testing); Kernel: 4.16.0-2-amd64; Shell: sh; WM: i3
Machine: HP ProDesk 600 G3—i7-7700, 8GB RAM, 256 SSD, Intel HD Graphics 630

bedtime
 
Posts: 93
Joined: 2012-12-16 19:34

Re: How to change fonts in links2 (graphical) browser?

Postby Head_on_a_Stick » 2018-02-18 11:40

From the documentation:
Fonts are compiled directly into the executable file, so that Links doesn't rely on fonts installed on the system.

http://links.twibright.com/user_en.html

The fonts seem to consist of individual .png files for each character (!) stored in a folder (named after the font) in graphics/font in the source tarball ;)
dbruce wrote:Ubuntu forums try to be like a coffee shop in Seattle. Debian forums strive for the charm and ambience of a skinhead bar in Bacau. We intend to keep it that way.
User avatar
Head_on_a_Stick
 
Posts: 8315
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: How to change fonts in links2 (graphical) browser?

Postby bedtime » 2018-02-18 21:56

Head_on_a_Stick wrote:From the documentation:
Fonts are compiled directly into the executable file, so that Links doesn't rely on fonts installed on the system.

http://links.twibright.com/user_en.html

The fonts seem to consist of individual .png files for each character (!) stored in a folder (named after the font) in graphics/font in the source tarball ;)

So, the short answer is that it's hopeless. Why they would want to do this is beyond me.

Oh well. At least one can still change font in the console browser.'

Thank you for looking it up!
OS: Debian GNU/Linux (Buster—testing); Kernel: 4.16.0-2-amd64; Shell: sh; WM: i3
Machine: HP ProDesk 600 G3—i7-7700, 8GB RAM, 256 SSD, Intel HD Graphics 630

bedtime
 
Posts: 93
Joined: 2012-12-16 19:34


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable