in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Some Japanese characters converting to "?" on Vista only.

Last post 02-25-2008 6:21 AM by C1_GaryB. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 01-18-2008 9:53 AM

    Some Japanese characters converting to "?" on Vista only.

    I am using the latest build of both the flexgrid and PDF component. I am creating an image from the grid and adding it to the PDF document but some (not all) Japanese characters are being converted to "?".  I am finding that running the same code on Win XP or Win 2000, everything looks good. The Japanese language packs are installed on the Vista machine.

     I am setting the PDF doc FontType to Embedded. Before setting the FontType to embedded, all Japenese characters converted to "?".

    Any ideas on why this is happening? Of course we just discovered the issue 1 week before we are to do a general release of our product.

    Steve

     

  • 01-29-2008 5:08 AM In reply to

    Re: Some Japanese characters converting to "?" on Vista only.

    Hi Steve,
     
    i have created an application where I am reading the data from an Excel file and then rendering the Text to a PDF file in Chinese. Please find the attached sample and let me know if that was helpful.
     
    Thanks,
    Gary.
    <PCI_Steve> wrote in message news:201203@10.0.1.98...

    I am using the latest build of both the flexgrid and PDF component. I am creating an image from the grid and adding it to the PDF document but some (not all) Japanese characters are being converted to "?".  I am finding that running the same code on Win XP or Win 2000, everything looks good. The Japanese language packs are installed on the Vista machine.

     I am setting the PDF doc FontType to Embedded. Before setting the FontType to embedded, all Japenese characters converted to "?".

    Any ideas on why this is happening? Of course we just discovered the issue 1 week before we are to do a general release of our product.

    Steve

     



    http://helpcentral.componentone.com/cs/forums/p/74072/201203.aspx#201203

  • 02-25-2008 6:21 AM In reply to

    Re: Some Japanese characters converting to "?" on Vista only.

    Hi Steve,
     
    Try using MS Mincho as the font or any other Japanese font and it should work well. Here is the code for it -
     
    Dim font As Font = New Font("MS Mincho", 83, FontStyle.Regular, GraphicsUnit.Document)
     
    This should work well.
     
    Thanks,
    Gary.
    <PCI_Steve> wrote in message news:201203@10.0.1.98...

    I am using the latest build of both the flexgrid and PDF component. I am creating an image from the grid and adding it to the PDF document but some (not all) Japanese characters are being converted to "?".  I am finding that running the same code on Win XP or Win 2000, everything looks good. The Japanese language packs are installed on the Vista machine.

     I am setting the PDF doc FontType to Embedded. Before setting the FontType to embedded, all Japenese characters converted to "?".

    Any ideas on why this is happening? Of course we just discovered the issue 1 week before we are to do a general release of our product.

    Steve

     



    http://helpcentral.componentone.com/cs/forums/p/74072/201203.aspx#201203

Page 1 of 1 (3 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.