summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-10-13CleanupJaakko Keränen
2021-10-13Text attributes that change inside a runJaakko Keränen
These changes concern the situation when the attributes of text (i.e., font, color) are changed via escape sequences. The concept of "base attributes" was added so that the low-level text renderer knows which font/color to set when a "reset" escape sequence is encountered. This depends on what kind of text is being renderer, e.g., preformatted or regular paragraphs. The base attributes were added as variables in Text because it was getting unwieldy to pass all the information via the draw/measure/WrapText functions. GmDocument now has a GmTheme struct that collects the font and color information into a single place.
2021-10-13Added preference for font smoothingJaakko Keränen
2021-10-12Experimental Markdown renderingJaakko Keränen
Convert Markdown to Gemtext and use ANSI escape sequences to switch fonts (bold, italic, monospace). The conversion is still a bit buggy...
2021-10-11Preferences: Add bookmarks to bottom/topJaakko Keränen
IssueID #358
2021-10-11Merge branch 'dev' into work/v1.8Jaakko Keränen
# Conflicts: # CMakeLists.txt # res/lang/es.bin # res/lang/fr.bin # res/lang/gl.bin # res/lang/ie.bin # res/lang/ru.bin # res/lang/sk.bin # res/lang/sr.bin # res/lang/tok.bin # src/ui/documentwidget.c
2021-10-11Updated AppData for v1.7.2Jaakko Keränen
2021-10-11Updated translationsJaakko Keränen
2021-10-11Merge branch 'dev' of https://weblate.skyjake.fi/git/lagrange/ui into devJaakko Keränen
2021-10-11Translated using Weblate (Czech)Tadeáš Erban
Currently translated at 21.6% (125 of 577 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/cs/
2021-10-11Translated using Weblate (Czech)Tadeáš Erban
Currently translated at 19.7% (114 of 577 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/cs/
2021-10-11Translated using Weblate (Galician)Xosé M
Currently translated at 100.0% (577 of 577 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/gl/
2021-10-11Translated using Weblate (Slovak)Tadeáš Erban
Currently translated at 13.6% (79 of 577 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/sk/
2021-10-11Translated using Weblate (Occidental)Olga Smirnova
Currently translated at 98.9% (571 of 577 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/ie/
2021-10-11Translated using Weblate (Russian)Olga Smirnova
Currently translated at 99.4% (574 of 577 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/ru/
2021-10-11Added translation using Weblate (Czech)Weblate Admin
2021-10-11Translated using Weblate (Serbian)Страхиња Радић
Currently translated at 100.0% (577 of 577 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/sr/
2021-10-11Translated using Weblate (Spanish)Wally Hackenslacker
Currently translated at 100.0% (577 of 577 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/es/
2021-10-11Translated using Weblate (Galician)Xosé M
Currently translated at 100.0% (572 of 572 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/gl/
2021-10-11Translated using Weblate (French)MCMic
Currently translated at 99.6% (570 of 572 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/fr/
2021-10-11Translated using Weblate (Galician)Xosé M
Currently translated at 100.0% (572 of 572 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/gl/
2021-10-11Translated using Weblate (Toki Pona (tok))jan Anja
Currently translated at 97.9% (560 of 572 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/tok/
2021-10-11Translated using Weblate (Serbian)Страхиња Радић
Currently translated at 100.0% (572 of 572 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/sr/
2021-10-11Translated using Weblate (Spanish)Wally Hackenslacker
Currently translated at 100.0% (572 of 572 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/es/
2021-10-11Updated release notesJaakko Keränen
2021-10-11macOS: Trying a different SDK version checkJaakko Keränen
2021-10-11DocumentWidget: Fixed text selection regressionsJaakko Keränen
The HarfBuzz and wrapped text changes introduced subtle differences in how text selection works. Fixed a bunch of issues regarding how the individual character selection mode works in edge cases. IssueID #357
2021-10-11Bumped version number to 1.7.2Jaakko Keränen
2021-10-11Gopher: Added the 'p' typeJaakko Keränen
IssueID #356
2021-10-11Gopher: Added the 'p' typeJaakko Keränen
IssueID #356
2021-10-11Media refactoring; working on FontPack managementJaakko Keränen
Media still needs more work to get rid of redundancies and make lookups faster. FontPacks are manipulated as Media items (not unlike images) so they can be previewed on page, and installed via a click. FontPack management is not trivial as it includes such details as versioning and whether individual packs are enabled or disabled.
2021-10-11Update the_FoundationJaakko Keränen
2021-10-10Feeds: Added option to ignore web linksJaakko Keränen
2021-10-09Preferences: Selecting fonts to useJaakko Keränen
Now all the available fonts are selectable in the dialog. Added preformatted and UI font settings and shuffled the order a bit to make more sense.
2021-10-09Prefs: System light/dark theme preferenceJaakko Keränen
Remember which UI color themes are selected for system light and dark modes separately. Previously it would always switch to a hardcoded color theme when toggling the "Use system theme" option.
2021-10-09Widget: Keep frame inside the widget areaJaakko Keränen
TODO: Check if this is only applicable to HiDPI.
2021-10-09Color: Adjusted sidebar folder backgroundJaakko Keränen
The light theme folder backgrounds were a tad dark.
2021-10-08Font configuration; Prefs has a string value arrayJaakko Keränen
Added a second version of Iosevka with more line spacing, to be used as the default monospace document font.
2021-10-08Colored popup framesJaakko Keränen
2021-10-08Updated the_FoundationJaakko Keränen
2021-10-07Load default.fontpack from resources.lgrJaakko Keränen
The mandatory fonts are in resources.lgr, but still packaged in a ZIP archive.
2021-10-07Package all fonts into .fontpacksJaakko Keränen
All fonts except default.fontpack will be distributed separately, or at least outside of resources.lgr.
2021-10-07DocumentWidget: Line width based on font glyph widthJaakko Keränen
The idea is that the amount of content should be the same per line regardless of the font.
2021-10-07FontPack: Documented font propertiesJaakko Keränen
2021-10-07Updated Smol EmojiJaakko Keränen
The icon for an open bookmark folder (vertical right angle bracket).
2021-10-06Text: Fixed font lookup orderJaakko Keränen
Check auxiliary fonts first, and then all primary fonts that haven't been checked yet.
2021-10-06Media: Print error message from stb_imageJaakko Keränen
2021-10-06Fixed a couple of font issuesJaakko Keränen
Scaling of monospace and symbols; cache reset.
2021-10-06SidebarWidget: Crash in TOC tabJaakko Keränen
The heading items will be obsolete if clicking in the sidebar before a page load finishes. IssueID #350
2021-10-06Revised runtime font managementJaakko Keränen
The built-in fonts are loaded via FontPack, and the font table is now constructed dynamically based on available fonts. A full set of variants (style, size) are prepared for each font, but some of the data gets allocated lazily when needed. GmRun needed a larger allocation for fonts, so now all the fields are combined into a single bit field. TODO: Glyph scaling, vertical offsets, and symbol lookup are still not fully working.