W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2006

[whatwg] Still beating the drawString() dead horse...

From: Stefan Haustein <sh@kobjects.org>
Date: Tue, 14 Nov 2006 14:29:44 +0100
Message-ID: <4559C4C8.3040400@kobjects.org>
Arve Bersvendsen wrote:
> drawElement() is hardly unpractical, bloated or overkill, since it's 
> actually probably the only way to get _somewhat_ predictable rendering 
> of text, pioneered by almost 10 years of CSS. 
> drawString() reintroduces the unpredictability of font and layout 
> differences without attempting to solve any of the problem.

Hi Arve,

sometimes it is a good thing not to try to solve all problems at once, 
in particular in API design.

drawElement() is actually not any little bit more predictable than 
drawString(). If you disagree, please be specific.

I have seen no use case for drawElement() mentioned here, but I have 
provided lots of use cases for drawString() where drawElement would be 
inappropriate.

Best regards,
Stefan
Received on Tuesday, 14 November 2006 05:29:44 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:30 UTC