Age | Commit message (Collapse) | Author |
|
Don't try to show a document while a long download is progressing, especially if we don't have any way to present the document format.
|
|
|
|
|
|
When GlyphBuffers were freed, the array holding them wasn't.
|
|
|
|
Block alloc behavior.
|
|
|
|
Saving this as the last point of progress. This direction is too complicated: Media needs to be a lot more sophisticated to allow dynamic and interactive media at the level of FontPacks. (A bit like Player handles audio playback.)
This will be reverted. FontPack management will happen using an another method.
|
|
When the last safe break position was not in the current attributed run, the calculated wrap advance came out incorrect. This was possible when the first glyph in an attributed run didn't fit.
|
|
Cleaned up serialization of the bool preferences a little.
|
|
|
|
It can be argued that using ANSI escapes to style text goes against the intended use of Gemtext. Therefore, all ANSI escapes are now disabled by default in Gemtext.
|
|
|
|
|
|
|
|
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.
|
|
|
|
Convert Markdown to Gemtext and use ANSI escape sequences to switch fonts (bold, italic, monospace). The conversion is still a bit buggy...
|
|
IssueID #358
|
|
# 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
|
|
|
|
|
|
|
|
Currently translated at 21.6% (125 of 577 strings)
Translation: Lagrange/User Interface
Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/cs/
|
|
Currently translated at 19.7% (114 of 577 strings)
Translation: Lagrange/User Interface
Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/cs/
|
|
Currently translated at 100.0% (577 of 577 strings)
Translation: Lagrange/User Interface
Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/gl/
|
|
Currently translated at 13.6% (79 of 577 strings)
Translation: Lagrange/User Interface
Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/sk/
|
|
Currently translated at 98.9% (571 of 577 strings)
Translation: Lagrange/User Interface
Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/ie/
|
|
Currently translated at 99.4% (574 of 577 strings)
Translation: Lagrange/User Interface
Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/ru/
|
|
|
|
Currently translated at 100.0% (577 of 577 strings)
Translation: Lagrange/User Interface
Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/sr/
|
|
Currently translated at 100.0% (577 of 577 strings)
Translation: Lagrange/User Interface
Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/es/
|
|
Currently translated at 100.0% (572 of 572 strings)
Translation: Lagrange/User Interface
Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/gl/
|
|
Currently translated at 99.6% (570 of 572 strings)
Translation: Lagrange/User Interface
Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/fr/
|
|
Currently translated at 100.0% (572 of 572 strings)
Translation: Lagrange/User Interface
Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/gl/
|
|
Currently translated at 97.9% (560 of 572 strings)
Translation: Lagrange/User Interface
Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/tok/
|
|
Currently translated at 100.0% (572 of 572 strings)
Translation: Lagrange/User Interface
Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/sr/
|
|
Currently translated at 100.0% (572 of 572 strings)
Translation: Lagrange/User Interface
Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/es/
|
|
|
|
|
|
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
|
|
|
|
IssueID #356
|
|
IssueID #356
|
|
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.
|
|
|
|
|
|
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.
|
|
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.
|
|
TODO: Check if this is only applicable to HiDPI.
|