Age | Commit message (Collapse) | Author |
|
IssueID #297
|
|
IssueID #229
|
|
The input dialog shouldn't respond to the generic "cancel" command because that'll easily lead to loss of user-entered text.
"cancel" is emitted in many situations, including right before a context menu is opened.
|
|
|
|
Use advance and not bounds.
|
|
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.
|
|
|
|
|
|
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.
|
|
|
|
|
|
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.
|
|
Todo: This seems a little late in the game. The reordering should be done for each paragraph of text.
|
|
|
|
If glyphs are borrowed from a different font, the offset/advance are adjusted to fit the correct monospacing (for pictographs/emoji).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
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.
|
|
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:
# CMakeLists.txt
|
|
The link numbers were not aligned with all fonts.
|
|
|
|
IssueID #263
|
|
|
|
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.
|
|
|
|
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.
|
|
The sidebars are not supposed to have borders or background fades.
|
|
|
|
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
|
|
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.
|
|
Shuffled the widget flags a bit to make room for a new one.
|
|
|
|
Added a fonts tab and reorganized settings more logically. Some of the General items were more appropriate for the Style page.
|
|
Slightly thicker fetch progress indicator, smaller search query indicator on the phone.
|
|
|
|
|
|
Toolbar should reflect the colors of the current view, whether it's a page or the sidebar.
|
|
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
|
|
When a page is opened from the sidebar, swiping back will now reopen the sidebar. Another swipe will dismiss the sidebar and navigate back as usual.
Attempted to cache theme colors in GmDocument, but there were issues with theme changes.
|
|
Swipes are working much better.
Todo:
- Pinch must always cancel/override edge swipes.
- Use the right palette for the "swipein" placeholder.
|