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
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
Works flawlessly, thank you!
Here's a demo with left and right speech bubbles:
\definefont [TextFontEmoji] [OpenSansEmoji]
\startuseMPgraphic{TextBubble}{side}
z1 = (0, 0) ;
z2 = (OverlayWidth, 0) ;
z3 = (OverlayWidth, OverlayHeight) ;
z4 = (0, OverlayHeight) ;
offset := 1 ;
tail
On 4/7/22 19:50, Thangalin via ntg-context wrote:
> Appreciated, Pablo.
>> The output remains unjustified:
>
> https://i.ibb.co/dM9LFWZ/future-human.png
>
> $ find /usr/share/fonts/ -name "*Emoj*"
> /usr/share/fonts/emoji/OpenSansEmoji.otf
Sorry, I gave you the wrong direction.
The OTF version
Appreciated, Pablo.
The output remains unjustified:
https://i.ibb.co/dM9LFWZ/future-human.png
$ find /usr/share/fonts/ -name "*Emoj*"
/usr/share/fonts/emoji/OpenSansEmoji.otf
$ context --version
mtx-context | current version: 2022.04.01 09:37
$ cat ~/bin/fontcache
#!/usr/bin/env bash
On 4/5/22 03:16, Thangalin via ntg-context wrote:
>> The font is too old, but the TTF version works just fine on both Linux
>> and Windows.
>
> No dice with LMTX 2022.04.01 09:37 and the TTF file. Using the TTF,
> the emojis don't appear, but the text is justified. Using the OTF, the
> emojis
> The font is too old, but the TTF version works just fine on both Linux
> and Windows.
No dice with LMTX 2022.04.01 09:37 and the TTF file. Using the TTF,
the emojis don't appear, but the text is justified. Using the OTF, the
emojis appear, but the text is unjustified.
What version of ConTeXt
On 4/4/22 08:40, Henning Hraban Ramm via ntg-context wrote:
> Am 04.04.22 um 01:21 schrieb Thangalin via ntg-context:
>> [...]
>> The .otf file is from:
>>
>> https://github.com/MorbZ/OpenSansEmoji
>
> That’s 9 years old. The linked resources were updated later and are
> still outdated. There must
Hi again,
> > The .otf file is from:
> > https://github.com/MorbZ/OpenSansEmoji
>
> That’s 9 years old. The linked resources were updated later and are
> still outdated. There must be a better Emoji font out there?
You would think so. I haven't found any that are free for
personal/commercial,
Am 04.04.22 um 01:21 schrieb Thangalin via ntg-context:
Confirmed there is a font issue with LMTX.
$ context --version
mtx-context | current version: 2022.04.01 09:37
The issue was also present with version 2021.11.30.
Are you sure it's not a tolerance issue?
Pablo's example also
Confirmed there is a font issue with LMTX.
$ context --version
mtx-context | current version: 2022.04.01 09:37
The issue was also present with version 2021.11.30.
> Are you sure it's not a tolerance issue?
Pablo's example also doesn't justify, so \framedtext is a red herring.
The .otf
On 4/3/22 02:36, Thangalin via ntg-context wrote:
> Hi all,
> [...]
> How would you ensure that both text areas remain fully justified?
I think (at least) LMTX has an issue with the font:
\definefontfamily [TextEmoji] [rm] [OpenSansEmoji]
\setupbodyfont [TextEmoji]
\starttext
\input
On Sat, 2 Apr 2022 17:36:35 -0700
Thangalin via ntg-context wrote:
> The following code produces framed text areas, each having different
> justification:
>
> […]
> How would you ensure that both text areas remain fully justified?
I don't have that Emoji font, but replacing it with other
Hi all,
The following code produces framed text areas, each having different
justification:
\definefont [TextFontEmoji] [OpenSansEmoji]
\definefontfamily [TextFont] [rm] [LibreBaskerville]
\setupbodyfont [TextFont]
\starttext
\startframedtext
\TextFontEmoji
\input ward
14 matches
Mail list logo