💾 Archived View for bbs.geminispace.org › u › lufte › 950 captured on 2023-07-22 at 17:50:21. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
Re: "[gemini link] Visual Gemtext Primer I created a visual..."
@michaelnordmeyer Huh, I did mean that repo but I didn't know it was abandoned. It looks like work is happening in another repo or privately.
2023-05-24 · 8 weeks ago
@mozz I'm not sure I understand what you mean. I'm pro context-free rendering. So compacting multiple lines would be bad.
Right, I think we're on the same wavelength here. I was just elaborating my thoughts behind it for the sake of discussion.
What I meant was inline whitespace. What happens to a text line, where I have two spaces in a row? What happens with quotes regarding ">" vs. "> "? In this case, Geopard, the Gnome-native Gemini browser, used to indent a quote by a space, but the wrapped line beginning was not indented.
My take on how it 'ought to be matches the implementation that you are describing for Geopard. That's how I did it on my proxy server. For example, the quote on this page preserves the leading whitespace, but does not indent wrapped lines.
https://portal.mozz.us/gemini/astrobotany.mozz.us/
2023-05-25 · 8 weeks ago
@lufte Found the current repo. It was a little hidden in the official FAQ: git://gemini.circumlunar.space/gemini-site
@michaelnordmeyer:
What happens to a text line, where I have two spaces in a row?
The specification says that spacing in text lines can be normalized, so it's up to the client what happens there. The spaces can be normalized to one space, or they can be kept as multiple.
@skyjake The exact wording is not excatly clear. From the spec:
For example, variable width fonts may be used, spacing may be normalised, with spaces between sentences being made wider than spacing between words, and other such typographical niceties may be applied.
It can also mean, that just the space between sentences can be varied with unicode spaces of different length.
Given that Gemini is a modernized Gopher, and Solderpunk uses tabs to align his links, normalization of inline whitespace could very well be the goal.
[gemini link] Visual Gemtext Primer I created a visual Gemtext primer some months ago to spot the difference in the rendering of Gemtext pages with different browsers. Today I added a section at the bottom, because some clients behave differently and the spec is not very clear about this. What's your take?
💬 michaelnordmeyer · 11 comments · 1 like · 2023-05-24 · 8 weeks ago