W3C home > Mailing lists > Public > www-style@w3.org > April 2013

Re: Applying gradients to text

From: irfan mir <theirf@gmail.com>
Date: Sun, 14 Apr 2013 02:44:12 -0400
Message-ID: <CAMPj_Rq-WyeODnvGN07gFgH191=shmnOu_yT35JAYXS=yJ2XyQ@mail.gmail.com>
To: "Tab Atkins, Jr." <jackalmage@gmail.com>
Cc: www-style@w3.org, Dirk Schulze <dschulze@adobe.com>
Yes, you are correct. I don't know why I thought there was a fill element.
My mistake. Apologies.

+Irfan.
On Apr 14, 2013 2:38 AM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote:

> On Sat, Apr 13, 2013 at 11:36 PM, irfan mir <theirf@gmail.com> wrote:
> > Hmm, I didn't know that that was how most graphic libraries fill text.
> > Now, that I think about it, it is how to fill text in SVG. Well, SVG
> creates
> > the shape and then applies the fill on the inside to the outside.
>
> No, it's not.  To fill text in SVG, you just use the 'fill' property
> on a <text> element.  That determines the bounding box of the text,
> sizes the image accordingly, and paints it into the text.
>
> ~TJ
>
Received on Sunday, 14 April 2013 06:44:39 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:10 UTC