1. 13

Multil-color fonts using svg graphics

  1.  

  2. 11

    I can’t highlight text and oh god what have we done?

    1. 4

      yeah I see this more being used for like logos than say the text of a page, but we all know what gaudy ne'er do wells will do.

      1. 1

        If you are only using it for a few things on the page then I’m not sure why you wouldn’t just use an image SVG logo?

    2. 7

      One wonders what the perf. penalty for using this will be.

      1. 1

        At load time (network+parsing) I’d predict it to be roughly linear to the fonts filesize (as current fonts are).

        At render-time everything is on the GPU and you’re unlikely to be pressed for VRAM, so I’d expect it to be about even.

        All told, I suspect these fonts will be largely restricted to media sites which already take forever to load and contain a million adverts.

        1. 1

          Images? probably not going to help, SVG? probably less bad, I mean that’s what existing fonts are so I can’t imagine its too horrible.

          1. 1

            The size of the files can be considerably larger, even with SVG since you have basically arbitrary shapes and color information. This won’t be good for the already horrific mobile web.

            1. 1

              The size of the files can be considerably larger, even with SVG since you have basically arbitrary shapes and color information. This won’t be good for the already horrific mobile web.

              Arbitrarily large since you can have an arbitrarily large number of objects in an SVG. It’s a pretty weird argument though, since fonts can presently be composed with arbitrary shapes.

              1. 1

                My argument is compared to bitmaps. Yes, regular SVG fonts have arbitrary shapes. These have arbitrary gradients, etc in addition though. But still.

        2. 4

          A color font file is generally larger than a regular font file, and a lot more when the font embeds high-resolution bitmap characters.

          Whereas fonts usually weigh tens to a few hundred kilobytes, color vector fonts can reach hundreds of kilobytes to a couple megabytes depending on their visual complexity.

          Regions without high-speed internet get shafted yet again. This is not in the best interest of less privileged users.

          1. 2

            This is really quite neat! But, I’m not at all looking forward to the gratuitous use of it on mobile, and even on blog $X on the desktop.

            1. 1

              Seems like it will be useful for logo stuff - I assume you can create a ‘colour font’ with only the few characters that you need to use in your logo, then it won’t be much of a hit. Bloggy sites might use it to make their dropped caps a bit friendlier (some still use images/svg which does not play nice with the indexers).

              I can see people using this specifically for the SEO benefits, Google can now read your fancy logo type.