issues scaling glyphs of Twemoji Mozilla
Dear list, I have the following sample: \definefontfamily[mainface][rm][TeX Gyre Termes] \definefontfamily[mainface][cg][Twemoji Mozilla][features={color}] \setupbodyfont[mainface] \starttext \scale[width=30em]{a} \scale[width=30em]{\cg 🇬🇧} \stoptext Using current latest from both MkIV and LMTX, I cannot scale the emoji flag. Latest font release can be directly download from https://github.com/mozilla/twemoji-colr/releases/latest/download/Twemoji.Moz.... Am I missing something to scale the glyph properly? Many thanks for your help, Pablo
On 3/2/2024 1:46 PM, Pablo Rodriguez via ntg-context wrote:
Dear list,
I have the following sample:
\definefontfamily[mainface][rm][TeX Gyre Termes] \definefontfamily[mainface][cg][Twemoji Mozilla][features={color}] \setupbodyfont[mainface] \starttext \scale[width=30em]{a} \scale[width=30em]{\cg 🇬🇧} \stoptext
Using current latest from both MkIV and LMTX, I cannot scale the emoji flag.
Latest font release can be directly download from https://github.com/mozilla/twemoji-colr/releases/latest/download/Twemoji.Moz....
Am I missing something to scale the glyph properly? You're missing the fact that the font has an issue. I can add a workaround, assuming that (as often) issues become features.
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
On 04/03/2024 09:08, Hans Hagen via ntg-context wrote:
You're missing the fact that the font has an issue. I can add a workaround, assuming that (as often) issues become features.
A useful feature, if it not already exists, might be a tool to detect whether a font has issues. That can help isolate unexpected behavior. .F
On 3/4/24 09:08, Hans Hagen via ntg-context wrote:
On 3/2/2024 1:46 PM, Pablo Rodriguez via ntg-context wrote:
[...] Using current latest from both MkIV and LMTX, I cannot scale the emoji flag.
Latest font release can be directly download from https://github.com/mozilla/twemoji-colr/releases/latest/download/Twemoji.Moz....
Am I missing something to scale the glyph properly? You're missing the fact that the font has an issue. I can add a workaround, assuming that (as often) issues become features.
Many thanks for your fix, Hans. Pablo
participants (3)
-
Hans Hagen
-
Pablo Rodriguez
-
vm