Age | Commit message (Collapse) | Author |
|
|
|
Banner will take over everything related to the page top banner.
DocumentWidget's content positioning is a bit messy, and now that the banner is no longer part of the GmDocument, it needed a bit of revising. It would still benefit from proper functions for mapping coordinates to/from the GmDocument coordinate space.
|
|
|
|
Added a second version of Iosevka with more line spacing, to be used as the default monospace document font.
|
|
The mandatory fonts are in resources.lgr, but still packaged in a ZIP archive.
|
|
All fonts except default.fontpack will be distributed separately, or at least outside of resources.lgr.
|
|
|
|
|
|
New almost completed or in-progress UI translations.
|
|
|
|
|
|
|
|
|
|
The SDL text input rectangle function applies some sort of offset that is inappropriate on iOS.
|
|
|
|
These options are mostly useful on mobile platforms that are not iOS or Android, and for testing purposes.
|
|
|
|
# Conflicts:
# CMakeLists.txt
|
|
Resize drawing seems to work better on many platforms so default to ON.
|
|
The option defaults to OFF because generally SDL should be handling this and the resize watcher is a bit of hack.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The external project install targets are not being executed in time, maybe this helps?
|
|
|
|
When using the upload shortcut, enable configuring a specific port for Titan via site-specific parameters.
|
|
`UploadWidget` allows entering long-form text or dropping a file for uploading.
InputWidget isn't yet well suited for really long documents... Some optimizations will be needed.
|
|
Build HarfBuzz with Meson, too, since that's what it recommends doing.
Both HarfBuzz and FriBidi are always built as release builds.
Install DLLs in the MSYS2 build.
TODO: The HarfBuzz CMake build should *not* use a subdirectory, but
use ExternalProject instead so it can always be a Release build.
|
|
|
|
Allow using both `pkg-config` provided libraries for local builds, and
configuring more minimal versions for distribution. HarfBuzz has a
bunch of dependencies by default.
TODO: ENABLE_FRIBIDI_BUILD should cause a static library to be built.
|
|
Generally would be preferable to use FriBidi as a system-provided package, but as a fallback it must be buildable.
Should still add an autotools build option in case meson is not available.
|
|
This kind of already works! HarfBuzz will composite glyphs as expected.
Still missing: half-pixel offsets, line wrapping, color escapes, monospace grid alignment.
FriBidi will still be required to determine/reorder text direction within each run.
|
|
HarfBuzz will provide proper Unicode text shaping for both simple and complex scripts.
The old `run_Font_` is available for use as a fallback if HarfBuzz is not available due to size or complexity constraints (it's written in C++).
|
|
|
|
|
|
# Conflicts:
# src/gmdocument.c
# src/ui/documentwidget.c
# src/ui/inputwidget.h
|
|
References:
gemini://simbly.me/posts/2021-06-08-Fixing-desktop-shortcut-of-Lagrange.gmi
https://askubuntu.com/questions/367396/what-does-the-startupwmclass-field-of-a-desktop-file-represent
|
|
|
|
|
|
Symbola's license is not permissive enough, so it has been removed. Added "Smol Emoji" with face emoticons and other UI characters for Lagrange. More symbols provided by Noto Sans Symbols and Noto Sans Symbols 2.
The fallback fonts are now Iosevka, which has a pretty good coverage (although monospace), and the user's chosen TrueType font (which could still be a local copy of Symbola).
Still a work in progress: some characters are missing.
IssueID #283
|
|
|
|
|
|
The mobile UI related code has grown large enough to warrant a separate file.
Also, work-in-progress redo of the Preferences layout so it can be used with landscape as well.
|
|
Several regressions occurred when the split view mode was implemented.
|
|
IssueID #192
|
|
|