ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen via ntg-context <ntg-context@ntg.nl>
To: Thangalin via ntg-context <ntg-context@ntg.nl>
Cc: Hans Hagen <j.hagen@freedom.nl>
Subject: Re: Radial and linear gradients
Date: Wed, 14 Dec 2022 23:29:44 +0100	[thread overview]
Message-ID: <ea93dae9-c005-1e47-b2cb-67cdba2ffab0@freedom.nl> (raw)
In-Reply-To: <CAANrE7pDpdySMqMe4_uV7c+EfBKxJYwjC7watGTMSzU0rqM-Cg@mail.gmail.com>

On 12/14/2022 9:45 PM, Thangalin via ntg-context wrote:
> Inkscape can export the gradients to PDF.
> 
> I was hoping to eliminate Inkscape as an extra piece of software users
> have to download to make sure their SVG images are rendered correctly.
> By containerizing ConTeXt, MetaPost can be swapped for Inkscape, so
> users won't even know. It is, however, a minor duplication to have two
> programs that can convert SVG to PDF. (And Inkscape will bloat the
> container size.)
> 
> For my images, at least, gradients are one of the last features needed
> to render them correctly using MetaPost. The other is font rendering
> in some cases will be incorrect (e.g., try using Roboto with weight
> 100). If we have to use Inkscape to ensure tat all SVG images are

Also in the latest?

> rendered correctly, then we'd only want to use MetaPost if we know
> that the images don't contain gradients, or would you recommend
> avoiding MetaPost altogether for SVG conversion?
dunno, but that gradient is somewhat special so it then needs to be 
intercepted ... i'm currently not in svg mode so ... (variable color 
fonts have even wierder ones).

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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2022-12-14 22:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-14  4:46 Thangalin via ntg-context
2022-12-14  8:45 ` Hans Hagen via ntg-context
2022-12-14 20:45   ` Thangalin via ntg-context
2022-12-14 22:29     ` Hans Hagen 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=ea93dae9-c005-1e47-b2cb-67cdba2ffab0@freedom.nl \
    --to=ntg-context@ntg.nl \
    --cc=j.hagen@freedom.nl \
    /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).