diff options
-rw-r--r-- | po/en.po | 2 | ||||
-rw-r--r-- | res/about/version.gmi | 6 | ||||
-rw-r--r-- | res/lang/de.bin | bin | 28359 -> 28356 bytes | |||
-rw-r--r-- | res/lang/en.bin | bin | 25858 -> 25855 bytes | |||
-rw-r--r-- | res/lang/eo.bin | bin | 24635 -> 24632 bytes | |||
-rw-r--r-- | res/lang/es.bin | bin | 28743 -> 28740 bytes | |||
-rw-r--r-- | res/lang/es_MX.bin | bin | 26684 -> 26681 bytes | |||
-rw-r--r-- | res/lang/fi.bin | bin | 28657 -> 28654 bytes | |||
-rw-r--r-- | res/lang/fr.bin | bin | 29565 -> 29562 bytes | |||
-rw-r--r-- | res/lang/gl.bin | bin | 28021 -> 28018 bytes | |||
-rw-r--r-- | res/lang/ia.bin | bin | 27684 -> 27681 bytes | |||
-rw-r--r-- | res/lang/ie.bin | bin | 27889 -> 27886 bytes | |||
-rw-r--r-- | res/lang/isv.bin | bin | 24562 -> 24559 bytes | |||
-rw-r--r-- | res/lang/pl.bin | bin | 28960 -> 28957 bytes | |||
-rw-r--r-- | res/lang/ru.bin | bin | 41332 -> 41329 bytes | |||
-rw-r--r-- | res/lang/sk.bin | bin | 24895 -> 24892 bytes | |||
-rw-r--r-- | res/lang/sr.bin | bin | 41204 -> 41201 bytes | |||
-rw-r--r-- | res/lang/tok.bin | bin | 26134 -> 26131 bytes | |||
-rw-r--r-- | res/lang/zh_Hans.bin | bin | 24636 -> 24633 bytes | |||
-rw-r--r-- | res/lang/zh_Hant.bin | bin | 24777 -> 24774 bytes | |||
-rw-r--r-- | src/ui/documentwidget.c | 11 | ||||
-rw-r--r-- | src/ui/sidebarwidget.c | 4 |
22 files changed, 8 insertions, 15 deletions
@@ -1968,7 +1968,7 @@ msgid "dlg.fontpack.delete" | |||
1968 | msgstr "Delete Fontpack" | 1968 | msgstr "Delete Fontpack" |
1969 | 1969 | ||
1970 | msgid "fontpack.help" | 1970 | msgid "fontpack.help" |
1971 | msgstr "Lagrange fontpacks are ZIP archives that contain a set of font files and associated configuration parameters. Once installed, the fonts can be used for document content and the UI. The active fonts are selected using Preferences > Fonts." | 1971 | msgstr "Lagrange fontpacks are ZIP archives that contain a set of font files and associated configuration parameters. Once installed, the fonts can be used for document content and the UI. The active fonts are selected in Preferences > Fonts." |
1972 | 1972 | ||
1973 | msgid "fontpack.install.ttf" | 1973 | msgid "fontpack.install.ttf" |
1974 | msgstr "Install TrueType Font" | 1974 | msgstr "Install TrueType Font" |
diff --git a/res/about/version.gmi b/res/about/version.gmi index 5593e61f..34d44214 100644 --- a/res/about/version.gmi +++ b/res/about/version.gmi | |||
@@ -7,10 +7,11 @@ | |||
7 | # Release notes | 7 | # Release notes |
8 | 8 | ||
9 | ## 1.8 | 9 | ## 1.8 |
10 | ⚠️ Font settings are reset to defaults. Only a minimal set of fonts is bundled with the app. If additional fonts are needed, they can be downloaded or one can use custom TrueType fonts. | 10 | ⚠️ Font settings will be reset to defaults. Only a minimal set of fonts is bundled with the app. If additional fonts are needed, one can use custom TrueType fonts or download some from the Font Library: |
11 | => gemini://skyjake.fi/fonts/ | ||
11 | 12 | ||
12 | New features: | 13 | New features: |
13 | * Added a customizable font library. One can open "about:fonts" to view and manage the installed fonts. | 14 | * Added a customizable font library. Open "about:fonts" to view and manage the installed fonts. |
14 | * Added TrueType fonts as a recognized content type. When one is viewed in the app (e.g., via a drag-and-drop), there is an option to install it as a user font. | 15 | * Added TrueType fonts as a recognized content type. When one is viewed in the app (e.g., via a drag-and-drop), there is an option to install it as a user font. |
15 | * Added fontpacks. They are ZIP archives containing one or more TrueType fonts and parameters about how they should be used. | 16 | * Added fontpacks. They are ZIP archives containing one or more TrueType fonts and parameters about how they should be used. |
16 | * Added new font options: separate preformatted and monospace body fonts, UI font, smoothing. | 17 | * Added new font options: separate preformatted and monospace body fonts, UI font, smoothing. |
@@ -23,7 +24,6 @@ New features: | |||
23 | * Added an automatic conversion of Markdown to Gemtext when viewing local files. (Not all Markdown features are supported.) | 24 | * Added an automatic conversion of Markdown to Gemtext when viewing local files. (Not all Markdown features are supported.) |
24 | 25 | ||
25 | Changes and enhancements: | 26 | Changes and enhancements: |
26 | => gemini://skyjake.fi/fonts/ Additional fonts are available as optional downloads. | ||
27 | * Removed all alternative built-in content fonts. | 27 | * Removed all alternative built-in content fonts. |
28 | * The default content font is Source Sans, same as the UI font. | 28 | * The default content font is Source Sans, same as the UI font. |
29 | * Redesigned error/warning messages. These now show up as part of the page top banner, and their appearance can no longer be replicated via Gemtext. | 29 | * Redesigned error/warning messages. These now show up as part of the page top banner, and their appearance can no longer be replicated via Gemtext. |
diff --git a/res/lang/de.bin b/res/lang/de.bin index e8d437f4..e2602e67 100644 --- a/res/lang/de.bin +++ b/res/lang/de.bin | |||
Binary files differ | |||
diff --git a/res/lang/en.bin b/res/lang/en.bin index 8e5a4ea3..d633dcce 100644 --- a/res/lang/en.bin +++ b/res/lang/en.bin | |||
Binary files differ | |||
diff --git a/res/lang/eo.bin b/res/lang/eo.bin index 73cc4845..6d1ad626 100644 --- a/res/lang/eo.bin +++ b/res/lang/eo.bin | |||
Binary files differ | |||
diff --git a/res/lang/es.bin b/res/lang/es.bin index d6369196..7b6424e1 100644 --- a/res/lang/es.bin +++ b/res/lang/es.bin | |||
Binary files differ | |||
diff --git a/res/lang/es_MX.bin b/res/lang/es_MX.bin index 6e8f0bcc..46143112 100644 --- a/res/lang/es_MX.bin +++ b/res/lang/es_MX.bin | |||
Binary files differ | |||
diff --git a/res/lang/fi.bin b/res/lang/fi.bin index 988531d8..49962ea0 100644 --- a/res/lang/fi.bin +++ b/res/lang/fi.bin | |||
Binary files differ | |||
diff --git a/res/lang/fr.bin b/res/lang/fr.bin index ef9f263c..45a65e27 100644 --- a/res/lang/fr.bin +++ b/res/lang/fr.bin | |||
Binary files differ | |||
diff --git a/res/lang/gl.bin b/res/lang/gl.bin index 8d97bbc2..aed86778 100644 --- a/res/lang/gl.bin +++ b/res/lang/gl.bin | |||
Binary files differ | |||
diff --git a/res/lang/ia.bin b/res/lang/ia.bin index 146f742c..2cee5295 100644 --- a/res/lang/ia.bin +++ b/res/lang/ia.bin | |||
Binary files differ | |||
diff --git a/res/lang/ie.bin b/res/lang/ie.bin index 825b7103..98e87d11 100644 --- a/res/lang/ie.bin +++ b/res/lang/ie.bin | |||
Binary files differ | |||
diff --git a/res/lang/isv.bin b/res/lang/isv.bin index c781078f..63000dd7 100644 --- a/res/lang/isv.bin +++ b/res/lang/isv.bin | |||
Binary files differ | |||
diff --git a/res/lang/pl.bin b/res/lang/pl.bin index dc521daf..adabcde2 100644 --- a/res/lang/pl.bin +++ b/res/lang/pl.bin | |||
Binary files differ | |||
diff --git a/res/lang/ru.bin b/res/lang/ru.bin index be45f0b5..09d86d96 100644 --- a/res/lang/ru.bin +++ b/res/lang/ru.bin | |||
Binary files differ | |||
diff --git a/res/lang/sk.bin b/res/lang/sk.bin index 30a97295..7ddfd9d8 100644 --- a/res/lang/sk.bin +++ b/res/lang/sk.bin | |||
Binary files differ | |||
diff --git a/res/lang/sr.bin b/res/lang/sr.bin index 2431c68a..396e0d8d 100644 --- a/res/lang/sr.bin +++ b/res/lang/sr.bin | |||
Binary files differ | |||
diff --git a/res/lang/tok.bin b/res/lang/tok.bin index aa4c699e..f0ace9af 100644 --- a/res/lang/tok.bin +++ b/res/lang/tok.bin | |||
Binary files differ | |||
diff --git a/res/lang/zh_Hans.bin b/res/lang/zh_Hans.bin index 3c4dcaae..e91634ab 100644 --- a/res/lang/zh_Hans.bin +++ b/res/lang/zh_Hans.bin | |||
Binary files differ | |||
diff --git a/res/lang/zh_Hant.bin b/res/lang/zh_Hant.bin index 18307d51..6506bcfb 100644 --- a/res/lang/zh_Hant.bin +++ b/res/lang/zh_Hant.bin | |||
Binary files differ | |||
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index bfb03702..633b72d8 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -934,11 +934,6 @@ static void updateVisible_DocumentWidget_(iDocumentWidget *d) { | |||
934 | updateHover_DocumentWidget_(d, mouseCoord_Window(get_Window(), 0)); | 934 | updateHover_DocumentWidget_(d, mouseCoord_Window(get_Window(), 0)); |
935 | updateSideOpacity_DocumentWidget_(d, iTrue); | 935 | updateSideOpacity_DocumentWidget_(d, iTrue); |
936 | animateMedia_DocumentWidget_(d); | 936 | animateMedia_DocumentWidget_(d); |
937 | setPos_Banner(d->banner, addY_I2(topLeft_Rect(documentBounds_DocumentWidget_(d)), | ||
938 | -pos_SmoothScroll(&d->scrollY))); | ||
939 | /*init_I2(documentBounds_DocumentWidget_(d).pos.x, | ||
940 | viewPos_DocumentWidget_(d) - | ||
941 | documentTopPad_DocumentWidget_(d)));*/ | ||
942 | /* Remember scroll positions of recently visited pages. */ { | 937 | /* Remember scroll positions of recently visited pages. */ { |
943 | iRecentUrl *recent = mostRecentUrl_History(d->mod.history); | 938 | iRecentUrl *recent = mostRecentUrl_History(d->mod.history); |
944 | if (recent && docSize && d->state == ready_RequestState) { | 939 | if (recent && docSize && d->state == ready_RequestState) { |
@@ -1137,7 +1132,7 @@ static void updateBanner_DocumentWidget_(iDocumentWidget *d) { | |||
1137 | } | 1132 | } |
1138 | 1133 | ||
1139 | static void updateTheme_DocumentWidget_(iDocumentWidget *d) { | 1134 | static void updateTheme_DocumentWidget_(iDocumentWidget *d) { |
1140 | if (category_GmStatusCode(d->sourceStatus) == categoryInput_GmStatusCode) { | 1135 | if (document_App() != d || category_GmStatusCode(d->sourceStatus) == categoryInput_GmStatusCode) { |
1141 | return; | 1136 | return; |
1142 | } | 1137 | } |
1143 | if (equalCase_Rangecc(urlScheme_String(d->mod.url), "file")) { | 1138 | if (equalCase_Rangecc(urlScheme_String(d->mod.url), "file")) { |
@@ -5034,6 +5029,8 @@ static void draw_DocumentWidget_(const iDocumentWidget *d) { | |||
5034 | documentTopPad_DocumentWidget_(d)), | 5029 | documentTopPad_DocumentWidget_(d)), |
5035 | init_I2(bounds.size.x, documentTopPad_DocumentWidget_(d)) }, | 5030 | init_I2(bounds.size.x, documentTopPad_DocumentWidget_(d)) }, |
5036 | docBgColor); | 5031 | docBgColor); |
5032 | setPos_Banner(d->banner, addY_I2(topLeft_Rect(docBounds), | ||
5033 | -pos_SmoothScroll(&d->scrollY))); | ||
5037 | draw_Banner(d->banner); | 5034 | draw_Banner(d->banner); |
5038 | } | 5035 | } |
5039 | const int yBottom = yTop + size_GmDocument(d->doc).y; | 5036 | const int yBottom = yTop + size_GmDocument(d->doc).y; |
@@ -5064,7 +5061,7 @@ static void draw_DocumentWidget_(const iDocumentWidget *d) { | |||
5064 | drawSevenSegmentBytes_MediaUI(font, | 5061 | drawSevenSegmentBytes_MediaUI(font, |
5065 | add_I2(mid_Rect(bounds), | 5062 | add_I2(mid_Rect(bounds), |
5066 | init_I2(sevenSegWidth.x * 4.5f, -sevenSegWidth.y / 2)), | 5063 | init_I2(sevenSegWidth.x * 4.5f, -sevenSegWidth.y / 2)), |
5067 | uiTextStrong_ColorId, uiTextDim_ColorId, | 5064 | tmQuote_ColorId, tmQuoteIcon_ColorId, |
5068 | bodySize_GmRequest(d->request)); | 5065 | bodySize_GmRequest(d->request)); |
5069 | } | 5066 | } |
5070 | /* Alt text. */ | 5067 | /* Alt text. */ |
diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c index 821f8118..4b6fde3c 100644 --- a/src/ui/sidebarwidget.c +++ b/src/ui/sidebarwidget.c | |||
@@ -987,10 +987,6 @@ void setWidth_SidebarWidget(iSidebarWidget *d, float widthAsGaps) { | |||
987 | arrange_Widget(findWidget_Root("stack")); | 987 | arrange_Widget(findWidget_Root("stack")); |
988 | checkModeButtonLayout_SidebarWidget_(d); | 988 | checkModeButtonLayout_SidebarWidget_(d); |
989 | updateItemHeight_SidebarWidget_(d); | 989 | updateItemHeight_SidebarWidget_(d); |
990 | if (!isFixedWidth && !isRefreshPending_App()) { | ||
991 | updateSize_DocumentWidget(document_App()); | ||
992 | invalidate_ListWidget(d->list); | ||
993 | } | ||
994 | } | 990 | } |
995 | 991 | ||
996 | iBool handleBookmarkEditorCommands_SidebarWidget_(iWidget *editor, const char *cmd) { | 992 | iBool handleBookmarkEditorCommands_SidebarWidget_(iWidget *editor, const char *cmd) { |