From 3d29a079da3f5b0f87295a49407318dc59dcef74 Mon Sep 17 00:00:00 2001

From: =?UTF-8?q?Jaakko=20Ker=C3=A4nen?= jaakko.keranen@iki.fi

Date: Sat, 31 Oct 2020 21:02:15 +0200

Subject: [PATCH 1/1] Updated Help


res/about/help.gmi | 27 ++++++++++++++++++++++-----

src/ui/bindingswidget.c | 1 +

2 files changed, 23 insertions(+), 5 deletions(-)

diff --git a/res/about/help.gmi b/res/about/help.gmi

index f27f8830..4abaabbc 100644

--- a/res/about/help.gmi

+++ b/res/about/help.gmi

@@ -35,6 +35,7 @@ Like Gemini, Lagrange has been designed with minimalism in mind. It depends on a

+* Configurable keybindings

What is Gemini

@@ -171,7 +172,7 @@ The 🔃 button on the right side of the URL input field is the Reload/Stop butt

Customization

-You can find a number of settings in Preferences to customize what the user interface and page contents look like.

+You can find a number of settings in Preferences to customize the user interface and page contents.

Color themes

@@ -196,19 +197,33 @@ Page content color themes are selected on the "Colors" tab of Preferences. The "

Page style

-Heading/body font.

+The fonts for headings and other text are selected separately. This way one can achieve a greater number of style variations. Also, headings that are in a different font are more visually distinct and thus easier for one's eyes to scan.

-There are two serif and two sans serif fonts. "Nunito" is a friendly rounded font. "Fira Sans" is bolder, narrower, and more angular.

+There are two sans-serif and two serif fonts:

-Line width: This setting determines the maximum width for text lines. "Window" disables the maximum limit and fits text lines to the full width of the window. Shorter lines are generally easier to read.

+* "Nunito" is a friendly rounded sans-serif font.

+* "Fira Sans" is a bolder, narrower, and more angular sans-serif font.

+* "Literata" is a heavy and serious serif font.

+* "EB Garamond" is a lighter and more decorative serif font. You may find it more readable on light backgrounds.

+Other style options:

+* Line width: This setting determines the maximum width for text lines. "Window" disables the maximum limit and fits text lines to the full width of the window. Shorter lines are generally easier to read.

+* Quote indicator: Quoted text is shown in an italic font. Additionally, you can select between a quotation mark icon and the traditional vertical line along the left edge of the quote.

-* Quote indicator

Options for wide window sizes:

+### Bindings

+The Bindings tab lets you change which keys are bound to UI commands. Currently only basic page scrolling keybindings are available.

+Click on an item with the mouse and then press the new key combination that you want bound to it.

+To reset all bindings to their defaults, quit Lagrange and delete the "bindings.txt" file in Lagrange's runtime directory. This is a platform-dependent location; see below for more information (under "Runtime files").

OS integration

Command line options

@@ -245,6 +260,7 @@ Lagrange stores user-specific persistent files in one of the following locations

Other Unix : ~/.config/lagrange/

+* bindings.txt

@@ -253,4 +269,5 @@ Other Unix : ~/.config/lagrange/

Open source licenses

=> about:license

diff --git a/src/ui/bindingswidget.c b/src/ui/bindingswidget.c

index 4ce6ea4d..82763416 100644

--- a/src/ui/bindingswidget.c

+++ b/src/ui/bindingswidget.c

@@ -107,6 +107,7 @@ void init_BindingsWidget(iBindingsWidget *d) {

 d->activePos = iInvalidPos;

 d->list = new_ListWidget();

 setItemHeight_ListWidget(d->list, lineHeight_Text(uiLabel_FontId) * 1.5f);

 addChild_Widget(w, iClob(d->list));

 updateItems_BindingsWidget_(d);

}

--

2.25.1

Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/work%2Fv1.17/patch/537673b2fbf829c8c24bc18da95eabb2cb4e7c1d.patch
Status Code
Success (20)
Meta
text/plain
Capsule Response Time
65.26101 milliseconds
Gemini-to-HTML Time
1.064718 milliseconds

This content has been proxied by September (3851b).