[DVIPDFMx] (e)-upTeX support in dvipdfmx

TANAKA Takuji KXD02663 at nifty.ne.jp
Sat Sep 17 11:38:07 KST 2011


Dear all,

I am Takuji Tanaka (ttk), a upTeX developper.
I have attended the DVIPDFMX ML today.
Nice to meet you.

I would like to propose the attached patch.

> - euptex reencodes to UTF-8 "sometimes"

My upTeX patch reencodes UTF-8 to UTF-16
in spc_pdfm.c for hyperref .out files.
The procedure is as same as xdvipdfmx.
In the today's patch, I changed it
that it works only with a new command line option "-U".
Now, the un-compatibility problem is fixed.

In addition, My upTeX patch reencodes characters using set3
to UTF-16.
I think it never causes compatibility problem.


> Maybe CHAR_INDEX?
I have revised it according to Karl Berry's suggestion.
Since upTeX characters of char>0xFFFF always have char type "0" in tfm,
we don't need larger size of "map->indices[]".
I made "CHAR_INDEX()" function to save a memory.
In the today's patch, I tried clarifying it.

Best regards,
Takuji Tanaka (ttk)

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tl2011.diff5.txt
URL: <http://project.ktug.or.kr/pipermail/dvipdfmx/attachments/20110917/df324d44/attachment.txt>


More information about the dvipdfmx mailing list