>   * The second step, namely to create the protrusion settings, is by
> far more difficult. Somebody would have to write files for each font
> family (e.g. mt-song.cfg), containing the settings derived from
> carefully checking for all symbols how much they should be protruded
> into the margin; this takes time.

Actually, this is quite easy, since only a very limited set of CJK
punctuation characters can protude (less than 20 characters, I think).

> Then, I am not sure how to reference the symbols: the (technically)
> simplest possibility would be to just write out the slot numbers
> from the fonts numerically -- not very user-friendly, since it would
> involve finding out those numbers in the first place;

This is done in CJK already, so it's not necessary to have a better
interface.  Note that *all* CJK fonts of a given encoding, regardless
of the family or shape, would use the same set of protruding
punctuation characters.  The protrusion amount would be (slightly)
different, however.

> Furthermore, microtype doesn't yet account for the so-called planes
> that CJK adds to the NFSS, hence changes to my package would also be
> necessary.

This is rather straightforward: For a given CJK encoding like C00 or
C10, you have a set of subfont postfixes, each one normally consisting
of two trailing decimal digits.  Here some standard examples, always
assuming a font name `foo':

  C00 (Big 5 encoding):
    foo01, foo02, ..., foo58
  C40 (JIS X 0208 encoding):
    foo01, foo02, ..., foo35

And here some non-standard ones:

  C42 (JIS X 0208 encoding with DNP subfonts):
    foosy, fooroma, ..., fookeisen, fooka, fookb, ..., fookz
  C70 (Unicode encoding with Unicode subfonts):
    foo00, ..., fooff, foo0100, ..., foo10ff

Note that CJK punctuation characters are located only in very few
planes; for example, only planes `30', `fe', and `ff' in C70 are used
-- this is three planes out of 4370).


   Werner

_______________________________________________
Cjk maillist  -  [email protected]
https://lists.ffii.org/mailman/listinfo/cjk

Reply via email to