Re: [NTG-context] Switching fonts changes framedtext justification

2022-04-08 Thread Thangalin via ntg-context
I certainly can't claim credit for the speech bubbles!

https://wiki.contextgarden.net/index.php?title=Speech_bubble
https://mailman.ntg.nl/pipermail/ntg-context/2011/056496.html

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:

https://github.com/DaveJarvis/keenwrite/releases

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

Greets!

On Fri, Apr 8, 2022 at 12:27 AM Henning Hraban Ramm via ntg-context
 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@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
> ___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@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
___


Re: [NTG-context] Switching fonts changes framedtext justification

2022-04-08 Thread Henning Hraban Ramm via ntg-context

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@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
___