[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Devel] Re: [Freetype] font family names
From: |
Angus Duggan |
Subject: |
[Devel] Re: [Freetype] font family names |
Date: |
Fri, 29 Dec 2000 18:04:06 -0800 |
David F. Newman writes:
>OK. I have discovered what I was missing. I did see those other
>name records with the langid = 0x0406 but they looked like 0 length
>
>Do you know how ttdump determined that the string was 2 byte
>chars? Are all name strings with Microsoft platform id's
>2 bytes, or does one have to look at the langid and determine
>if the language requires 2 byte chars, in this case 0x0406
>is TT_MS_LANGID_DANISH_DENMARK.
Look up the TT spec. 0x406 is a Language code, but the names also have a
platform and encoding type. Platform 3 is Microsoft, encoding 1 within that
namespace is Unicode, which is 2-byte (UTF-16) encoded. So are the Apple
Unicode and ISO 10646 Unicode entries. (1,0 and 2,0 I think.)
a.