jankammerath / gophie

Gophie is a modern, graphical and cross-platform client or browser for "The Internet Gopher" also known as the Gopher protocol. Gophie supports browsing gopher pages, using search engines such as Veronica-2, displaying images and downloading files.
http://gophie.org
GNU General Public License v3.0
183 stars 10 forks source link

Change text size and font #12

Closed Munchotaur closed 4 years ago

Munchotaur commented 4 years ago

I would love to see a feature to change the text size and font (preferably from a choice of system fonts).

jankammerath commented 4 years ago

Would you want this for the content area (where the gopher content is display) only or for the entire user interface including the download window and the address bar?

jankammerath commented 4 years ago

The config.ini file already contains configuration for colours. Kindly let me know if this is sufficient for you.

Munchotaur commented 4 years ago

Really this would only need to be for the content area. A setting in config.ini for font size (and family if possible?) would be ideal.

Is there any way to expose this setting to the user (or have a + and - button in the bottom bar somewhere)?

jankammerath commented 4 years ago

Hi @Munchotaur

I have added settings to the "Appearance" section of the config, so the Font and its size for the page view can be configured. Additionally also the size of the IconFont next to the text line is configurable.

[Appearance]
PAGE_FONT = Comic Sans MS
PAGE_FONT_SIZE = 15
PAGE_ICON_FONT_SIZE = 11

Kindly let me know if this does the job and I will close this issue.

Munchotaur commented 4 years ago

That works nicely -- thank you!