Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Chee Aun 🤔
Chee Aun 🤔
@cheeaun@mastodon.social  ·  activity timestamp 3 weeks ago

Almost freaked out when I saw this, thought it could be a new VSCode feature.

Turns out, it's a special ligature feature of the Maple Mono font https://font.subf.dev/

Your browser does not support the video tag.
GIF
GIF
Open
Demo of special ligatures of Maple Mono font, converting text like "[DEBUG]" to look like a tag.
GIF
  • Copy link
  • Flag this post
  • Block
。゚・\m\(>Д<#)/m/・゚。
。゚・\m\(>Д<#)/m/・゚。
@dada78641@mastodon.social  ·  activity timestamp 3 weeks ago

@cheeaun Special programming ligatures are really awesome, but also for some reason I can never get used to them

  • Copy link
  • Flag this comment
  • Block
Quinn Comendant
Quinn Comendant
@com@mastodon.social  ·  activity timestamp 3 weeks ago

@cheeaun I remember my mind being blown by the syntax highlighting font. I had to read the article three times before understanding what was happening. https://blog.glyphdrawing.club/font-with-built-in-syntax-highlighting/

GlyphDrawing.Club -blog

Font with Built-In Syntax Highlighting

An experiment in javascript-free syntax highlighting, made possible by opentype contextual alternates and COLR table
  • Copy link
  • Flag this comment
  • Block
Linus Gasser
Linus Gasser
@ligasser@social.epfl.ch  ·  activity timestamp 3 weeks ago

@cheeaun I don't remember if the ligature feature is Turing complete. I thought you cannot do loops.

  • Copy link
  • Flag this comment
  • Block
Yuna
Yuna
@kaninchenliebhabende@fedifreu.de  ·  activity timestamp 3 weeks ago

@cheeaun I hope the ligature is part of a font variant that can be used in the terminal but not code 😭

  • Copy link
  • Flag this comment
  • Block
Chee Aun 🤔
Chee Aun 🤔
@cheeaun@mastodon.social  ·  activity timestamp 3 weeks ago

@kaninchenliebhabende i think it depends on the terminal's text renderer to support those ligatures.

  • Copy link
  • Flag this comment
  • Block
wakest ⁂ FOSDEM
wakest ⁂ FOSDEM
@liaizon@social.wake.st  ·  activity timestamp 3 weeks ago

@cheeaun this makes me think, I wonder if you could make a font that turns @usernames@server.tld into a pill, I guess it just depends on writing some super regex rules in your font or something

  • Copy link
  • Flag this comment
  • Block
Paco Hope is thankful
Paco Hope is thankful
@paco@infosec.exchange  ·  activity timestamp 3 weeks ago

@liaizon There’s a really solid write-up of how to do something like this using free tools. I love the font they made: Sans Bullshit Sans. https://pixelambacht.nl/2015/sans-bullshit-sans/
@cheeaun

#font #fonts

Sans Bullshit Sans: leveraging the synergy of ligatures – Pixelambacht

Front-end antics and typographic mischievousness
  • Copy link
  • Flag this comment
  • Block
Chee Aun 🤔
Chee Aun 🤔
@cheeaun@mastodon.social  ·  activity timestamp 3 weeks ago

@liaizon you mean in the composer?

  • Copy link
  • Flag this comment
  • Block
wakest ⁂ FOSDEM
wakest ⁂ FOSDEM
@liaizon@social.wake.st  ·  activity timestamp 3 weeks ago

@cheeaun yeah

  • Copy link
  • Flag this comment
  • Block
Chee Aun 🤔
Chee Aun 🤔
@cheeaun@mastodon.social  ·  activity timestamp 3 weeks ago

@liaizon it's already doable, without a custom font, if the composer is a WYSIWYG editor (X, Threads, Bsky, etc all use it) — pretty much allows you to style any chunks of text, though most just have simple styling for links, hashtags, etc.

Phanpy (and Mastodon web too) doesn't use it because WYSIWYG is… 😩

  • Copy link
  • Flag this comment
  • Block
derflocki
derflocki
@derflocki@phpc.social  ·  activity timestamp 3 weeks ago

@cheeaun that looks incredibly handy!

  • Copy link
  • Flag this comment
  • Block
fit check for my napalm era
fit check for my napalm era
@vyr@princess.industries  ·  activity timestamp 3 weeks ago

@cheeaun oh yeah Pragmata Pro has those log level ligatures too

  • Copy link
  • Flag this comment
  • Block
Chee Aun 🤔
Chee Aun 🤔
@cheeaun@mastodon.social  ·  activity timestamp 3 weeks ago

@vyr wow, that's a cool font. First time seeing Arabic/Hebrew/Cyrillic coding 😮

  • Copy link
  • Flag this comment
  • Block
Maythee A.
Maythee A.
@null@llun.dev  ·  activity timestamp 3 weeks ago

@cheeaun@mastodon.social 😮 You can embed those into a font!?

  • Copy link
  • Flag this comment
  • Block
Chee Aun 🤔
Chee Aun 🤔
@cheeaun@mastodon.social  ·  activity timestamp 3 weeks ago

@null yeah… there are coding fonts that does the usual fancy ligature stuff like convert -> to look like → (two chars, not one char) but this tag-like look is quite interesting 🤔

  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.2-alpha.34 no JS en
Automatic federation enabled
Log in
Instance logo
  • Explore
  • About
  • Members
  • Code of Conduct