Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-11-04 | Cleanup | Jaakko Keränen | |
Consistent code style. | |||
2020-11-04 | ui: Fix line wrapping of emoticons | Alyssa Rosenzweig | |
While we do want to have special handling of punctuation to help wrap pathologically-long-hyphenated-words-that-go-on-for-kilometers, we don't want to wrap emoticons, so let's adjust the logic to account for this. While we're at it, clean up and add a comment explaining the logic for the benefit of future readers. Fixes rendering of a recent post on CAPCOM at certain window sizes => gemini://rosenzweig.io/lagrange/Before.png Before the change => gemini://rosenzweig.io/lagrange/After.png After the change Notice the wrapping of the ":D" in the second paragraph. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> | |||
2020-10-29 | Added a large UI font | Jaakko Keränen | |
2020-10-29 | TextBuf: Fixed garbage in the background | Jaakko Keränen | |
2020-10-28 | Fixed: Blend TextBuf only once when drawing | Jaakko Keränen | |
2020-10-22 | Cleanup | Jaakko Keränen | |
2020-10-22 | Added "Nanum Gothic" as a Korean font | Jaakko Keränen | |
This overrides Kosugi Maru as it looks a bit nicer, in case there are glyphs available in both. | |||
2020-10-12 | Normalizing long spaces to a tab stop | Jaakko Keränen | |
Experimenting with terminal friendly space normalization where sometimes multiple spaces are used to align content horizontally (with a fixed-width font). When encountering 8 or more consecutive spaces, they are all replaced with a single tab character. Gemtext allows clients to normalize whitespace as they see fit. | |||
2020-10-11 | Text: Font tuning | Jaakko Keränen | |
2020-10-11 | Added a preference for heading font | Jaakko Keränen | |
Body and heading fonts can be selected separately. | |||
2020-10-11 | Added two serif fonts; minor color tweaks | Jaakko Keränen | |
Added the EB Garamond and Literata fonts as serif font choices. | |||
2020-09-29 | Cleanup | Jaakko Keränen | |
2020-09-29 | Text: Better readability with Fira Sans | Jaakko Keränen | |
Increased Fira Sans line spacing, now more in line with Nunito. | |||
2020-09-25 | Document side elements; hover outline | Jaakko Keränen | |
2020-09-22 | Drawing with alpha blending | Jaakko Keränen | |
2020-09-21 | Text: Using Unicode symbols in monospace | Jaakko 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-20 | Text: Japanese font sized for UI text | Jaakko Keränen | |
This font is needed for example for tab titles where there are japanese glyphs. | |||
2020-09-20 | Text: Slightly smaller first paragraph font size | Jaakko Keränen | |
Added a new 1.2x font size and use it for first paragraphs. | |||
2020-09-13 | Added Kosugi Maru for Japanese text | Jaakko Keränen | |
Kosugi Maru is from Google Fonts and licensed used Apache License 2.0. | |||
2020-09-12 | Text: Slightly fewer render target switches | Jaakko Keränen | |
2020-09-05 | Text: Fixed the minor optimization | Jaakko Keränen | |
2020-09-05 | Text: Minor optimization | Jaakko Keränen | |
No need to check for word boundaries if wrapping is not being checked for. | |||
2020-09-04 | Text: Heavier bold font | Jaakko Keränen | |
2020-09-03 | Text: Fixes | Jaakko Keränen | |
2020-09-03 | Text: Keep a cache of common glyph indices | Jaakko Keränen | |
2020-09-03 | Text: 16-bit glyph cache; check maximum texture size | Jaakko Keränen | |
2020-09-03 | Changed default font to Nunito | Jaakko Keränen | |
Nunito is licensed under OFL. | |||
2020-09-02 | Text: Workaround for Raspberry Pi issue | Jaakko Keränen | |
2020-09-01 | Text: Fixed color escape ASCII overflow | Jaakko Keränen | |
2020-08-24 | Initialize RegExpMatches | Jaakko Keränen | |
2020-08-23 | Build option to disable kerning; other optimizations | Jaakko Keränen | |
2020-08-22 | Added BSD 2-clause license and copyright notices | Jaakko Keränen | |
2020-08-21 | Experimenting with text art | Jaakko Keränen | |
Convert glyph bitmaps to Unicode block characters | |||
2020-08-18 | Adjusted UI content text size | Jaakko Keränen | |
2020-08-18 | Added a larger content-friendly UI font | Jaakko Keränen | |
Mostly for sidebar contents. | |||
2020-08-18 | Render target switching | Jaakko Keränen | |
2020-08-16 | Added Pure Black and Pure White themes | Jaakko Keränen | |
Font changes cause window redrawing to pause so document layout doesn’t get an intermediate update with a different width. Sheets are mouse-modal. | |||
2020-08-15 | Text: Emoji selector ignored | Jaakko Keränen | |
2020-08-14 | Text: Added a large UI font | Jaakko Keränen | |
2020-08-09 | Text: Enforce spacing on monospaced fonts | Jaakko Keränen | |
2020-08-05 | Setting up document theming | Jaakko Keränen | |
2020-08-04 | Added a large light font for the site banner | Jaakko Keränen | |
2020-08-04 | Changing the document content text size | Jaakko 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-04 | Remember scroll positions on visited pages | Jaakko Keränen | |
2020-08-02 | Flag for tight label padding; aligning labels visually | Jaakko Keränen | |
2020-07-31 | Text: Removing the baseline offset hack | Jaakko Keränen | |
2020-07-31 | Use the full Symbola font; don't embed resources | Jaakko Keränen | |
The fonts are too large to embed comfortably. | |||
2020-07-30 | More readable italic font | Jaakko Keränen | |
Thin fonts are nice but not very legible. | |||
2020-07-30 | Text: Improved glyph cache allocator | Jaakko Keränen | |
Tighter row packing by collecting glyphs of similar height to the same rows. | |||
2020-07-29 | Text: More word wrapping characters | Jaakko Keränen | |