Show newer

The BiDi quest continues.

I now have the ability to wrap an entire paragraph in one go while also having FriBidi tell me the directions.

My initial attempt is going badly. Wrapping the entire paragraph in visual order means that the first wrapped line covers the end of the paragraph.

Back to the drawing board… Seems like wrapping needs to be done in logical order and only the drawing in visual order.

Show thread

It's a bit of a challenge to call FriBidi at the right time. I'll need to refactor the document layout somewhat so the text renderer has visibility to the full paragraph and can process it in one go. At the moment it's more of a line-based operation, which makes it more challenging to apply alignment (and justification).

Show thread

Looks like FriBidi is doing its thing!

(i.e., applying the Unicode Bidirectional Algorithm)

Still need to optimize the text handling a bit to avoid repeated processing of static strings, e.g., UI labels. Text selection is also a bit wonky over RTL runs...

HarfBuzz & FriBidi mean a big step forward in supporting complex scripts. The final big issue remaining is expanding the collection of available fonts.

Show thread

After a while it became evident that trying to write my own text shaping engine would be a monumental project of its own. And since HarfBuzz already exists, quite a waste a time...

So I've gradually been integrating HarfBuzz into Lagrange's text renderer. There are still a few issues with the current set of fonts not containing all combining glyphs.

Next step: FriBidi for dealing with RTL scripts.

Show thread
skyjake boosted

Call for smolZINE Contributions 

Would like to get some cool gemini capsule recommendations, short essays, poetry, or whatever you feel like contributing to the smolZINE. I can fill out each issue on my own but having more diverse perspectives will make it more interesting for everyone I think. If you're interested contact me ( smolzine [at] cyberbot.space ).

Boosts appreciated.

is now available as an official Homebrew cask on macOS. 🍺🎉

This is by far the most convenient way to keep the app updated on your Mac.

Fancy a custom UI theme? 😎

In v1.6, UI colors can be customized via a config file.

There is a new iOS TestFlight build with significant improvements: swipe navigation, opening files, and MP3 audio control. Many of the internal changes will be coming to the desktop in v1.6 as usual.

Gemlog post & change log:

gemini://skyjake.fi/gemlog/202
gmi.skyjake.fi/gemlog/2021-06_

v1.5.2 is available:

github.com/skyjake/lagrange/re

This patch contains various small tweaks:
- fixed importing certs via Ctrl/Cmd+V
- workaround for decomposited Unicode characters
- StartupWMClass in .desktop file
- recognize a couple new custom link icons
- more Smol Emoji

I like this part of debugging where I get to listen to @konpeito for an extended period of time to see whether will start overheating my phone CPU. 🎵🎧

Apple is working towards iCloud Keychain backed public-key-based credentials to replace passwords.

Sounds good! client certs demonstrate that crypto-based user authentication is a great solution. Having a secure store for the keys/certs is essential, though.

developer.apple.com/videos/pla

skyjake boosted

Resource update for v1.5:

github.com/skyjake/lagrange/re

This patch has updated UI translations and a couple of new Smol Emoji glyphs.

Exploring the bleeding edge of network protocols from the 70s: skyjake.fi now serves Finger.

In your terminal: finger jaakko@skyjake.fi

👉 finger://skyjake.fi/jaakko

No idea if I remember to keep this updated. Could always integrate it somehow into the Gemini site. 🤔

Haven’t had time to sit at the computer since Tuesday thanks to a mini vacation. These “forced” breaks do help with getting out of whatever groove I was in and looking at things with a fresh perspective. I’ll probably end up reshuffling my todo list when I resume work again.

That Eagle is a wee bit too detailed to be "smol" but it looks pretty cool. It's based on Apple's Emoji so not an original design... ☺️

Show thread

🦆 My new font project now has a Git repository: codeberg.org/skyjake/smol-emoj

The test page shows that a quarter of Emojis are currently missing in Lagrange: gemini://skyjake.fi/smol-emoji

@Sandra

v1.5 is now available with several UI improvements.

gmi.skyjake.fi/gemlog/2021-05_
gemini://skyjake.fi/gemlog/202

- improved identity management
- multi-line text input
- query response length indicator
- animated sidebars and dialogs
- custom fallback font
- Gempub navigation

skyjake boosted
Show older

skyjake's choices:

skyjake.fi

skyjake's personal Mastodon instance