Re: XLFD glyph ranges

From: Markus Kuhn (Markus.Kuhn@cl.cam.ac.uk)
Date: Sun Apr 11 1999 - 17:54:18 EDT


Mark Leisher wrote on 1999-04-11 21:09 UTC:
> Erik> How about a font property that contains the glyph ranges? I have not
> Erik> seen any specs for such a property, but I have seen a system that
> Erik> returned a property with a name that sounded like this. Maybe it was
> Erik> CHARACTER_SET_RANGES or something? I can try to find this again if
> Erik> needed...
>
> Glyph ranges in XLFD names are specified as integers like "160_190 65" (the
> glyphs encoded between 160 and 190 inclusive and the glyph at 65).

I don't think this will be a good idea in Unicode. The ranges that
my 6x13 font implements are:

# Plane 00
# Rows Positions (Cells)

  00 20-7E A0-FF
  01 00-F5 FA-FF
  02 00-17 50-A8 B0-DE E0-E9
  03 74-75 7A 7E 84-8A 8C 8E-A1 A3-CE D0-D6 DA DC DE E0 E2-F3
  04 01-0C 0E-4F 51-5C 5E-82 90-C4 C7-C8 CB-CC D0-EB EE-F5 F8-F9
  05 31-56 59-5F 61-87 89 BE C0 C3 D0-EA F0-F4
  10 D0-F6 FB
  1E 00-9B A0-F9
  1F 00-15 18-1D 20-45 48-4D 50-57 59 5B 5D 5F-7D 80-B4 B6-C4 C6-D3
  1F D6-DB DD-EF F2-F4 F6-FE
  20 00-0A 10-27 30 32-46 70 74-8E A0-AC
  21 00-32 34-38 53-65 68-6A 6C-75 78-7A 7C-81 90-99 9E-AC AF-CC D0-D5
  21 DA-DB DE-EA
  22 00-2F 31-D7 DA-F1
  23 00 02-7A
  24 00-24 40-4A 60-72 74-86 EA
  25 00-07 0A-95 A0-A3 AA-CC CF-EF
  26 00-13 21 25-2A 2D 30-37 39-4F 52 59 5F-66 69-6F
  27 01-04 06 08 13-20 22-27 29-38 3B-3F 43-4B 4D 4F-52 56 58-5E 61-66
  27 76-94 98-A1 A4-A7 B2 B4-BE
  FB 00-06 1F-20 29-36 38-3C 3E 40-41 43-44 46-4F
  FF 61-9F FD

# Number of characters in above table: 2833

I don't think you want to put that into an X Logical Font Descriptor
(XLFD) name. The beasts are long enough as they are ...

Markus

-- 
Markus G. Kuhn, Computer Laboratory, University of Cambridge, UK
Email: mkuhn at acm.org,  WWW: <http://www.cl.cam.ac.uk/~mgk25/>



This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:20:45 EDT