RE: Re[4]: [xep-support] Does XEP support Chinese characters?

From: PIERRES@hthk.com
Date: Fri Apr 25 2003 - 03:11:58 PDT

  • Next message: Susan Korgen: "Re: [xep-support] Required "path" values for XEP?"

    Hi Alex,

    I know XEP currently not support double byte characters.
    But I just try to do some post-processing of XEP postscript output to
    fulfull our need.

    I am trying another way as a workaround.
    Let the chinese characters I tested before pretend to be an ascii string,
    and I encode the string in xml as follows:

    <fo:block>&#xA4;&#x6A;&#xA4;&#x70;&#xB3;&#x71;&#xA6;&#x59;</fo:block>

    but the postscript output is as follows:

    (\000¤\000j\000¤\000p\000³\000q\000¦\000Y)

    Every characters have a prefix character \000.
    If I removed all the \000 characters from the above string,
    the result matched the previous encoded string in XML.
    How could you prevent the \000 characters output as above?

    I wish my questions won't bother you too much.

    Pierre So

    -----Original Message-----
    From: Alexander Peshkov [mailto:peshkov@renderx.com]
    Sent: Friday, April 25, 2003 4:50 PM
    To: PIERRES@hthk.com
    Subject: Re[4]: [xep-support] Does XEP support Chinese characters?

    Hello Pierre,

    Unfortunately, as I mentioned in my previous letter, two byte
    encodings are not supported in XEP PostScript output yet. Please
    follow the announcements.

    Best regards,
    Alexander Peshkov mailto:peshkov@renderx.com
    RenderX

    Phc> Hello,

    Phc> Thanks for your helpful support!

    Phc> I found the problem of chinese output in pdf was solved.
    Phc> I downloaded the asia font pack for acrobat reader in www.adobe.com,
    Phc> and I choose using the open type font MSungStd-Light-Acro defined in
    Phc> fonts.xml.
    Phc> I found it's fine since the rendering speed was as normal and also the
    pdf
    Phc> size was small.

    Phc> But I still want to handle the chinese output for postscript.
    Phc> Because our postscript printer has some residential chinese fonts,
    Phc> I tried to use the same approach as the pdf one to generate a
    postscript
    Phc> file
    Phc> and then patch postscript file to replace the MSungStd-Light-Acro font
    name
    Phc> with the printer's chinese font name.
    Phc> But problem arised, I found the postscript file's chinese characters
    was
    Phc> different from the original .fo file one.
    Phc> I tried to put four chinese characters for test, i.e. ???? (in hex:
    A46A
    Phc> A470 B371 A659) which is in Big-5 encoding,
    Phc> Our printer's internal chinese font also use Big-5 encoding,
    Phc> but the characters in postscript file become "Y'\\\017 032T\003" (the
    Phc> middle two spaces are two nonprintable characters 90 5C in hex).

    Phc> Could I have any way to force the XEP not alter the chinese characters
    in
    Phc> the postscript output?

    Phc> Pierre So

    Phc> -----Original Message-----
    Phc> From: Alexander Peshkov [mailto:peshkov@renderx.com]
    Phc> Sent: Wednesday, April 23, 2003 9:59 PM
    Phc> To: PIERRES@hthk.com
    Phc> Subject: Re[2]: [xep-support] Does XEP support Chinese characters?

    Phc> Hello Pierre,

    Phc> It looks like a problem with font embedding. What kind of font are you
    Phc> using? Could you send me an except from your fonts.xml file related to
    this
    Phc> font? (you may send the whole file)

    Phc> Best regards,
    Phc> Alexander Peshkov
    mailto:peshkov@renderx.com
    Phc> RenderX

    Phc>> Hi David,

    Phc>> I have another issue about Chinese font.
    Phc>> I am not able to generate PDF file using Chinese TrueType font,
    Phc>> it always prompt me "There was an error processing a page. There was
    a
    Phc>> problem reading this document (122)" in acrobat reader.
    Phc>> But XEP has no error reported.
    Phc>> Could you have any ideas to solve it?

    Phc>> Thanks!
    Phc>> Pierre So

    Phc>> -----Original Message-----
    Phc>> From: David Tolpin [mailto:dvd@renderx.com]
    Phc>> Sent: Tuesday, April 22, 2003 9:03 PM
    Phc>> To: xep-support@renderx.com
    Phc>> Subject: Re: [xep-support] Does XEP support Chinese characters?

    >>>
    >>> Hi Alexander,
    >>>
    >>> Thanks for your reply!
    >>> But I could like to know when will XEP support double byte characters?
    >>>

    Phc>> Pierre,

    Phc>> we have been recently redesigned our Postscript backend in order
    Phc>> to make future enhancements possible. We will be working on more
    Phc>> features in Postscript output in the coming months.

    Phc>> David Tolpin
    Phc>> RenderX
    Phc>> -------------------
    Phc>> (*) To unsubscribe, send a message with words 'unsubscribe
    xep-support'
    Phc>> in the body of the message to majordomo@renderx.com from the address
    Phc>> you are subscribed from.
    Phc>> (*) By using the Service, you expressly agree to these Terms of
    Service
    Phc>> http://www.renderx.com/tos.html
    Phc>> -------------------
    Phc>> (*) To unsubscribe, send a message with words 'unsubscribe
    xep-support'
    Phc>> in the body of the message to majordomo@renderx.com from the address
    Phc>> you are subscribed from.
    Phc>> (*) By using the Service, you expressly agree to these Terms of
    Service
    Phc> http://www.renderx.com/tos.html

    Phc> -------------------
    Phc> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    Phc> in the body of the message to majordomo@renderx.com from the address
    Phc> you are subscribed from.
    Phc> (*) By using the Service, you expressly agree to these Terms of Service
    Phc> http://www.renderx.com/tos.html
    Phc> -------------------
    Phc> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    Phc> in the body of the message to majordomo@renderx.com from the address
    Phc> you are subscribed from.
    Phc> (*) By using the Service, you expressly agree to these Terms of Service
    http://www.renderx.com/tos.html

    -------------------
    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to majordomo@renderx.com from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service
    http://www.renderx.com/tos.html
    -------------------
    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to majordomo@renderx.com from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



    This archive was generated by hypermail 2.1.5 : Fri Apr 25 2003 - 03:14:10 PDT