summaryrefslogtreecommitdiff
path: root/src/ui/text.h
AgeCommit message (Collapse)Author
2021-03-08Local Gemini links can use Emoji/symbol from label textJaakko Keränen
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.
2021-03-06Rasterize a few glyphs on every frameJaakko Keränen
Also various widget fixes/improvements.
2021-03-06Mobile: Dealing with keyboard heightJaakko Keränen
The software keyboard obstructs part of the UI, so need to offset the view if the focused input widget would not be visible.
2021-02-24Source Sans Pro and Iosevka as font optionsJaakko Keränen
Allow the UI and monospace fonts to be used as page content fonts.
2021-02-24UI font consistencyJaakko Keränen
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.
2021-02-23Added a Large Bold UI fontJaakko Keränen
2021-02-22iOS: Font adjustmentsJaakko Keränen
2021-02-21Text: Added a 1.33x sized UI fontJaakko Keränen
2020-12-29Added a bold UI fontJaakko Keränen
The bold UI label font is used for highlighted sidebar items and default buttons.
2020-12-18Text: Improved handling of tab stopsJaakko Keränen
Text drawing can now be made aware of the available horizontal space.
2020-12-12New monospace font; flexible mono spacingJaakko Keränen
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
2020-12-12InputWidget: Allow variable-width fontsJaakko Keränen
2020-12-08Text: Ignore Unicode joiners and modifiersJaakko Keränen
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
2020-11-20Replaced EB Garamond with TinosJaakko Keränen
Tinos is a much more readable serif font, especially when it comes to the italic variant.
2020-11-15Added a preference for monospace body textJaakko Keränen
Monospace body font can be set separately for Gemini and Gopher.
2020-11-14macOS: Font tweak for ⌘ and ⇧ charactersJaakko Keränen
2020-10-29Added a large UI fontJaakko Keränen
2020-10-22Added "Nanum Gothic" as a Korean fontJaakko Keränen
This overrides Kosugi Maru as it looks a bit nicer, in case there are glyphs available in both.
2020-10-14Player: Volume adjustment UIJaakko Keränen
2020-10-11Text: Font tuningJaakko Keränen
2020-10-11Added a preference for heading fontJaakko Keränen
Body and heading fonts can be selected separately.
2020-10-11Added two serif fonts; minor color tweaksJaakko Keränen
Added the EB Garamond and Literata fonts as serif font choices.
2020-09-25Document side elements; hover outlineJaakko Keränen
2020-09-22Drawing with alpha blendingJaakko Keränen
2020-09-21Text: Using Unicode symbols in monospaceJaakko Keränen
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.
2020-09-20Text: Japanese font sized for UI textJaakko Keränen
This font is needed for example for tab titles where there are japanese glyphs.
2020-09-20Text: Slightly smaller first paragraph font sizeJaakko Keränen
Added a new 1.2x font size and use it for first paragraphs.
2020-09-13Added Kosugi Maru for Japanese textJaakko Keränen
Kosugi Maru is from Google Fonts and licensed used Apache License 2.0.
2020-08-23Build option to disable kerning; other optimizationsJaakko Keränen
2020-08-22Added BSD 2-clause license and copyright noticesJaakko Keränen
2020-08-21Experimenting with text artJaakko Keränen
Convert glyph bitmaps to Unicode block characters
2020-08-18Added a larger content-friendly UI fontJaakko Keränen
Mostly for sidebar contents.
2020-08-15Text: Emoji selector ignoredJaakko Keränen
2020-08-14Text: Added a large UI fontJaakko Keränen
2020-08-11Document outline; jumping to clicked headingJaakko Keränen
2020-08-05Setting up document themingJaakko Keränen
2020-08-04Added a large light font for the site bannerJaakko Keränen
2020-08-04Changing the document content text sizeJaakko Keränen
The glyph cache is purged whenever font sizes change. UI fonts are deliberately not changed in size so that UI metrics don't have to be recomputed.
2020-08-02Flag for tight label padding; aligning labels visuallyJaakko Keränen
2020-07-27DocumentWidget: Marking a selection with the mouseJaakko Keränen
2020-07-27Added a subset of Symbola for more symbolsJaakko Keränen
Non-ugly emoticons, box drawing, math symbols, etc.
2020-07-26Text: Added a new font for EmojiJaakko Keränen
Noto Emoji by Google, pretty good but not ideal.
2020-07-25Right/center-aligned text; fixed menu shortcutsJaakko Keränen
2020-07-24Font update; ANSI color escapes; fixed URL updateJaakko Keränen
Newer version of the Fira fonts, and added a separate UI font (Source Sans Pro). The text renderer checks for the 4-bit ANSI color escapes for the setting the foreground color. InputWidget supports paste from clipboard. The navbar updates the current URL when the page has been loaded.
2020-07-22Getting started with some linksJaakko Keränen
2020-07-22Text: Cache glyph advances; added small monospace fontJaakko Keränen
2020-07-22Text wrapping; basic scrolling in DocumentWidgetJaakko Keränen
2020-07-22GmDocument: Basic indents; bullets; bold fontJaakko Keränen
2020-07-21Added GmDocument; very basic layout and renderJaakko Keränen
2020-07-21Initial commitJaakko Keränen
Borrowing the app skeleton from Bitwise Harmony.