summaryrefslogtreecommitdiff
path: root/src/ui/text.c
AgeCommit message (Collapse)Author
2020-11-20Text: Fixed font scaling of level 3 headingsJaakko Keränen
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-19Replaced Japanese font with Noto Sans CJK JPJaakko Keränen
Alas, a couple of megabytes larger than Kosugi Maru, but has better glyph coverage.
2020-11-18Render an Ideographic Space glyph using the Korean fontJaakko Keränen
IssueID #41
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-11-11Window: Create hidden to avoid shuffling position during launchJaakko Keränen
2020-11-05Full 8-bit ANSI palette for foreground colorsJaakko Keränen
2020-11-05CleanupJaakko Keränen
2020-11-04CleanupJaakko Keränen
Consistent code style.
2020-11-04ui: Fix line wrapping of emoticonsAlyssa 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-29Added a large UI fontJaakko Keränen
2020-10-29TextBuf: Fixed garbage in the backgroundJaakko Keränen
2020-10-28Fixed: Blend TextBuf only once when drawingJaakko Keränen
2020-10-22CleanupJaakko 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-12Normalizing long spaces to a tab stopJaakko 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-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-29CleanupJaakko Keränen
2020-09-29Text: Better readability with Fira SansJaakko Keränen
Increased Fira Sans line spacing, now more in line with Nunito.
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-09-12Text: Slightly fewer render target switchesJaakko Keränen
2020-09-05Text: Fixed the minor optimizationJaakko Keränen
2020-09-05Text: Minor optimizationJaakko Keränen
No need to check for word boundaries if wrapping is not being checked for.
2020-09-04Text: Heavier bold fontJaakko Keränen
2020-09-03Text: FixesJaakko Keränen
2020-09-03Text: Keep a cache of common glyph indicesJaakko Keränen
2020-09-03Text: 16-bit glyph cache; check maximum texture sizeJaakko Keränen
2020-09-03Changed default font to NunitoJaakko Keränen
Nunito is licensed under OFL.
2020-09-02Text: Workaround for Raspberry Pi issueJaakko Keränen
2020-09-01Text: Fixed color escape ASCII overflowJaakko Keränen
2020-08-24Initialize RegExpMatchesJaakko Keränen
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-18Adjusted UI content text sizeJaakko Keränen
2020-08-18Added a larger content-friendly UI fontJaakko Keränen
Mostly for sidebar contents.
2020-08-18Render target switchingJaakko Keränen
2020-08-16Added Pure Black and Pure White themesJaakko 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-15Text: Emoji selector ignoredJaakko Keränen
2020-08-14Text: Added a large UI fontJaakko Keränen
2020-08-09Text: Enforce spacing on monospaced fontsJaakko Keränen
2020-08-05Setting up document themingJaakko Keränen