Re: [Ltru] font features in CSS

Mark Davis ☕ <mark@macchiato.com> Fri, 30 October 2009 14:49 UTC

Return-Path: <mark.edward.davis@gmail.com>
X-Original-To: ltru@core3.amsl.com
Delivered-To: ltru@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6478F3A68C1 for <ltru@core3.amsl.com>; Fri, 30 Oct 2009 07:49:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.076
X-Spam-Level:
X-Spam-Status: No, score=-3.076 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, GB_I_LETTER=-2, HTML_MESSAGE=0.001, J_CHICKENPOX_34=0.6, MIME_8BIT_HEADER=0.3]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j+il-+P4kJAE for <ltru@core3.amsl.com>; Fri, 30 Oct 2009 07:49:30 -0700 (PDT)
Received: from mail-yw0-f183.google.com (mail-yw0-f183.google.com [209.85.211.183]) by core3.amsl.com (Postfix) with ESMTP id 58AE03A6883 for <ltru@ietf.org>; Fri, 30 Oct 2009 07:49:30 -0700 (PDT)
Received: by ywh13 with SMTP id 13so3127849ywh.29 for <ltru@ietf.org>; Fri, 30 Oct 2009 07:49:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=C9pAiQc5F8XQtnUIhRS5Ab7fUgMR5Uiam6nzWYWLUso=; b=AdBP4o36U2aQarIrdV8EPE/Okremz7VlKYs6Xrz8gIL3wHAt4ZKGQkgSYEenYOg2nt v86bLX81uRdR2kDr+4BvWJUIH9tJbMZHl9U9bnEreiKBzyqW2KI1qbR91gDm0ddsKLFu NIwkaE0Qv6lTY2pqBabNBY4sA7bwAEaDGfuh8=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=vCQmKCq3R4TB38IFRvsaE9Sw2hXUwxaGhbU2nnfJgJ6/x0zNlvX8LBkYYJqVgj0/yY gSkbgiCxxTaVLU1IXCguptX6fIqVKEYc4lIjUcoaAif7zhrSbpeaZ1kCQYDSUkaDlMSk 06Z1a3+/lJECZ5cYO9WFpbBxxxqVw4H+dQF8U=
MIME-Version: 1.0
Sender: mark.edward.davis@gmail.com
Received: by 10.101.129.6 with SMTP id g6mr1519617ann.161.1256914183477; Fri, 30 Oct 2009 07:49:43 -0700 (PDT)
In-Reply-To: <4AEAB1E3.50305@it.aoyama.ac.jp>
References: <19173.46660.701817.726727@gargle.gargle.HOWL> <CE2F61DA5FA23945A4EA99A212B157951D6CCD59B9@nambx03.corp.adobe.com> <49CB1917-6A69-448A-B619-644F8730940C@jfkew.plus.com> <4AEA91E9.4020708@twardoch.com> <4AEAB1E3.50305@it.aoyama.ac.jp>
Date: Fri, 30 Oct 2009 07:49:43 -0700
X-Google-Sender-Auth: 8bc9ae6b1e307552
Message-ID: <30b660a20910300749k34504520l142c256723c74e3f@mail.gmail.com>
From: Mark Davis ☕ <mark@macchiato.com>
To: "Martin J. Dürst" <duerst@it.aoyama.ac.jp>
Content-Type: multipart/alternative; boundary="001636c5bfb96b59e604772823cd"
Cc: Jonathan Kew <jonathan@jfkew.plus.com>, www-font <www-font@w3.org>, Håkon Wium Lie <howcome@opera.com>, www-style <www-style@w3.org>, Stephen Zilles <szilles@adobe.com>, LTRU Working Group <ltru@ietf.org>, "Adam Twardoch (List)" <list.adam@twardoch.com>
Subject: Re: [Ltru] font features in CSS
X-BeenThere: ltru@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Language Tag Registry Update working group discussion list <ltru.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ltru>, <mailto:ltru-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ltru>
List-Post: <mailto:ltru@ietf.org>
List-Help: <mailto:ltru-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ltru>, <mailto:ltru-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 30 Oct 2009 14:49:32 -0000

Agreed.

I'm guessing he meant zh-Latn-pinyin

(http://www.iana.org/assignments/language-subtag-registry)

Mark


On Fri, Oct 30, 2009 at 02:29, "Martin J. Dürst" <duerst@it.aoyama.ac.jp>wrote:

> Hello Adam,
>
> [cc to IETF LTRU WG]
>
> On 2009/10/30 16:12, Adam Twardoch (List) wrote:
>
>  III. LANGUAGE CLASSIFICATION
>>
>> All OpenType Layout features are assigned in a context of specific
>> script and language system. While the assignment of script is easy (the
>> engine can determine from the Unicode string which script a certain
>> character belongs to, and from there it can pick the appropriate
>> OpenType script branch to apply the features for), the language system
>> is trickier.
>>
>> As you can see from
>> http://www.microsoft.com/typography/otspec/languagetags.htm
>> OpenType uses a list of language systems that do not have a 1:1
>> correspondence with any of the ISO 639 standards. In OpenType 1.6 (at
>> the link above), an informational mapping of OpenType language system
>> tags and "best matches" in the ISO 639 standards has been provided. It
>> is quite obvious that a web browser that applies OpenType Layout
>> features should observe the HTML "lang" attribute and, if present, apply
>> the appropriate features from the particular language system branch in a
>> font (and only if absent, apply the features from the Default language
>> system within a script branch). But it might be worth considering to add
>> a low-level CSS access mechanism to allow users to choose a specific
>> OpenType language system, because some ISO 639 codes can map to several
>> OpenType language systems, e.g.
>>
>>                         (OT)    (ISO)
>> Chinese Hong Kong       ZHH     zho
>> Chinese Phonetic        ZHP     zho
>> Chinese Simplified      ZHS     zho
>> Chinese Traditional     ZHT     zho
>>
>
> HTML lang and XML xml:lang use BCP 47 (http://tools.ietf.org/html/bcp47,
> formerly RFC 1766/3066/4646) tags, not ISO 639 directly. BCP 47 uses
> two-letter codes (i.e. 'zh') and not three-letter codes (i.e. 'zho') when
> two-letter codes are available. Also, BCP 47 has facilities for indicating
> Region (country,...) with two-letter codes and for indicating script with
> four-letter codes. So the above list should be changed to:
>
>                        (OT)    (BCP 47)
> Chinese Hong Kong       ZHH     zh-HK
> Chinese Phonetic        ZHP     **
> Chinese Simplified      ZHS     zh-Hans
> Chinese Traditional     ZHT     zh-Hant
>
> ** not sure what's meant by Chinese Phonetic, may be zh-Latn (Latin
> transcription) or zh-Bopo (Bopomofo)?
>
> Regards,   Martin.
>
> --
> #-# Martin J. Dürst, Professor, Aoyama Gakuin University
> #-# http://www.sw.it.aoyama.ac.jp   mailto:duerst@it.aoyama.ac.jp
> _______________________________________________
> Ltru mailing list
> Ltru@ietf.org
> https://www.ietf.org/mailman/listinfo/ltru
>