Re: [css3-text] script-specific functionality

On 04/08/2011 10:47 AM, Tab Atkins Jr. wrote:
> On Fri, Apr 8, 2011 at 10:38 AM, fantasai<fantasai.lists@inkedblade.net>  wrote:
>>>> I suggest we remove the 'text-outline' property -- 'text-shadow'
>>>> should cover it.
>>>
>>> I don't have answer to this question, sorry again -- fantasai?
>>
>> I have no problem with that. It was even marked as a suggestion in the
>> draft already. ;)
>
> I'd disagree with this - text-shadow isn't an adequate replacement for
> a real outline/stroke.  Shadows do a half-job, but you need 4 or 8
> shadows in your code to do it, and they lose detail in a way that's
> pretty bad for some fonts.
>
> Brad had a really good diagram showing the distinction between shadow
> and outline, and just how much better a real outline looks in some
> situations.

The 'text-outline' property wasn't about stroking the letters. It did
exactly the same thing as spread on text shadows. Although it could be
argued that it should keep corners sharp rather than rounding them, it
doesn't encroach on the glyph face, only paints around it.

Here's an illustration of the effect:
   http://www.fireworkszone.com/tuts/626/thicktextoutline_1.gif
The text outline is the white part.

The effect is especially popular in East Asia, but was originally
requested for subtitles on TV. (Providing a contrasting backdrop around
the edges of the letter makes it easier to see.)

~fantasai

Received on Friday, 8 April 2011 18:06:23 UTC