[NTG-context] Switching fonts changes framedtext justification

Thangalin thangalin at gmail.com
Fri Apr 8 21:41:03 CEST 2022

I certainly can't claim credit for the speech bubbles!


I modified Wolfgang's code to provide a control for the tail, and,
thanks to Pablo, a decent font for embedding emojis.

There are a couple of problems with the speech bubbles that could use
fixing. First, the ability to have a fixed offset for the tail (e.g.,
2 em from the left and 2 em from the right). Second, when the speech
bubble is too short (e.g., a single emoji), the tail gets mangled.

Here's a screenshot showing speech bubbles using annotated Markdown:


The ::: bubbletx eventually becomes a startbubbletx/stopbubbletx pair.


On Fri, Apr 8, 2022 at 12:27 AM Henning Hraban Ramm via ntg-context
<ntg-context at ntg.nl> wrote:
> Am 08.04.22 um 02:25 schrieb Thangalin via ntg-context:
> > Works flawlessly, thank you!
> >
> > Here's a demo with left and right speech bubbles:
> Thank you for the speech bubbles! This is something I need for the
> messenger chats in my novel. Will be a good learning experience to adapt
> your solution to my ideas.
> Hraban
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

More information about the ntg-context mailing list