Age | Commit message (Collapse) | Author |
|
|
|
Draw the circle and the number/letter separately since we don't
have a font with all the glyphs.
|
|
Some of the icons in the Bookmarks list and lookup results were misaligned.
|
|
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
|
|
Improved TextBuf to handle word/bound-wrapped content.
|
|
|
|
|
|
Added a font for Arabic, making the glyphs available for rendering.
Of course, this doesn't solve Arabic text rendering yet. There is still the RTL direction to work out and possibly some missing glyph combining rules.
IssueID #195
|
|
Added the Noto Sans Simplified Chinese font. This adds another ~10 MB to resources.lgr, increasing the urgency of distributing fonts via separate downloads.
The font table was getting difficult to manage, so now the sizes are broken out into a separate enum, and the table is reordered to match the FontSize order.
|
|
Fill glyph backgrounds individually based on current color.
|
|
Previously glyph caching was done during text rendering, but that would mean lots of swapping between rendering stuff to the cache and then immediately afterward rendering to the display. There would be a swap per each new glyph.
Now the entire document's glyphs are precached at once when a request is finished. Glyphs are also cached in larger batches when new text needs to be drawn.
|
|
|
|
|
|
Links are important enough to stand out clearly. A bold font can be tinted with the primary theme color without losing readability.
|
|
The Gray theme now has a light and dark variant.
|
|
Link lists and bullet lists are spaced the same way.
|
|
Instead of the default link icon, if a label starts with an Emoji or
symbol, use that as the icon. This only works with local Gemini links so
important information about link destination is not hidden.
|
|
Also various widget fixes/improvements.
|
|
The software keyboard obstructs part of the UI, so need to offset the view if the focused input widget would not be visible.
|
|
Allow the UI and monospace fonts to be used as page content fonts.
|
|
Try to minimize the number of fonts in the UI. Input fields now use the same UI font as everything else. The monospace font was originally used because the widget required one, but that is no longer the case.
|
|
|
|
|
|
|
|
The bold UI label font is used for highlighted sidebar items and default buttons.
|
|
Text drawing can now be made aware of the available horizontal space.
|
|
Iosevka replaces Fira Mono as the monospace font.
Emojis are now allowed to be wider than normal monospace glyphs. However, if whitespace permits, the original monospacing is restored.
IssueID #73
|
|
|
|
The fonts bundled with Lagrange currently do not have all the latest Unicode symbols, so we'll ignore the joiners and modifiers for gender and skin color.
A better option would be to fall back to system-provided text rendering, if that is available.
IssueID #81
|
|
Tinos is a much more readable serif font, especially when it comes to the italic variant.
|
|
Monospace body font can be set separately for Gemini and Gopher.
|
|
|
|
|
|
This overrides Kosugi Maru as it looks a bit nicer, in case there are glyphs available in both.
|
|
|
|
|
|
Body and heading fonts can be selected separately.
|
|
Added the EB Garamond and Literata fonts as serif font choices.
|
|
|
|
|
|
If the regular monospace font is missing a Unicode character, one is used from Symbola. However, these replacements were taken from the wrong sized font. Also, since the replacements are not monospace (Symbola isn't) they are now centered in their location for a better alignment.
|
|
This font is needed for example for tab titles where there are japanese glyphs.
|
|
Added a new 1.2x font size and use it for first paragraphs.
|
|
Kosugi Maru is from Google Fonts and licensed used Apache License 2.0.
|
|
|
|
|
|
Convert glyph bitmaps to Unicode block characters
|
|
Mostly for sidebar contents.
|
|
|
|
|