Hi Edward, Werner,
the statement that microtype `works with CJK' basically means that
nothing should break when using both packages at the same time... For
lack of fonts and of my understanding of CJK, I've never actually tried
it out. Getting microtypography really to work would involve two steps:
* Firstly, and this is the easy part, you have to add the CJK
encodings to the microtype font sets, eg.:
\DeclareMicrotypeSet{chinese}
{ encoding = {C00,C01,...} }
\microtypesetup{protrusion=chinese,expansion=chinese}
For expansion, which doesn't demand character-specific settings, this
should work with pdftex (if you are using a non-Type1 font, it requires
at least version 1.40).
* 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. 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; if CJK uses some standard form of LICR representation, that
may work, too; whether Unicode input would work, I confess I have no
idea... 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. Unfortunately, I don't have any CJK fonts available, and
therefore cannot test it. So, if someone could provide me with some
fonts for testing (and maybe even some test files, too), this would help
a great deal.
But, as if this weren't problems enough, I must say that I have
absolutely no time in the next four weeks... Nevertheless, I would of
course be very much interested in making microtype available to the CJK
users.
Best regards,
Robert
On 02.11.2008 10:44 Uhr, Werner LEMBERG wrote:
>> microtype also seems to work with CJK
>> ...
>>
>> but I don't know what kind of encoding/family of CJK font should
>> use.
>
> As I've said already: microtype must be set up accordingly to be
> supported! Please contact the author of this package how to do write
> one or more proper mt-XXX.cfg files; I've never played around with it.
>
>
> Werner
>
_______________________________________________
Cjk maillist - [email protected]
https://lists.ffii.org/mailman/listinfo/cjk