ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Thangalin via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Thangalin <thangalin@gmail.com>
Subject: Re: Switching fonts changes framedtext justification
Date: Fri, 8 Apr 2022 12:41:03 -0700	[thread overview]
Message-ID: <CAANrE7qjU8wpGHdpy5gDcs6Qs7gH_2vGYR_-kD6-PAFQHF2Lhw@mail.gmail.com> (raw)
In-Reply-To: <8df39a74-cd3b-bd28-f8d5-e133cbd9068b@fiee.net>

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
<ntg-context@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@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
___________________________________________________________________________________

      reply	other threads:[~2022-04-08 19:41 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-03  0:36 Thangalin via ntg-context
2022-04-03  8:30 ` Marco Patzer via ntg-context
2022-04-03  9:09 ` Pablo Rodriguez via ntg-context
2022-04-03 23:21   ` Thangalin via ntg-context
2022-04-04  6:40     ` Henning Hraban Ramm via ntg-context
2022-04-04 15:49       ` Thangalin via ntg-context
2022-04-04 15:53       ` Pablo Rodriguez via ntg-context
2022-04-05  1:16         ` Thangalin via ntg-context
2022-04-05 14:17           ` Pablo Rodriguez via ntg-context
2022-04-07 17:50             ` Thangalin via ntg-context
2022-04-07 19:41               ` Pablo Rodriguez via ntg-context
2022-04-08  0:25                 ` Thangalin via ntg-context
2022-04-08  7:26                   ` Henning Hraban Ramm via ntg-context
2022-04-08 19:41                     ` Thangalin via ntg-context [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAANrE7qjU8wpGHdpy5gDcs6Qs7gH_2vGYR_-kD6-PAFQHF2Lhw@mail.gmail.com \
    --to=ntg-context@ntg.nl \
    --cc=thangalin@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).