summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-07-06GmDocument: Ignore BOM if presentJaakko Keränen
2021-07-06InputWidget: Fixed cursor positioningJaakko Keränen
Use advance and not bounds.
2021-07-06Text run measurement API change; bug fixesJaakko Keränen
The distinction between measure_Text and advance_Text was not very clear. Now there are only measure_Text functions that return both the bounds and the cursor position advancement, and the appropriate metrics are used by the caller.
2021-07-04CleanupJaakko Keränen
2021-07-04Text: Apply FriBidi (again); fixed wrapping bugsJaakko Keränen
2021-07-04Text: Refactoring AttributedTextJaakko Keränen
AttributedText converts the text to a visual UTF-32 string. This allows it to be processed in a more straightforward fashion, and the indirection allows reordering via FriBidi.
2021-07-04Text: Adjusted Noto Symbols scalingJaakko Keränen
2021-07-04Text: Right-align RTL text linesJaakko Keränen
2021-07-03Feeds: Canonical entry URLsJaakko Keränen
2021-07-03Added build options for HarfBuzz and FriBidiJaakko Keränen
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.
2021-07-03Text: Use FriBidi for visual orderJaakko Keränen
Todo: This seems a little late in the game. The reordering should be done for each paragraph of text.
2021-07-03Text: CleanupJaakko Keränen
2021-07-02Text: Monospace glyph fitting; trying out soft hyphensJaakko Keränen
If glyphs are borrowed from a different font, the offset/advance are adjusted to fit the correct monospacing (for pictographs/emoji).
2021-07-02GmDocument: Tuning whitespaceJaakko Keränen
2021-07-02Text: Keep Nunito Italic kerning as-isJaakko Keränen
2021-07-02Further canonical URIsJaakko Keränen
2021-07-02Gopher: Improved ASCII art detectionJaakko Keränen
2021-07-02Gopher: Adjusted indentsJaakko Keränen
2021-07-02Text: Skip space at word wrap positionJaakko Keränen
2021-07-02CleanupJaakko Keränen
2021-07-02Text: Nunito kerning adjustmentJaakko Keränen
2021-07-02Text: Word wrapping; fixed glyph cachingJaakko Keränen
2021-07-01Text: Working on line wrappingJaakko Keränen
2021-07-01Text: Working on HarfBuzzJaakko Keränen
2021-07-01Using Canonical URLsJaakko Keränen
2021-06-30CleanupJaakko Keränen
2021-06-30Text: Internal and ANSI color escapesJaakko Keränen
2021-06-30Text: Use HarfBuzz to shape textJaakko Keränen
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.
2021-06-30Canonical URIsJaakko Keränen
Internally, all URIs should be converted to a canonical form so that they can be compared against each other. The canonical form is an IRI with spaces and reserved characters percent-encoded.
2021-06-26Text: Link with HarfBuzz; old run_Font_ is a fallbackJaakko Keränen
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++).
2021-06-25Merge branch 'dev' into work/v1.6Jaakko Keränen
# Conflicts: # CMakeLists.txt
2021-06-25Touch: Debugging helperJaakko Keränen
IssueID #298
2021-06-24GmDocument: Mark opened URLs as visitedJaakko Keränen
Set a formatting flag on opened links.
2021-06-24GmDocument: Don't collapse preformatted on Gopher pagesJaakko Keränen
IssueID #300
2021-06-24DocumentWidget: Fixed link number alignmentJaakko Keränen
The link numbers were not aligned with all fonts.
2021-06-24Text: Tune kerning on NunitoJaakko Keränen
2021-06-17Color: Load palettes from a config fileJaakko Keränen
IssueID #263
2021-06-17CleanupJaakko Keränen
2021-06-17DocumentWidget: Spaces in image URLJaakko Keränen
On a generated image page, the image link URL was not escaped so any spaces would cause it to be broken. These content links also should not use the background highlighting meant for links open in other tabs.
2021-06-17CleanupJaakko Keränen
2021-06-16DocumentWidget: Spaces in image URLJaakko Keränen
On a generated image page, the image link URL was not escaped so any spaces would cause it to be broken. These content links also should not use the background highlighting meant for links open in other tabs.
2021-06-15Fixed visual artifact during sidebar animationJaakko Keränen
The sidebars are not supposed to have borders or background fades.
2021-06-15Text: Small font is semibold for legibilityJaakko Keränen
2021-06-15Extend list of allowed ciphersJaakko Keränen
Ciphers used in the wild.
2021-06-15GmDocument: Link iconsJaakko Keränen
# Conflicts: # src/gmdocument.c
2021-06-15TextBuf: Attempted workaroundJaakko Keränen
It is possible that calling `SDL_RenderClear` was not performing the expected clearing of the TextBuf texture due to the wrong blend mode being in effect. IssueID #271
2021-06-15Mobile: Showing identity name in toolbarJaakko Keränen
Tweaked the position to work without safe area insets as well. It would make things easier to have the name as a child of the Identity button and keep the size of the button fixed.
2021-06-15Mobile: Show identity name in toolbarJaakko Keränen
Shuffled the widget flags a bit to make room for a new one.
2021-06-15Mobile: Draw Identity button as outlineJaakko Keränen
2021-06-15Preferences: New Fonts tab; reorganizedJaakko Keränen
Added a fonts tab and reorganized settings more logically. Some of the General items were more appropriate for the Style page.