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

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

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

2022-04-07 Thread Thangalin via ntg-context
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

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

2022-04-07 Thread Pablo Rodriguez via ntg-context
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

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

2022-04-07 Thread Thangalin via ntg-context
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

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

2022-04-05 Thread Pablo Rodriguez via ntg-context
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

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

2022-04-04 Thread Thangalin via ntg-context
> 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

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

2022-04-04 Thread Pablo Rodriguez via ntg-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

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

2022-04-04 Thread Thangalin via ntg-context
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,

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

2022-04-04 Thread Henning Hraban Ramm via ntg-context
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

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

2022-04-03 Thread 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 doesn't justify, so \framedtext is a red herring. The .otf

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

2022-04-03 Thread Pablo Rodriguez via ntg-context
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

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

2022-04-03 Thread Marco Patzer via ntg-context
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

[NTG-context] Switching fonts changes framedtext justification

2022-04-02 Thread Thangalin via ntg-context
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